Remove pylint from the project

This commit is contained in:
Alexander Hess 2021-01-09 17:47:45 +01:00
commit 9196c88ed4
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
25 changed files with 9 additions and 172 deletions

View file

@ -68,8 +68,7 @@ class Address(meta.Base):
pixels = orm.relationship('AddressPixelAssociation', back_populates='address')
# We do not implement a `.__init__()` method and leave that to SQLAlchemy.
# Instead, we use `hasattr()` to check for uninitialized attributes.
# grep:b1f68d24 pylint:disable=attribute-defined-outside-init
# Instead, we use `hasattr()` to check for uninitialized attributes. grep:b1f68d24
def __repr__(self) -> str:
"""Non-literal text representation."""

View file

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

View file

@ -24,8 +24,6 @@ class Location:
https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system
"""
# pylint:disable=too-many-instance-attributes
def __init__(self, latitude: float, longitude: float) -> None:
"""Create a location from a WGS84-conforming `latitude`-`longitude` pair."""
# The SQLAlchemy columns come as `Decimal`s due to the `DOUBLE_PRECISION`.