2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

Code style improvements (#4683)

* fix list comps

* mopre comp fixes

* reduce computing cost on any() calls

* add bugbear

* check for clean imports

* only allow limited relative imports

* fix notification method lookup

* fix notification method assigement

* rewrite assigment

* fix upstream changes to new style

* fix upstream change to new coding style
This commit is contained in:
Matthias Mair
2023-04-28 12:49:53 +02:00
committed by GitHub
parent 660a4f8e39
commit abee2cee88
44 changed files with 96 additions and 93 deletions

View File

@ -27,6 +27,7 @@ per-file-ignores =
__init__.py: D104
max-complexity = 20
docstring-convention=google
ban-relative-imports = parents
[coverage:run]
source = ./InvenTree