37 lines
658 B
TOML
37 lines
658 B
TOML
[tool.black]
|
|
line-length = 120
|
|
target-version = ['py311']
|
|
include = '\.pyi?$'
|
|
extend-exclude = '''(
|
|
migrations/*
|
|
| .git/*
|
|
| media/*
|
|
)'''
|
|
workers = 4
|
|
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
line_length = 120
|
|
skip = ["migrations", "env", "venv", ".venv", ".git", "media"]
|
|
|
|
|
|
[tool.aerich]
|
|
tortoise_orm = "service.config.TORTOISE_ORM"
|
|
location = "./migrations"
|
|
src_folder = "./."
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
exclude = [
|
|
'^\.?venv/',
|
|
'migrations/'
|
|
]
|
|
plugins = ["pydantic.mypy"]
|
|
warn_unused_configs = true
|
|
disallow_untyped_defs = true
|
|
implicit_optional = true
|
|
warn_redundant_casts = true
|
|
warn_no_return = false
|
|
ignore_missing_imports = false
|