fix: fix 'abstract-method' for pylint
This commit is contained in:
parent
79bab4f9e1
commit
9075159d0d
2 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
[MESSAGES CONTROL]
|
[MESSAGES CONTROL]
|
||||||
disable=all
|
disable=all
|
||||||
enable=anomalous-backslash-in-string,
|
enable=abstract-method,
|
||||||
|
anomalous-backslash-in-string,
|
||||||
assignment-from-no-return,
|
assignment-from-no-return,
|
||||||
assignment-from-none,
|
assignment-from-none,
|
||||||
bare-except,
|
bare-except,
|
||||||
|
|
|
@ -69,7 +69,7 @@ class ModelBase: # pylint: disable=empty-docstring
|
||||||
raise KeyError(f"model instance has no attr with key: {key}")
|
raise KeyError(f"model instance has no attr with key: {key}")
|
||||||
|
|
||||||
|
|
||||||
class UUID(sa.types.TypeDecorator):
|
class UUID(sa.types.TypeDecorator): # pylint: disable=abstract-method
|
||||||
"""
|
"""
|
||||||
Platform-independent UUID type.
|
Platform-independent UUID type.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue