-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify and speed up the selftest by only linting pylint.lint once i…
…nstead of 4 times.
- Loading branch information
1 parent
97006fc
commit 7255b51
Showing
3 changed files
with
59 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,7 @@ | ||
"""Test the generated-members config option.""" | ||
|
||
class Klass(object): | ||
"""A class with a generated member.""" | ||
|
||
print Klass().DoesNotExist | ||
print Klass().aBC_set1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,5 @@ | ||
[Messages Control] | ||
disable=too-few-public-methods | ||
|
||
[typecheck] | ||
generated-members=DoesNotExist,"[a-zA-Z] _set{1,2}"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters