mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 11:35:41 +00:00
Add more liniting rules (mostly for imports) (#7846)
* remove unused imports * enable pyflake checks * various fixes * fix assert
This commit is contained in:
@ -20,7 +20,7 @@ src = ["src/backend/InvenTree"]
|
||||
"__init__.py" = ["D104"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["A", "B", "C4", "D", "I", "N"]
|
||||
select = ["A", "B", "C4", "D", "I", "N", "F"]
|
||||
# Things that should be enabled in the future:
|
||||
# - LOG
|
||||
# - DJ # for Django stuff
|
||||
|
Reference in New Issue
Block a user