File tree Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ strictness: high
4
4
doc-warnings : no
5
5
max-line-length : 120
6
6
ignore-paths :
7
- - ^scripts/
7
+ - scripts/
8
+ - pylint_django/compat.py
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ pylint-django
4
4
[ ![ Build Status] ( https://travis-ci.org/landscapeio/pylint-django.png?branch=master )] ( https://travis-ci.org/landscapeio/pylint-django )
5
5
[ ![ Code Quality] ( https://landscape.io/github/landscapeio/pylint-django/master/landscape.png )] ( https://landscape.io/github/landscapeio/pylint-django )
6
6
[ ![ Coverage Status] ( https://coveralls.io/repos/landscapeio/pylint-django/badge.png )] ( https://coveralls.io/r/landscapeio/pylint-django )
7
- [ ![ Latest Version] ( https://pypip.in/v/pylint-django/badge.png )] ( https://crate.io/packages/pylint-django )
8
- [ ![ Downloads] ( https://pypip.in/d/pylint-django/badge.png )] ( https://crate.io/packages/pylint-django )
7
+ [ ![ Latest Version] ( https://img.shields.io/pypi/v/pylint-django.svg )] ( https://pypi.python.org/pypi/pylint-django )
9
8
10
9
# About
11
10
Original file line number Diff line number Diff line change 1
1
"""Augmentations."""
2
+ # pylint: disable=invalid-name
2
3
from pylint .checkers .base import DocStringChecker , NameChecker
3
4
from pylint .checkers .design_analysis import MisdesignChecker
4
5
from pylint .checkers .classes import ClassChecker
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def set_fake_locals(module):
26
26
if module .name != package_name :
27
27
return
28
28
for class_name in class_names :
29
- module ._locals [class_name ] = fake ._locals [class_name ]
29
+ module ._locals [class_name ] = fake ._locals [class_name ] # pylint: disable=protected-access
30
30
31
31
MANAGER .register_transform (nodes .Module , set_fake_locals )
32
32
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
- import os , sys
2
+ import os
3
+ import sys
3
4
for skip_ver in os .environ .get ('SKIP' , '' ).split ():
4
5
skip_ver = tuple (map (int , skip_ver .split ('.' )))
5
6
if skip_ver == sys .version_info [:len (skip_ver )]:
You can’t perform that action at this time.
0 commit comments