Pylint.
This commit is contained in:
@ -6,16 +6,16 @@ from calendar import monthrange
|
||||
|
||||
import arrow
|
||||
|
||||
# pylint: disable=no-member,too-few-public-methods,too-many-instance-attributes
|
||||
from . import db
|
||||
|
||||
from .accounts import Account
|
||||
from .operations import Operation
|
||||
|
||||
|
||||
# pylint: disable=no-member,invalid-name,too-many-arguments
|
||||
# pylint: disable=too-few-public-methods,too-many-instance-attributes
|
||||
class ScheduledOperation(db.Model):
|
||||
"""Class used to handle scheduled operations."""
|
||||
# pylint: disable=invalid-name
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
|
||||
start_date = db.Column(db.Date, nullable=False)
|
||||
@ -39,7 +39,6 @@ class ScheduledOperation(db.Model):
|
||||
backref=db.backref('scheduled_operation', lazy="dynamic")
|
||||
)
|
||||
|
||||
# pylint: disable=too-many-arguments
|
||||
def __init__(self, start_date, stop_date, day, frequency, label, value,
|
||||
account_id, category=None):
|
||||
self.start_date = start_date
|
||||
|
Reference in New Issue
Block a user