diff --git a/ai.py b/ai.py index b07bb88..1db4e17 100644 --- a/ai.py +++ b/ai.py @@ -9,6 +9,8 @@ from files import Entry, File, FileRefimgLink from person import Person, PersonRefimgLink from refimg import Refimg +# pylint: disable=no-member + ################################################################################ # /aistats -> placholder for some sort of stats ################################################################################ diff --git a/person.py b/person.py index 90f8b28..e549f8d 100644 --- a/person.py +++ b/person.py @@ -7,6 +7,8 @@ from sqlalchemy.exc import SQLAlchemyError from status import st, Status from refimg import Refimg +# pylint: disable=no-member + ################################################################################ # Class describing Person in the database, and via sqlalchemy, connected to the DB as well ################################################################################ @@ -16,7 +18,7 @@ class PersonRefimgLink(db.Model): refimg_id = db.Column(db.Integer, db.ForeignKey('refimg.id'), unique=True, nullable=False, primary_key=True) def __repr__(self): - return "".format(self.person_id, self.refimg_id) + return f"" class Person(db.Model):