Skip to content

Commit 0b12fe2

Browse files
committed
add pylint ignore
1 parent c52ec17 commit 0b12fe2

5 files changed

Lines changed: 2 additions & 10 deletions

File tree

.pylintrc

332 Bytes
Binary file not shown.

backend/app/models/paper.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
"""SQLAlchemy model and enumerations for scholarly papers."""
22

3-
# pylint: disable=too-few-public-methods
4-
53
from datetime import datetime, date
64
from typing import TYPE_CHECKING, List, Optional
75

86
from sqlalchemy import BigInteger, Date, DateTime, Enum as SqlEnum, JSON, String, Text
97
from sqlalchemy.orm import Mapped, mapped_column, relationship
108
from sqlalchemy.sql import func
119

12-
from app.core.database import Base
1310
from app.constants.database_constants import PaperSource, PaperType
11+
from app.core.database import Base
1412

1513

1614
class Paper(Base):

backend/app/models/project.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"""SQLAlchemy model for projects managed in the application."""
22

3-
# pylint: disable=too-few-public-methods
4-
53
from datetime import datetime
64
from typing import TYPE_CHECKING, List
75

backend/app/models/project_paper.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"""Association table model linking projects and papers."""
22

3-
# pylint: disable=too-few-public-methods
4-
53
from datetime import datetime
64
from typing import TYPE_CHECKING
75

backend/app/models/user.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"""SQLAlchemy model for application users."""
22

3-
# pylint: disable=too-few-public-methods
4-
53
from datetime import datetime
64
from typing import TYPE_CHECKING, List
75

@@ -28,5 +26,5 @@ class User(Base):
2826
)
2927

3028

31-
if TYPE_CHECKING: # pragma: no cover
29+
if TYPE_CHECKING:
3230
from .project import Project

0 commit comments

Comments
 (0)