lint: various non-semantic fixes
bumping fail-under for pylint to 9.72
This commit is contained in:
parent
7a54e4ea96
commit
f6452cb4fa
14 changed files with 47 additions and 29 deletions
|
@ -86,9 +86,8 @@ class AbstractResource(db.Model): # type: ignore
|
|||
self.deprecation_reason = reason
|
||||
self.updated = datetime.utcnow()
|
||||
return True
|
||||
else:
|
||||
logging.info("Not deprecating %s (reason=%s) because it's already deprecated", self.brn, reason)
|
||||
return False
|
||||
logging.info("Not deprecating %s (reason=%s) because it's already deprecated", self.brn, reason)
|
||||
return False
|
||||
|
||||
def destroy(self) -> None:
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue