-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
57 lines (52 loc) · 1.14 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
[tool.poetry]
name = "django-google-structured-logger"
version = "2.8.9"
description = "Plugin for django to support Google Structured Logger"
authors = ["Farruh Sheripov <[email protected]>"]
readme = "README.md"
packages = [{include = "django_google_structured_logger"}]
[tool.poetry.dependencies]
python = ">=3.8"
python-json-logger = "^2.0.7"
contextvars = "^2.4"
django = ">=3,<6"
setuptools-scm = "^7.1.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
mypy_path = "./src"
python_version = "3.8"
check_untyped_defs = true
ignore_missing_imports = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
warn_no_return = false
pretty = true
[tool.isort]
profile = "black"
line_length = 120
skip_glob = ["**/migrations/*.py"]
[tool.black]
line-length = 120
target-version = ['py38']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| venv
| migrations
| \.exports
)/
)
'''