mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-02 10:23:25 +08:00
pyproject.toml: enable linting of bare exceptions
This commit is contained in:
committed by
Peter Barker
parent
bc1aa19b28
commit
ee2e7dfa0f
@@ -1,5 +1,14 @@
|
||||
[tool.ruff]
|
||||
target-version = "py310"
|
||||
line-length = 127
|
||||
lint.select = [
|
||||
"BLE001", # flake8-blind-except
|
||||
"E", # pycodestyle
|
||||
"F", # Pyflakes
|
||||
]
|
||||
lint.ignore = [
|
||||
"E402", # module-import-not-at-top-of-file
|
||||
]
|
||||
lint.extend-select = [
|
||||
"I", # isort
|
||||
"TID", # flake8-tidy-imports
|
||||
|
||||
Reference in New Issue
Block a user