- May 14, 2018
-
-
Ian Stapleton Cordasco authored
Detect N806 errors in multiple assignment
-
Ian Stapleton Cordasco authored
Add .idea and .pytest_cache to gitignore
-
5j9 authored
-
5j9 authored
.idea is a folder used in PyCharm IDE. Some other PyCQA projects like pylink and pydocstyle also have it ignored.
-
5j9 authored
This will, at least partly, resolve issue #29.
-
Ian Stapleton Cordasco authored
fix ignore bug in class names
-
Ian Stapleton Cordasco authored
Detect class methods defined within compound statements
-
Paul van der Linden authored
-
5j9 authored
-
- May 10, 2018
-
-
Ian Stapleton Cordasco authored
Remove spurious 'xxx' (fixes #58)
-
Daniel Pope authored
-
- May 08, 2018
-
-
5j9 authored
Fix #45
-
- May 06, 2018
-
-
Ian Stapleton Cordasco authored
Only check ast.Name for their id in metaclass check
- May 05, 2018
-
-
Ian Stapleton Cordasco authored
This should avoid attribute errors for checking the ``id`` attribute on classes that don't have a basic inheritance declaration. Closes gh-53
-
- May 04, 2018
-
-
Ian Stapleton Cordasco authored
Also restructure to ensure we're testing the right stuff.
-
- Feb 17, 2018
-
-
Ian Stapleton Cordasco authored
Move "__ in function name" check to new N807 code
-
Ian Stapleton Cordasco authored
Use the project's canonical PyCQA URL
-
- Feb 14, 2018
-
-
Jon Parise authored
-
- Jan 08, 2018
-
-
Jon Parise authored
This check appears controversial (#9) because PEP8 doesn't mention this as an official naming rule. This change moves it to its own error code so that it can be disabled separately.
-
- Jan 03, 2018
-
-
Ian Stapleton Cordasco authored
Consider all metaclass methods to be class methods
-
- Jan 02, 2018
-
-
Jon Parise authored
-
Jon Parise authored
It's a widely used (but perhaps not official?) convention to consider a metaclass's methods to be class methods and to use `cls` as the first argument (rather than `self`). Use the simple heuristic of "class inherits from `type`" to identify metaclasses and mark all of their methods as CLASSMETHOD.
-
- Dec 31, 2017
-
-
Ian Stapleton Cordasco authored
Bump version and add release notes for 0.5.0
-
- Dec 30, 2017
-
-
Ian Stapleton Cordasco authored
-
Ian Stapleton Cordasco authored
Add configurable list of classmethod / staticmethod decorators
-
- Dec 29, 2017
-
-
Saif Hakim authored
- Added support for parsing CLI-style flake8-config parameters in tests using flake8_polyfill (has a stable API which flake8>=3 lacks) - Removed support for multiple `codes` in testcases (unused) - Clean up incorrect usage of default which caused redundant work in parse_options for ignore_names Fixes #38
-
- Dec 28, 2017
-
-
Ian Stapleton Cordasco authored
Show offending symbol as part of the message
-
- Oct 23, 2017
-
-
Jani Mikkonen authored
Fixes github issue #31
-
- Jul 29, 2017
-
-
Ian Stapleton Cordasco authored
Drop Python 2.6 support
-
Ian Stapleton Cordasco authored
make some regexps raw strings
-
Ian Stapleton Cordasco authored
Correct N804/N805 for __init_subclass__
-
- Jul 28, 2017
-
-
Matthias Bussonnier authored
According to pep 0487, the `__init_subclass__` method is implicitly considered a classmethod. Thus it should be considered as an exception of N804/N805 (first argument should be named self/cls). This is already implemented for `__new__` so extend using the same logic.
-
- Jun 09, 2017
-
-
Michael Hudson-Doyle authored
to avoid DeprecationWarnings with Python 3.6
-
- Jan 28, 2017
-
-
Ian Cordasco authored
Travis CI's pypy3 is very old and breaks when we try to use setuptools with it. Python 3.6 is something we should start testing on.
-
Ian Cordasco authored
-
Ian Cordasco authored
Include license
-
- Nov 21, 2016
-
-
jakirkham authored
-
- Oct 26, 2016
-
-
Dustin Ingram authored
-