-
-
Notifications
You must be signed in to change notification settings - Fork 120
/
Copy pathpyproject.toml
36 lines (31 loc) · 943 Bytes
/
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 100
target-version = ['py37']
[tool.isort]
profile = "black"
line_length = 100
[tool.mypy]
# https://mypy.readthedocs.io/en/latest/config_file.html
ignore_missing_imports = true
check_untyped_defs = true
disallow_untyped_defs = true
warn_unused_configs = true
warn_unused_ignores = true
warn_unreachable = true
warn_redundant_casts = true
disallow_untyped_decorators = true
disallow_untyped_calls = true
enable_incomplete_feature = ["Unpack"]
[tool.djlint]
profile = "jinja"
# H005 Html tag should have lang attribute.
# H006 Img tag should have height and width attributes.
# H013 Img tag should have an alt attribute.
# H016 Missing title tag in html.
# H021 Inline styles should be avoided.
# H030 Consider adding a meta description.
# H031 Consider adding meta keywords.
ignore = "H005,H006,H013,H016,H021,H030,H031"