2025-02-17 10:52:47 +00:00
|
|
|
exclude = [
|
|
|
|
"wagtail/project_template/*",
|
|
|
|
"node_modules",
|
|
|
|
"venv",
|
|
|
|
".venv",
|
|
|
|
"migrations",
|
|
|
|
]
|
|
|
|
line-length = 88
|
|
|
|
target-version = "py39" # minimum target version
|
|
|
|
|
|
|
|
[lint]
|
2023-04-08 15:34:23 +00:00
|
|
|
# D100: Missing docstring in public module
|
|
|
|
# D101: Missing docstring in public class
|
|
|
|
# D102: Missing docstring in public method
|
|
|
|
# D103: Missing docstring in public function
|
|
|
|
# D105: Missing docstring in magic method
|
|
|
|
# N806: Variable in function should be lowercase
|
|
|
|
# E501: Line too long
|
2025-02-17 10:52:47 +00:00
|
|
|
ignore = ["D100", "D101", "D102", "D103", "D105", "N806", "E501"]
|
2023-07-13 19:02:20 +00:00
|
|
|
|
2023-06-12 18:03:57 +00:00
|
|
|
# E: pycodestyle errors
|
|
|
|
# F: Pyflakes
|
|
|
|
# I: isort
|
|
|
|
# T20: flake8-print
|
|
|
|
# BLE: flake8-blind-except
|
|
|
|
# C4: flake8-comprehensions
|
|
|
|
select = ["E", "F", "I", "T20", "BLE", "C4"]
|