- Nov 03, 2017
-
-
Ian Lee authored
This is interesting though in that, at least for me in Python 3.6 run via tox locally, it doesnt actually fail as would be expected based on the report, and my own re-creation manually with a test file... More investigation is needed.
-
- Oct 25, 2017
-
-
Ian Lee authored
Fix space in flag name
-
Wilfred Hughes authored
Previously, the line break in the source would result in `--hang- closing` (note the space) being rendered in the HTML.
-
- Oct 24, 2017
-
-
Ian Lee authored
Fix missed quoting in E722 check
-
Dirk Mueller authored
The warning looks fairly odd: E722 do not use bare except' change this to E722 do not use bare 'except'
-
- Oct 22, 2017
-
-
Ian Stapleton Cordasco authored
Document all supported Python versions as trove classifiers
-
- Oct 18, 2017
-
-
Ian Lee authored
Enable pip cache in Travis CI
-
Jon Dufresne authored
Can speed up builds and reduce load on PyPI servers. For more information, see: https://docs.travis-ci.com/user/caching/#pip-cache
-
- Oct 17, 2017
-
-
Ian Lee authored
Include license file in the generated wheel package
-
Jon Dufresne authored
Use MANIFEST.in to include LICENSE in the source distribution. The wheel package format supports including the license file. This is done using the [metadata] section in the setup.cfg file. For additional information on this feature, see: https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
-
- Oct 15, 2017
-
-
Ian Stapleton Cordasco authored
Add examples
-
Ann Paul authored
-
Ann Paul authored
-
- Sep 27, 2017
-
-
Ian Stapleton Cordasco authored
Add W605 warning for invalid escape sequences in string literals
-
- Sep 10, 2017
-
-
Jon Dufresne authored
Starting with Python 3.6, invalid escape sequences in string literals are now deprecated. In a future version of Python, invalid escape sequences will be a syntax error. While this deprecation produces a runtime warning, it only appears if warnings are enabled and the first time the Python source is compiled to byte code. By adding a check to pycodestyle, projects can take advantage of static analysis to catch and fix these future syntax errors. For more information on the deprecation, see the Python release notes, https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior > A backslash-character pair that is not a valid escape sequence now > generates a DeprecationWarning. Although this will eventually become a > SyntaxError, that will not be for several Python releases. Fixes #633
-
- Jun 10, 2017
-
-
Ian Cordasco authored
Fix variable annotations
-
- Jun 07, 2017
-
-
Eddie Antonio Santos authored
-
- Jun 04, 2017
-
-
Julien authored
Had to catch a "No signature found for builtin <built-in method search of _sre.SRE_Pattern object at 0x...>" in 3.4: In python3.4 the search was not detected as a function, now that it's wrapped in an lru_cache it is, yet it still has no signature (it has in 3.5+).
-
- Jun 03, 2017
-
-
Jon Dufresne authored
I frequently use PyPI trove classifiers to check if a 3rd party package is usable by my projects. Documenting the supported versions makes this much easier for potential library users.
-
- May 30, 2017
-
-
Kevin Cole authored
Users' global .gitattributes files may attempt to auto-fix certain files.
-
- May 29, 2017
-
-
Ian Cordasco authored
Python 3.6 invalid escape sequence deprecation fix
-
- May 14, 2017
-
-
Ian Cordasco authored
Use bisect instead of iterating over every offsets.
-
Julien Palard authored
As the offsets looks already sorted (which looks logical so I assumed they always are), using a bisection if faster than iterating over all of them. On a specific test I encontered, I got nice enhancement with this patch: $ time python3 ./pycodestyle.py ~/Downloads/PmagPy/PmagPy/coefficients-552K.py > /dev/null real 1m16.405s $ time python3 ./pycodestyle.py ~/Downloads/PmagPy/PmagPy/coefficients-552K.py > /dev/null real 0m3.318s
-
Ian Cordasco authored
Avoid relying on inspect to list functions.
-
- May 09, 2017
-
-
Julien Palard authored
This allow to run python3 -m cProfile ./pycodestyle.py …. Otherwise, as cProfile looks to wrap every functions (in a way I did not studied in depth), the inspection of test function found no function, and no test were run while running under cProfile, meaning that: $ time python3 ./pycodestyle.py coefficients-148K.py [loads and loads of errors properly reported] real 0m4.712s user 0m4.684s sys 0m0.024s $ time python3 -m cProfile ./pycodestyle.py /home/mdk/Downloads/pystyle/stats/git-clones/PmagPy/PmagPy/coefficients-148K.py [no error reported as no check were found by inspection] real 0m0.447s user 0m0.436s sys 0m0.008s With this patch: $ time python3 -m cProfile ./pycodestyle.py /home/mdk/Downloads/pystyle/stats/git-clones/PmagPy/PmagPy/coefficients-148K.py [loads and loads of errors properly reported] real 0m4.889s user 0m4.852s sys 0m0.032s
-
- Apr 22, 2017
-
-
Ian Cordasco authored
Correctly report E501 when the first line of a docstring is too long
-
- Apr 15, 2017
-
-
Eddie Antonio Santos authored
-
Eddie Antonio Santos authored
-
- Apr 07, 2017
-
-
Rach Belaid authored
-
Rach Belaid authored
-
- Mar 23, 2017
-
-
Rach Belaid authored
-
Rach Belaid authored
Support case when the variable name start by a keyword, eg: ``` class Test: formula: str = None ```
-
- Mar 15, 2017
-
-
Anthony Sottile authored
Resolves #622
-
- Feb 25, 2017
-
-
Ville Skyttä authored
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior "backslash-character pair that is not a valid escape sequence now generates a DeprecationWarning. Although this will eventually become a SyntaxError, that will not be for several Python releases."
-
- Feb 24, 2017
-
-
Ian Cordasco authored
Spelling fixes
-
Ville Skyttä authored
-
- Jan 30, 2017
-
-
Ian Cordasco authored
Add release notes for 2.3.1 as well
-
Ian Cordasco authored
Add regression test for nested definitions
-
Ian Cordasco authored
The bug was already fixed since it also affected E302 but this adds a test to ensure it doesn't regress for nested definitions either. Closes gh-619
-