Flake errors

This commit is contained in:
Oliver Walters 2021-02-04 00:51:00 +11:00
parent e417ff2b4d
commit 75431f0ee4
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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