3
0
Fork 0

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:
Lance Edgar 2025-08-30 20:44:31 -05:00
parent faa12005fb
commit f34678b305
3 changed files with 5 additions and 3 deletions

View file

@ -30,6 +30,7 @@ dependencies = [
'importlib-metadata; python_version < "3.10"',
"importlib_resources ; python_version < '3.9'",
"Mako",
"packaging",
"progress",
"python-configuration",
"typer",

View file

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

View file

@ -12,8 +12,9 @@ extras = tests
[testenv:pylint]
basepython = python3.11
extras =
extras = db
deps = pylint
prompt_toolkit
commands = pylint wuttjamaican
[testenv:coverage]