- 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
-
- Jun 26, 2016
-
-
Ian Cordasco authored
-
Ian Cordasco authored
-
Ian Cordasco authored
Bump version to 0.4.0
- Jun 15, 2016
-
-
Jan Likar authored
-
Ian Cordasco authored
Include tests in release source tarball
-
Ian Cordasco authored
Fix failing builds on Python 3.2
-
- Jun 14, 2016
-
-
Jan Likar authored
-
- Apr 23, 2016
-
-
Edward Betts authored
A test suite is a very useful thing, it would be great to include in the release tarball that is uploaded to pypi. That way people who download and build the release can run the tests to ensure the library is working. Linux distributions, such as Debian, base their packages of Python modules on the pypi release. This means the test suite can be run when building a Debian package, and so catch mistakes in the packaging or errors introduced into dependencies. I've written some more on this topic on the Debian Python mailing list. https://lists.debian.org/debian-python/2016/04/msg00074.html
-
- Jun 30, 2015
-
- Jun 29, 2015
-
-
Ian Cordasco authored
Fix the way ignored names are split
-