-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
60 lines (49 loc) · 1.25 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
[tool.poetry]
name = "mentea"
version = "0.1.0"
description = ""
authors = ["Joe Harrison <josephharrison1@me.com>"]
[tool.poetry.scripts]
manage = "manage:main"
[tool.poetry.dependencies]
python = "^3.8"
Django = "^4.0.1"
psycopg2-binary = "^2.9.3"
pywatchman = "^1.4.1"
[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
pylint = "^2.12.2"
mypy = "^0.931"
black = "^21.12b0"
django-stubs = "^1.9.0"
django-browser-reload = "^1.3.0"
django-stubs-ext = "^0.3.1"
pytest-django = "^4.5.2"
pytest-dependency = "^0.5.1"
pytest-xdist = "^2.5.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pylint."MESSAGES CONTROL"]
disable = [
"logging-format-interpolation",
"logging-fstring-interpolation",
"logging-not-lazy",
"invalid-str-returned",
"invalid-name",
"line-too-long",
"typecheck"
]
[tool.mypy]
warn_unused_configs = true
warn_unreachable = true
plugins = ["mypy_django_plugin.main"]
[tool.django-stubs]
django_settings_module = "mentea.settings.dev"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "mentea.settings.dev"
python_files = ["tests.py", "test_*.py", "*_tests.py", "*_test.py"]
addopts = "-p no:warnings"
[[tool.mypy.overrides]]
module = "*.migrations.*"
ignore_errors = true