fix: more cleanup for pylint
for some reason these weren't caught with local run but found some more issues running under tox
This commit is contained in:
parent
faa12005fb
commit
f34678b305
3 changed files with 5 additions and 3 deletions
|
@ -30,6 +30,7 @@ dependencies = [
|
|||
'importlib-metadata; python_version < "3.10"',
|
||||
"importlib_resources ; python_version < '3.9'",
|
||||
"Mako",
|
||||
"packaging",
|
||||
"progress",
|
||||
"python-configuration",
|
||||
"typer",
|
||||
|
|
|
@ -26,8 +26,8 @@ Database Utilities
|
|||
|
||||
import uuid as _uuid
|
||||
from importlib.metadata import version
|
||||
from packaging.version import Version
|
||||
|
||||
from packaging.version import Version
|
||||
import sqlalchemy as sa
|
||||
from sqlalchemy import orm
|
||||
from sqlalchemy.dialects.postgresql import UUID as PGUUID
|
||||
|
@ -69,7 +69,7 @@ class ModelBase: # pylint: disable=empty-docstring
|
|||
raise KeyError(f"model instance has no attr with key: {key}")
|
||||
|
||||
|
||||
class UUID(sa.types.TypeDecorator): # pylint: disable=abstract-method
|
||||
class UUID(sa.types.TypeDecorator): # pylint: disable=abstract-method,too-many-ancestors
|
||||
"""
|
||||
Platform-independent UUID type.
|
||||
|
||||
|
|
3
tox.ini
3
tox.ini
|
@ -12,8 +12,9 @@ extras = tests
|
|||
|
||||
[testenv:pylint]
|
||||
basepython = python3.11
|
||||
extras =
|
||||
extras = db
|
||||
deps = pylint
|
||||
prompt_toolkit
|
||||
commands = pylint wuttjamaican
|
||||
|
||||
[testenv:coverage]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue