Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow __all__ to be typedissue/1018 | Ian Stapleton Cordasco | 2021-10-01 | 1 | -1/+1 |
| | | | | Closes gh-1018 | ||||
* | Merge pull request #995 from PyCQA/remove_indent_size_str | Ian Stapleton Cordasco | 2021-09-13 | 1 | -6/+3 |
|\ | | | | | remove indent_size_str | ||||
| * | remove indent_size_strremove_indent_size_str | Anthony Sottile | 2021-05-08 | 1 | -6/+3 |
| | | |||||
* | | Fix E225 for lambdas | Zac-HD | 2021-09-13 | 1 | -1/+3 |
|/ | |||||
* | Merge pull request #993 from asottile/perf_hack | Anthony Sottile | 2021-05-06 | 1 | -0/+7 |
|\ | | | | | add performance hack to improve tokenize speed | ||||
| * | add performance hack to improve tokenize speed | Anthony Sottile | 2021-05-04 | 1 | -0/+7 |
| | | | | | | | | in profiles, this attributed somewhere between 4% and 14% of pycodestyle's execution time | ||||
* | | improve performance of bare_except check | Anthony Sottile | 2021-05-04 | 1 | -2/+2 |
|/ | | | | | | - despite `re.compile(...)` being cached, this still amounts to 60% of the overhead of the `bare_except` check - overall, this improved pycodestyle performance by about .25% (.0025) | ||||
* | Small improvement | Marc Mueller | 2021-05-03 | 1 | -3/+2 |
| | |||||
* | Moved to existing check | Marc Mueller | 2021-05-03 | 1 | -26/+11 |
| | |||||
* | Add whitespace checks for match and case | Marc Mueller | 2021-05-03 | 1 | -0/+27 |
| | |||||
* | issoftkeyword was added in py39 | Marc Mueller | 2021-05-03 | 1 | -1/+1 |
| | |||||
* | Small fix to version_info comparison | Marc Mueller | 2021-05-03 | 1 | -1/+1 |
| | |||||
* | Changes after review | Marc Mueller | 2021-05-02 | 1 | -1/+4 |
| | |||||
* | Fix false-positive E211 with match and case | Marc Mueller | 2021-05-02 | 1 | -3/+7 |
| | |||||
* | detect multiple E712 in a line | Anthony Sottile | 2021-04-02 | 1 | -2/+4 |
| | |||||
* | 2.7.0 | Anthony Sottile | 2021-03-14 | 1 | -1/+1 |
| | |||||
* | use tokenize.open to avoid incorrect line endings at beginning of file | Anthony Sottile | 2021-01-07 | 1 | -4/+2 |
| | |||||
* | Support for space indents with size other than 4 | Jason Ansel | 2020-11-18 | 1 | -12/+28 |
| | | | | This is an updated revision of pull requests #206 and #524 | ||||
* | fix skipping of physical checks when file does not end in newline | Anthony Sottile | 2020-09-11 | 1 | -5/+14 |
| | |||||
* | 2.6.0 | Anthony Sottile | 2020-05-08 | 1 | -1/+1 |
| | |||||
* | Merge pull request #931 from suzil/fix/767/chained-is-not-E714 | Ian Stapleton Cordasco | 2020-05-08 | 1 | -1/+2 |
|\ | | | | | E714: fix chained `is not` | ||||
| * | Handle | Susannah Klaneček | 2020-05-01 | 1 | -2/+2 |
| | | |||||
| * | E714: fix chained is not | Susannah Klaneček | 2020-05-01 | 1 | -1/+2 |
| | | | | | | | | Closes #767 | ||||
* | | Merge pull request #927 from asottile/allow_typing_one_liners_again | Ian Stapleton Cordasco | 2020-05-08 | 1 | -10/+40 |
|\ \ | |/ |/| | re-allow decorated one-liners | ||||
| * | re-allow decorated one-liners | Anthony Sottile | 2020-04-27 | 1 | -10/+40 |
| | | |||||
* | | E306: fix detection inside `async def`E306_async_def | Anthony Sottile | 2020-04-28 | 1 | -1/+1 |
|/ | |||||
* | 2.6.0a1 | Anthony Sottile | 2020-04-02 | 1 | -1/+1 |
| | |||||
* | Merge pull request #918 from asottile/only_positional | Anthony Sottile | 2020-03-24 | 1 | -1/+10 |
|\ | | | | | Fix E225 for PEP 570 all positional-only arguments | ||||
| * | Fix E225 for PEP 570 all positional-only arguments | Anthony Sottile | 2020-03-23 | 1 | -1/+10 |
| | | |||||
* | | Allow N-and-fewer blank lines before the first top level thing | Anthony Sottile | 2020-03-23 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #913 from anntzer/afteronelinerblock | Anthony Sottile | 2020-03-23 | 1 | -0/+1 |
|\ | | | | | Correctly allow *two* blank lines after a block of one-liners. | ||||
| * | Correctly allow *two* blank lines after a block of one-liners. | Antony Lee | 2020-02-26 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously ``` def oneliner(): pass def otheroneliner(): pass def really_long_func(): with_some_contents ``` would raise an "E302: expected 2 blank lines, found zero" at the last line of the one liner. Ultimately, this is due to `expand_indent` being passed a line whose contents are just a newline and nothing else, and `expand_indent` thinking that the line is indented by 1 character (the newline), which is wrong. Fix that by just stripping the newline, and modify a test to cover this case. | ||||
* | | Support visual indent of continuation lines after with/assert/raise. | Antony Lee | 2020-02-26 | 1 | -0/+3 |
|/ | | | | | "with" is likely the most common case, and this indentation is explicitly given as example by PEP8 (under "maximum line length"). | ||||
* | Merge pull request #897 from sobolevn/issue-768 | Anthony Sottile | 2020-02-19 | 1 | -1/+1 |
|\ | | | | | Adds matmul operator support, fixes #768 | ||||
| * | Adds matmul operator support, fixes #768 | sobolevn | 2019-12-05 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into master | Nikita Serba | 2020-01-22 | 1 | -10/+21 |
|\ \ | |/ | |||||
| * | Merge pull request #879 from FichteForks/pr/pep-572 | Ian Stapleton Cordasco | 2019-10-21 | 1 | -5/+12 |
| |\ | | | | | | | Add support for assignment expressions | ||||
| | * | Add support for assignment expressions | FichteFoll | 2019-07-31 | 1 | -5/+12 |
| | | | | | | | | | | | | | | | | | | Introduced in Python 3.8 with PEP-572. Refer to https://www.python.org/dev/peps/pep-0572. | ||||
| * | | Merge pull request #834 from EricCousineau-TRI/issue/833 | Ian Stapleton Cordasco | 2019-09-25 | 1 | -4/+5 |
| |\ \ | | |/ | |/| | E402: Add "with" statement to allowed keywords | ||||
| | * | E402: Add "elif" statement to allowed keywords | Eric Cousineau | 2019-09-25 | 1 | -1/+1 |
| | | | |||||
| | * | E402: Add "if" statement to allowed keywords | Eric Cousineau | 2019-01-30 | 1 | -1/+2 |
| | | | |||||
| | * | E402: Add "with" statement to allowed keywords | Eric Cousineau | 2019-01-30 | 1 | -4/+4 |
| | | | |||||
| * | | Ellipsis is not a binary operator | Anthony Sottile | 2019-07-11 | 1 | -1/+4 |
| | | | |||||
* | | | Update pycodestyle.py | Nikita Serba | 2020-01-22 | 1 | -1/+1 |
| | | | | | | | | | Co-Authored-By: Anthony Sottile <asottile@umich.edu> | ||||
* | | | Added support for PEP 570 (#867) | Nikita S | 2019-07-02 | 1 | -0/+4 |
|/ / | |||||
* | | Fix E302 false negative in presence of decorators. | Antony Lee | 2019-03-26 | 1 | -6/+7 |
| | | |||||
* | | Add line breaks in comment | Sebastian Rettenberger | 2019-03-08 | 1 | -1/+2 |
| | | |||||
* | | Add lines breaks | Sebastian Rettenberger | 2019-03-08 | 1 | -2/+4 |
| | | |||||
* | | Fixes some issues with E741 detection | Sebastian Rettenberger | 2019-03-08 | 1 | -4/+32 |
| | | |||||
* | | Fix E721 false positive | Anthony Sottile | 2019-03-01 | 1 | -1/+1 |
| | |