-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
105 lines (90 loc) · 1.93 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[tool.poetry]
name = "taskcamp"
version = "0.1.0"
description = "simple project management tool powered by Django Framework"
authors = ["Ilia Dmitriev <ilia.dmitriev@gmail.com>"]
license = "MIT"
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
Django = "^5.1.5"
celery = "^5.4.0"
uWSGI = "^2.0.28"
psycopg2 = "^2.9.10"
redis = "^5.2.1"
Markdown = "^3.7"
pymemcache = "^4.0.0"
tzdata = "^2025.1"
[tool.poetry.group.dev.dependencies]
flake8-isort = "^6.1.1"
flake8-quotes = "^3.4.0"
flake8-docstrings = "^1.7.0"
flake8-annotations = "^3.1.1"
flake8-comprehensions = "^3.16.0"
flake8-pyproject = "^1.2.3"
black = "^24.10.0"
flake8-polyfill = "^1.0.2"
pep8-naming = "^0.14.1"
pdoc3 = "^0.11.5"
coverage = {extras = ["toml"], version = "^7.6.10"}
django-debug-toolbar = "^5.0.1"
flake8 = "^7.1.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.flake8]
ignore = ["D200", "D107", "I001", "I005",
"ANN002", "ANN003", "ANN101", "ANN401"]
per-file-ignores = [
"test_*.py: S101,DAR101,D100",
"__init__.py:F401",
"test_*.py: S101,DAR101,D100",
"*/models/*: N815",
]
max-line-length = 88
exclude = [
"manage.py",
"*migrations*",
"*/tests.py",
".git",
"__pycache__",
"docs",
"old",
"build",
"dist",
".eggs/*",
"*venv*/*",
"*/tests/*",
"*/test_utils/*",
"*/test_*.py",
"alembic/*",
]
inline-quotes = "\""
statistics = true
count = true
[tool.isort]
profile = "black"
[tool.coverage.run]
source = ["."]
branch = true
data_file = ".coverage"
omit = [
"venv/*",
"*/migrations/*.py",
"taskcamp/asgi.py",
"taskcamp/wsgi.py",
"taskcamp/settings.py",
"manage.py",
]
[tool.coverage.report]
fail_under = 100
show_missing = true
[tool.pylint]
max-line-length = 88
[tool.pyright]
venvPath = "./"
venv = "venv"
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
strict_optional = true
[tool.django-stubs]
django_settings_module = "taskcamp.settings"