mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-05-04 23:52:14 +00:00
Migrate flake8 config to pyproject.toml
This commit is contained in:
@@ -93,3 +93,18 @@ max-complexity = 12
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
"tests/*" = ["S"]
|
||||
|
||||
[tool.flake8]
|
||||
# Default from https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-ignore
|
||||
# minus E226
|
||||
ignore = ["E121","E123","E126","E24","E704","W503","W504"]
|
||||
max-line-length = 100
|
||||
max-complexity = 12
|
||||
exclude = [
|
||||
".git",
|
||||
"__pycache__",
|
||||
".eggs",
|
||||
"user_data",
|
||||
".venv",
|
||||
".env",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user