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
@ -541,6 +541,7 @@ def getOldestMigrationFile(app, exclude_extension=True, ignore_initial=True):
|
||||
|
||||
return oldest_file
|
||||
|
||||
|
||||
def getNewestMigrationFile(app, exclude_extension=True):
|
||||
"""
|
||||
Return the filename associated with the newest migration
|
||||
|
@ -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