-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
52 lines (45 loc) · 925 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[tool.black]
line-length = 88
skip-string-normalization = true
exclude = '''/(
\.git
| \.mypy_cache
| \.venv
| \.venv2
| \.venv3
| build
| dist
| alembic
)/'''
[tool.ruff]
line-length = 88
exclude = [
".git",
".mypy_cache",
".venv",
".venv2",
".venv3",
"build",
"dist",
"alembic/**/*",
"*/__init__.py"
]
[tool.ruff.lint]
select = ["E", "F", "B", "W", "I", "C", "N"]
ignore = ["E501"]
per-file-ignores = { "__init__.py" = ["F401"] }
[tool.ruff.lint.isort]
known-third-party = ["fastapi", "pydantic", "sqlalchemy"]
[tool.mypy]
strict = true
disallow_untyped_defs = false
ignore_missing_imports = true
warn_unused_ignores = true
ignore_errors = false
exclude = '.*/__init__.py'
[[tool.mypy.overrides]]
module = ["fastapi", "pydantic", "sqlalchemy"]
ignore_missing_imports = true
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"