summaryrefslogtreecommitdiff
path: root/pycodestyle.py
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.9.1Anthony Sottile2022-08-031-1/+1
|
* allow parenthesized yield (generator-coroutines)Anthony Sottile2022-08-031-0/+1
|
* Release 2.9.0Anthony Sottile2022-07-301-1/+1
|
* Revert "Merge pull request #1041 from ↵Anthony Sottile2022-07-301-4/+9
| | | | | | | asfaltboy/issue-830-e721-types-regex-incorrect" This reverts commit 8b5c964321776b2fe8dfd25f4f18db0ffbdbd281, reversing changes made to 9777ac5a8ea1ae14e70bfb27063e2e7c0daa06e3.
* Merge pull request #1070 from PyCQA/py311Anthony Sottile2022-06-141-0/+1
|\ | | | | add python3.11 support (except* and a[*b])
| * add python3.11 support (except* and a[*b])Anthony Sottile2022-05-161-0/+1
| |
* | fix IndexError regression with E275Anthony Sottile2022-05-301-2/+1
|/
* Generalize E275 to require space after all keywords, not just "import".Antony Lee2022-04-171-9/+13
|
* use short-circuit evaluation in _is_binary_operatorAnthony Sottile2022-01-271-10/+9
| | | | this improves performance by about 1%
* fix regex bug for E721Anthony Sottile2021-12-271-1/+1
|
* [pre-commit.ci] auto fixes from pre-commit.com hookspre-commit-ci[bot]2021-12-261-1/+0
| | | | for more information, see https://pre-commit.ci
* Remove lingering py2 codeDanny Sepler2021-12-261-28/+1
|
* Correct test assertions for E721Pavel Savchenko2021-12-121-1/+0
| | | | | | | | | * `type(a) is type(b)` should still fail * same for `type(a) != type(b) or type(a) == type(ccc)` * We cannot assume `res == types.IntType` is wrong as the identity of the objects is not known at check time, either way it shouldn't be a E721 as it doesn't involve type(...) function as described in PEP8
* Correct regex to only match type(...) comparisonsPavel Savchenko2021-12-121-2/+4
|
* Properly warn for E262 with non breaking whitespacesPierre Sassoulas2021-11-091-3/+4
| | | | Closes #1034
* Upgrade comment and documentation for block commentPierre Sassoulas2021-11-091-3/+5
| | | | See https://github.com/PyCQA/pycodestyle/issues/1034\#issuecomment-962454974
* run pyupgradeAnthony Sottile2021-11-081-62/+46
|
* Remove unnecessary non-capture groupMarc Mueller2021-10-131-1/+1
|
* Emit E221-E224 for walrus opMarc Mueller2021-10-131-1/+1
|
* Release 2.8.0Anthony Sottile2021-10-101-1/+1
|
* add simple .pre-commit-config.yamlAnthony Sottile2021-10-101-2/+1
|
* Revert "Merge pull request #990 from cdce8p/whitespace-match-case"Anthony Sottile2021-10-051-11/+0
| | | | | This reverts commit 0f079a061590217515421fc337df8dbf3563fed5, reversing changes made to 3d0ac73d8045b5fa771dbbf594ca0b9a4e581e15.
* Issue #588: E201: detect tabs as whitespaceFlorian Best2021-10-051-2/+2
|
* Merge pull request #1003 from cdce8p/e225-star-patternAnthony Sottile2021-10-051-2/+7
|\ | | | | Fix false-positive with star pattern
| * Fix false-positive with star patternMarc Mueller2021-07-091-2/+7
| |
* | Allow __all__ to be typedissue/1018Ian Stapleton Cordasco2021-10-011-1/+1
| | | | | | | | Closes gh-1018
* | Merge pull request #995 from PyCQA/remove_indent_size_strIan Stapleton Cordasco2021-09-131-6/+3
|\ \ | | | | | | remove indent_size_str
| * | remove indent_size_strremove_indent_size_strAnthony Sottile2021-05-081-6/+3
| |/
* | Fix E225 for lambdasZac-HD2021-09-131-1/+3
|/
* Merge pull request #993 from asottile/perf_hackAnthony Sottile2021-05-061-0/+7
|\ | | | | add performance hack to improve tokenize speed
| * add performance hack to improve tokenize speedAnthony Sottile2021-05-041-0/+7
| | | | | | | | in profiles, this attributed somewhere between 4% and 14% of pycodestyle's execution time
* | improve performance of bare_except checkAnthony Sottile2021-05-041-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 improvementMarc Mueller2021-05-031-3/+2
|
* Moved to existing checkMarc Mueller2021-05-031-26/+11
|
* Add whitespace checks for match and caseMarc Mueller2021-05-031-0/+27
|
* issoftkeyword was added in py39Marc Mueller2021-05-031-1/+1
|
* Small fix to version_info comparisonMarc Mueller2021-05-031-1/+1
|
* Changes after reviewMarc Mueller2021-05-021-1/+4
|
* Fix false-positive E211 with match and caseMarc Mueller2021-05-021-3/+7
|
* detect multiple E712 in a lineAnthony Sottile2021-04-021-2/+4
|
* 2.7.0Anthony Sottile2021-03-141-1/+1
|
* use tokenize.open to avoid incorrect line endings at beginning of fileAnthony Sottile2021-01-071-4/+2
|
* Support for space indents with size other than 4Jason Ansel2020-11-181-12/+28
| | | | This is an updated revision of pull requests #206 and #524
* fix skipping of physical checks when file does not end in newlineAnthony Sottile2020-09-111-5/+14
|
* 2.6.0Anthony Sottile2020-05-081-1/+1
|
* Merge pull request #931 from suzil/fix/767/chained-is-not-E714Ian Stapleton Cordasco2020-05-081-1/+2
|\ | | | | E714: fix chained `is not`
| * HandleSusannah Klaneček2020-05-011-2/+2
| |
| * E714: fix chained is notSusannah Klaneček2020-05-011-1/+2
| | | | | | | | Closes #767
* | Merge pull request #927 from asottile/allow_typing_one_liners_againIan Stapleton Cordasco2020-05-081-10/+40
|\ \ | |/ |/| re-allow decorated one-liners
| * re-allow decorated one-linersAnthony Sottile2020-04-271-10/+40
| |