weather_api/pyproject.toml
Argiris Deligiannidis 46a5b5c039 Update code base
2024-04-07 13:01:31 +03:00

53 lines
878 B
TOML

[tool.ruff]
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"I", # isort
"COM", # flake8-commas
"W", # pycodestyle
]
fixable = ["I", "UP", "COM", "W"]
show-fixes = true
force-exclude = true
line-length = 120
target-version = "py310"
extend-exclude = ["./alembic", "./.vscode", "./.devcontainer", "Dockerfile"]
extend-ignore = [
'E402',
'E722',
'W191',
'W293',
'C901'
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.black]
line-length = 120
target-version = ['py310']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| data
| notebooks
| dist
| alembic
| \.devcontainer
| \.vscode
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
| profiling
)/
'''