mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Flake errors
This commit is contained in:
parent
e417ff2b4d
commit
75431f0ee4
@ -540,6 +540,7 @@ def getOldestMigrationFile(app, exclude_extension=True, ignore_initial=True):
|
||||
oldest_file = oldest_file.replace('.py', '')
|
||||
|
||||
return oldest_file
|
||||
|
||||
|
||||
def getNewestMigrationFile(app, exclude_extension=True):
|
||||
"""
|
||||
|
@ -9,6 +9,8 @@ ignore =
|
||||
C901,
|
||||
# - N802 - function name should be lowercase (In the future, we should conform to this!)
|
||||
N802,
|
||||
# - N806 - variable should be lowercase
|
||||
N806,
|
||||
N812,
|
||||
exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/*,*ci_*.py*
|
||||
max-complexity = 20
|
||||
|
Loading…
Reference in New Issue
Block a user