Linting for C0412
There are clashes between the positioning and ordering of our imports between pylint and isort, just ignoring them on the pylint side for now.. Signed-off-by: Corey Shields <cshields@gmail.com>merge-requests/402/head
parent
9359532df9
commit
fc8f9a8c35
|
@ -5,6 +5,5 @@ ignored-argument-names=args|kwargs
|
|||
|
||||
[MESSAGES CONTROL]
|
||||
disable=
|
||||
C0412,
|
||||
R0801, # needs to remain disabled see https://github.com/PyCQA/pylint/issues/214
|
||||
W0511,
|
||||
|
|
|
@ -11,7 +11,8 @@ import pytest
|
|||
from django.contrib.auth.models import User
|
||||
from django.test import TestCase
|
||||
from django.utils.timezone import now
|
||||
from factory import fuzzy
|
||||
# C0412 below clashes with isort
|
||||
from factory import fuzzy # pylint: disable=C0412
|
||||
|
||||
from db.base.models import DATA_SOURCES, DemodData, Mode, Satellite, \
|
||||
Telemetry, Transmitter, TransmitterSuggestion
|
||||
|
|
|
@ -10,7 +10,8 @@ from __future__ import absolute_import, division, print_function, \
|
|||
import sentry_sdk
|
||||
from decouple import Csv, config
|
||||
from dj_database_url import parse as db_url
|
||||
from sentry_sdk.integrations.django import DjangoIntegration
|
||||
# C0412 below clashes with isort
|
||||
from sentry_sdk.integrations.django import DjangoIntegration # pylint: disable=C0412
|
||||
from unipath import Path
|
||||
|
||||
ROOT = Path(__file__).parent
|
||||
|
|
Loading…
Reference in New Issue