Remove pylint from the project
This commit is contained in:
parent
100fac659a
commit
9196c88ed4
25 changed files with 9 additions and 172 deletions
|
|
@ -1,6 +1,5 @@
|
|||
"""Provide the ORM's `City` model."""
|
||||
|
||||
|
||||
import sqlalchemy as sa
|
||||
from sqlalchemy import orm
|
||||
from sqlalchemy.dialects import postgresql
|
||||
|
|
@ -35,8 +34,7 @@ class City(meta.Base):
|
|||
grids = orm.relationship('Grid', back_populates='city')
|
||||
|
||||
# We do not implement a `.__init__()` method and leave that to SQLAlchemy.
|
||||
# Instead, we use `hasattr()` to check for uninitialized attributes.
|
||||
# grep:d334120e pylint:disable=attribute-defined-outside-init
|
||||
# Instead, we use `hasattr()` to check for uninitialized attributes. grep:d334120e
|
||||
|
||||
def __repr__(self) -> str:
|
||||
"""Non-literal text representation."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue