-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
82 lines (66 loc) · 1.75 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
[tool.poetry]
name = "adaptive-hockey-federation"
version = "0.1.0"
description = ""
authors = []
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
django = "^4.2.6"
gunicorn = "^21.2.0"
openpyxl = "^3.1.2"
types-openpyxl = "^3.1.0.24"
openpyxl-stubs = "^0.1.25"
click = "^8.1.7"
wrapt = "^1.16.0"
django-phonenumber-field = {extras = ["phonenumbers"], version = "^7.2.0"}
pytest-django = "^4.7.0"
psycopg2-binary = "2.9.9"
django-environ = "^0.11.2"
django-extensions = "^3.2.3"
[tool.poetry.group.dev.dependencies]
isort = "^5.12.0"
pre-commit = "3.5.0"
django-debug-toolbar = "^4.2.0"
django-extensions = "^3.2.3"
factory-boy = "^3.3.0"
[tool.poetry.group.test.dependencies]
flake8 = "^6.1.0"
flake8-isort = "^6.1.0"
mypy = "^1.5.1"
flake8-django = "^1.4"
django-stubs = "^4.2.4"
[tool.poetry.group.parser.dependencies]
python-docx = "^1.0.1"
click = "^8.1.7"
requests = "^2.31.0"
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
namespace_packages = false
plugins = ["mypy_django_plugin.main"]
mypy_path = "./adaptive_hockey_federation"
exclude = [
"config",
]
[[tool.mypy.overrides]]
module = [
"adaptive_hockey_federation.parser.user_card",
"adaptive_hockey_federation.parser.*",
"adaptive_hockey_federation.core.*",
"phonenumber_field.*",
"factory",
"environ",
]
ignore_missing_imports = true
[tool.django-stubs]
django_settings_module = "adaptive_hockey_federation.core.config.dev_settings"
[tool.poetry.scripts]
parser = "adaptive_hockey_federation.parser.parser:parsing_file"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "adaptive_hockey_federation.core.config.test_settings"
python_files = ["*_test.py"]