-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
47 lines (35 loc) · 1.09 KB
/
pyproject.toml
File metadata and controls
47 lines (35 loc) · 1.09 KB
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
[build-system]
requires = ["setuptools", "babel ~= 2.3", "setuptools-npm"]
build-backend = "setuptools.build_meta"
[tool.ruff]
target-version = "py39"
line-length = 120
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "W", "C90", "I", "D", "C", "UP", "B", "ISC", "G", "RSE"]
ignore = ["D1", "UP032"]
[tool.ruff.lint.isort]
combine-as-imports = true
section-order = ["future", "standard-library", "third-party", "mojeid", "first-party", "local-folder"]
[tool.ruff.lint.isort.sections]
mojeid = ["openic", "sidacore", "sidaoidc", "sidasaml"]
[tool.ruff.lint.mccabe]
max-complexity = 15
[tool.ruff.lint.pycodestyle]
max-doc-length = 120
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"**/tests/*" = ["B015", "B018"]
"**/migrations/*" = ["D", "S"]
[tool.coverage.report]
exclude_also = ["raise NotImplementedError", "if TYPE_CHECKING:"]
[tool.doc8]
max-line-length = 120
allow-long-titles = true
[tool.mypy]
check_untyped_defs = true
ignore_missing_imports = true
local_partial_types = true
[[tool.mypy.overrides]]
module = "django_fido.migrations.*"
ignore_errors = true