Skip to content

Commit 13b50f8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent bf8aa5a commit 13b50f8

File tree

50 files changed

+49
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+49
-1
lines changed

pylint_django/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""pylint_django module."""
22

3-
43
from pylint_django import plugin
54

65
register = plugin.register # pylint: disable=invalid-name

pylint_django/__pkginfo__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
"""pkginfo."""
2+
23
BASE_ID = 51

pylint_django/augmentations/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Augmentations."""
2+
23
# pylint: disable=invalid-name
34
import functools
45
import itertools

pylint_django/checkers/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Checkers."""
2+
23
from pylint_django.checkers.auth_user import AuthUserChecker
34
from pylint_django.checkers.django_installed import DjangoInstalledChecker
45
from pylint_django.checkers.foreign_key_strings import ForeignKeyStringsChecker

pylint_django/checkers/forms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Models."""
2+
23
from astroid.nodes import Assign, AssignName, ClassDef
34
from pylint.checkers import BaseChecker
45

pylint_django/checkers/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Models."""
2+
23
from astroid import Const
34
from astroid.nodes import Assign, AssignName, ClassDef, FunctionDef
45
from pylint.checkers import BaseChecker

pylint_django/plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Common Django module."""
2+
23
# we want to import the transforms to make sure they get added to the astroid manager,
34
# however we don't actually access them directly, so we'll disable the warning
45
from pylint_django import compat

pylint_django/tests/input/external_drf_noerror_serializer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Checks that Pylint does not complain about DRF serializers
33
"""
4+
45
# pylint: disable=C0111,W5101,use-symbolic-message-instead
56

67
from rest_framework import serializers

pylint_django/tests/input/external_factory_boy_noerror.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Test to validate that pylint_django doesn't produce
33
Instance of 'SubFactory' has no 'pk' member (no-member) warnings
44
"""
5+
56
# pylint: disable=attribute-defined-outside-init, missing-docstring, too-few-public-methods
67
import factory
78
from django import test

pylint_django/tests/input/external_psycopg2_noerror_postgres_fields.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Checks that Pylint does not complain Postgres model fields.
33
"""
4+
45
# pylint: disable=C0111,W5101
56
from __future__ import print_function
67

0 commit comments

Comments
 (0)