summaryrefslogtreecommitdiff
path: root/pycodestyle.py
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.10.0Anthony Sottile2022-11-231-1/+1
|
* Merge pull request #1123 from PyCQA/fix-E741-againAnthony Sottile2022-11-211-4/+9
|\ | | | | fix ambiguous identifiers in lambda bodies inside braces
| * fix ambiguous identifiers in lambda bodies inside bracesAnthony Sottile2022-11-211-4/+9
| |
* | remove some leftover python 2 compatAnthony Sottile2022-11-211-8/+4
|/
* fix reporting of ambiguous identifier after parameter listAnthony Sottile2022-11-211-14/+10
|
* Fix false positive with E741Danny Sepler2022-11-051-1/+2
|
* remove some unused regexesAnthony Sottile2022-10-301-2/+0
|
* E741 should work with lambdasDanny Sepler2022-10-301-10/+24
|
* Delete W601 -> W604 warningsDanny Sepler2022-10-181-53/+0
|
* E231 should work with tuples in bracketsDanny Sepler2022-10-081-1/+2
|
* 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
|