-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
86 lines (76 loc) · 2.07 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
[tool.poetry]
name = "identity"
version = "0.1.0"
description = ""
authors = []
license = "MIT"
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
django = "^5.1.5"
django-environ = "^0.11.2"
psycopg = "^3.2.3"
redis = "^5.1.0"
sentry-sdk = "^2.16.0"
dbt-copilot-python = "^0.2.2"
dj-database-url = "^2.2.0"
granian = "^1.6.3"
django-staff-sso-client = "^4.3.0"
django-ninja = "^1.3.0"
whitenoise = "^6.8.2"
django-simple-history = "^3.7.0"
django-hawk = "^1.2.3"
django-log-formatter-asim = "^0.0.6"
ddtrace = "^2.18.1"
smart-open = "^7.1.0"
boto3 = "^1.36.2"
django-chunk-upload-handlers = "^0.0.15"
pillow = "^11.1.0"
[tool.poetry.group.dev.dependencies]
black = "^24.10.0"
isort = "^5.13.2"
pytest-django = "^4.9.0"
django-extensions = "^3.2.3"
coverage = "^7.6.4"
mypy = "^1.12.1"
pytest-mock = "^3.14.0"
debugpy = "*"
faker = "^33.3.1"
factory-boy = "^3.3.1"
[tool.poetry.group.docs.dependencies]
mkdocs-awesome-pages-plugin = "^2.8.0"
mkdocs-material = "^9.1.5"
mkdocs-minify-plugin = "^0.6.4"
mkdocs-redirects = "^1.2.0"
mkdocstrings-python = "^0.9.0"
[tool.pytest.ini_options]
python_files = ["test_*.py", "*_test.py", "tests.py"]
addopts = "--disable-warnings --ds=config.settings.test"
DJANGO_SETTINGS_MODULE = "config.settings.test"
markers = [
"e2e: Mark the test as full End to End.",
]
[tool.black]
target_version = ['py312']
[tool.isort]
profile = "black"
multi_line_output = 3
skip_gitignore = true
line_length = 88
lines_after_imports = 2
[tool.mypy]
exclude = [
# TOML literal strings (single-quotes, no escaping necessary)
'/migrations/',
]
check_untyped_defs = true
ignore_missing_imports = false
[[tool.mypy.overrides]]
module = ["django.*", "environ.*", "dbt_copilot_python.*", "debugpy.*", "django_hawk.*", "django_log_formatter_asim.*", "factory.faker.*", "smart_open.*", "boto3.*", "django_chunk_upload_handlers.*", "simple_history.*"]
ignore_missing_imports = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
omit = ["*/migrations/*", "*/tests/*", "config/*", "e2e_tests/*"]