Disable too-few-public-methods error in pylint
This commit is contained in:
parent
2ddd430534
commit
3e0300cb0e
5 changed files with 2 additions and 12 deletions
|
|
@ -26,8 +26,6 @@ def random_schema_name() -> str:
|
|||
class Config:
|
||||
"""Configuration that applies in all situations."""
|
||||
|
||||
# pylint:disable=too-few-public-methods
|
||||
|
||||
CUTOFF_DAY = datetime.datetime(2017, 2, 1)
|
||||
|
||||
# If a scheduled pre-order is made within this
|
||||
|
|
@ -53,16 +51,12 @@ class Config:
|
|||
class ProductionConfig(Config):
|
||||
"""Configuration for the real dataset."""
|
||||
|
||||
# pylint:disable=too-few-public-methods
|
||||
|
||||
TESTING = False
|
||||
|
||||
|
||||
class TestingConfig(Config):
|
||||
"""Configuration for the test suite."""
|
||||
|
||||
# pylint:disable=too-few-public-methods
|
||||
|
||||
TESTING = True
|
||||
|
||||
DATABASE_URI = os.getenv('DATABASE_URI_TESTING') or Config.DATABASE_URI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue