-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
42 lines (35 loc) · 1006 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[project]
name = "incubeta"
version = "0.1.0"
requires-python = ">=3.9"
description = "A brief description of your project"
authors = [{ name = "Dragos Catarahia", email = "dragos@catarahia.me" }]
dependencies = ["Django>=5.0.4, <6", "python-dateutil>=2.9.0, <3"]
[project.optional-dependencies]
testing = ["pytest-django", "pre-commit"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "incubeta.settings"
python_files = ["test_*.py", "*_test.py", "tests.py"]
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.mypy_cache
| \.venv
)/
'''
[tool.ruff.lint]
# pyflakes, pycodestyle, isort
select = ["F", "E", "W", "I001"]
ignore-init-module-imports = true
ignore = [
"E402", # module-import-not-at-top-of-file
"E501", # line-too-long (black handles this)
"E711", # none-comparison
"E712", # true-false-comparison
]
exclude = [".venv", ".git", ".mypy_cache", ".ruff_cache", ".venv"]
[tool.ruff.lint.isort]
known-third-party = ["django", "dateutil"]