summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #1087 from PyCQA/2_9_02.9.0Anthony Sottile2022-07-302-1/+13
|\ | | | | Release 2.9.0
| * Release 2.9.0Anthony Sottile2022-07-302-1/+13
|/
* Merge pull request #1085 from PyCQA/revert-1041Anthony Sottile2022-07-302-10/+12
|\ | | | | Revert "Merge pull request #1041 from asfaltboy/issue-830-e721-types-regex-incorrect"
| * Revert "Merge pull request #1041 from ↵Anthony Sottile2022-07-302-10/+12
|/ | | | | | | asfaltboy/issue-830-e721-types-regex-incorrect" This reverts commit 8b5c964321776b2fe8dfd25f4f18db0ffbdbd281, reversing changes made to 9777ac5a8ea1ae14e70bfb27063e2e7c0daa06e3.
* Merge pull request #1083 from PyCQA/pre-commit-ci-update-configAnthony Sottile2022-07-251-2/+2
|\ | | | | [pre-commit.ci] pre-commit autoupdate
| * [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2022-07-251-2/+2
|/ | | | | | updates: - [github.com/asottile/reorder_python_imports: v3.8.1 → v3.8.2](https://github.com/asottile/reorder_python_imports/compare/v3.8.1...v3.8.2) - [github.com/asottile/pyupgrade: v2.37.1 → v2.37.2](https://github.com/asottile/pyupgrade/compare/v2.37.1...v2.37.2)
* Merge pull request #1081 from PyCQA/pre-commit-ci-update-configAnthony Sottile2022-07-111-2/+2
|\ | | | | [pre-commit.ci] pre-commit autoupdate
| * [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2022-07-111-2/+2
|/ | | | | | updates: - [github.com/asottile/reorder_python_imports: v3.3.0 → v3.8.1](https://github.com/asottile/reorder_python_imports/compare/v3.3.0...v3.8.1) - [github.com/asottile/pyupgrade: v2.34.0 → v2.37.1](https://github.com/asottile/pyupgrade/compare/v2.34.0...v2.37.1)
* Merge pull request #1080 from PyCQA/pre-commit-ci-update-configAnthony Sottile2022-07-041-1/+1
|\ | | | | [pre-commit.ci] pre-commit autoupdate
| * [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2022-07-051-1/+1
|/ | | | | updates: - [github.com/asottile/reorder_python_imports: v3.1.0 → v3.3.0](https://github.com/asottile/reorder_python_imports/compare/v3.1.0...v3.3.0)
* Merge pull request #1070 from PyCQA/py311Anthony Sottile2022-06-143-1/+28
|\ | | | | add python3.11 support (except* and a[*b])
| * add python3.11 support (except* and a[*b])Anthony Sottile2022-05-163-1/+28
| |
* | Merge pull request #1073 from asottile/fix-E275-regressionIan Stapleton Cordasco2022-06-142-2/+4
|\ \ | | | | | | fix IndexError regression with E275
| * | fix IndexError regression with E275Anthony Sottile2022-05-302-2/+4
| |/
* | Merge pull request #1075 from PyCQA/pre-commit-ci-update-configAnthony Sottile2022-06-131-2/+2
|\ \ | | | | | | [pre-commit.ci] pre-commit autoupdate
| * | [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2022-06-141-2/+2
|/ / | | | | | | | | | | updates: - [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v4.3.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v4.3.0) - [github.com/asottile/pyupgrade: v2.33.0 → v2.34.0](https://github.com/asottile/pyupgrade/compare/v2.33.0...v2.34.0)
* | Merge pull request #1074 from PyCQA/pre-commit-ci-update-configAnthony Sottile2022-06-061-1/+1
|\ \ | |/ |/| [pre-commit.ci] pre-commit autoupdate
| * [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2022-06-061-1/+1
|/ | | | | updates: - [github.com/asottile/pyupgrade: v2.32.1 → v2.33.0](https://github.com/asottile/pyupgrade/compare/v2.32.1...v2.33.0)
* Merge pull request #1068 from PyCQA/pre-commit-ci-update-configAnthony Sottile2022-05-091-1/+1
|\ | | | | [pre-commit.ci] pre-commit autoupdate
| * [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2022-05-091-1/+1
|/ | | | | updates: - [github.com/asottile/pyupgrade: v2.32.0 → v2.32.1](https://github.com/asottile/pyupgrade/compare/v2.32.0...v2.32.1)
* Merge pull request #1065 from PyCQA/pre-commit-ci-update-configAnthony Sottile2022-05-021-1/+1
|\ | | | | [pre-commit.ci] pre-commit autoupdate
| * [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2022-05-021-1/+1
|/ | | | | updates: - [github.com/asottile/reorder_python_imports: v3.0.1 → v3.1.0](https://github.com/asottile/reorder_python_imports/compare/v3.0.1...v3.1.0)
* Merge pull request #1063 from anntzer/e275+Anthony Sottile2022-04-174-15/+24
|\ | | | | Generalize E275 to require space after all keywords, not just "import".
| * Generalize E275 to require space after all keywords, not just "import".Antony Lee2022-04-174-15/+24
|/
* Merge pull request #1062 from PyCQA/pre-commit-ci-update-configAnthony Sottile2022-04-111-2/+2
|\ | | | | [pre-commit.ci] pre-commit autoupdate
| * [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2022-04-111-2/+2
|/ | | | | | updates: - [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v4.2.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.1.0...v4.2.0) - [github.com/asottile/pyupgrade: v2.31.1 → v2.32.0](https://github.com/asottile/pyupgrade/compare/v2.31.1...v2.32.0)
* Merge pull request #1058 from PyCQA/pre-commit-ci-update-configAnthony Sottile2022-03-141-2/+2
|\ | | | | [pre-commit.ci] pre-commit autoupdate
| * [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2022-03-151-2/+2
|/ | | | | | updates: - [github.com/asottile/reorder_python_imports: v2.7.1 → v3.0.1](https://github.com/asottile/reorder_python_imports/compare/v2.7.1...v3.0.1) - [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](https://github.com/asottile/pyupgrade/compare/v2.31.0...v2.31.1)
* Merge pull request #1056 from wjandrea/patch-1Anthony Sottile2022-02-241-1/+1
|\ | | | | docs: Fix double-dash converted to en-dash
| * docs: Fix double-dash converted to en-dashWilliam Andrea2022-02-241-1/+1
|/ | | The double-dash for command line option `--ignore` was being converted to an en-dash.
* Merge pull request #1053 from PyCQA/pre-commit-ci-update-configAnthony Sottile2022-01-311-1/+1
|\ | | | | [pre-commit.ci] pre-commit autoupdate
| * [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2022-01-311-1/+1
|/ | | | | updates: - [github.com/asottile/reorder_python_imports: v2.6.0 → v2.7.1](https://github.com/asottile/reorder_python_imports/compare/v2.6.0...v2.7.1)
* Merge pull request #1052 from PyCQA/short-circuitIan Stapleton Cordasco2022-01-271-10/+9
|\ | | | | use short-circuit evaluation in _is_binary_operator
| * use short-circuit evaluation in _is_binary_operatorAnthony Sottile2022-01-271-10/+9
|/ | | | this improves performance by about 1%
* Merge pull request #1050 from PyCQA/pre-commit-ci-update-configAnthony Sottile2022-01-031-1/+1
|\ | | | | [pre-commit.ci] pre-commit autoupdate
| * [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2022-01-031-1/+1
|/ | | | | updates: - [github.com/asottile/pyupgrade: v2.29.1 → v2.31.0](https://github.com/asottile/pyupgrade/compare/v2.29.1...v2.31.0)
* Merge pull request #1049 from asottile/type_compare_regex_bugIan Stapleton Cordasco2021-12-282-1/+6
|\ | | | | fix regex bug for E721
| * fix regex bug for E721Anthony Sottile2021-12-272-1/+6
|/
* Merge pull request #1046 from PyCQA/pre-commit-ci-update-configAnthony Sottile2021-12-271-1/+1
|\ | | | | [pre-commit.ci] pre-commit autoupdate
| * [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2021-12-271-1/+1
|/ | | | | updates: - [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0)
* Merge pull request #1045 from dannysepler/delete-py2Anthony Sottile2021-12-273-48/+2
|\ | | | | Remove lingering < py3.6 code
| * [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-263-47/+2
|/
* Merge pull request #1041 from asfaltboy/issue-830-e721-types-regex-incorrectIan Stapleton Cordasco2021-12-192-6/+10
|\ | | | | fix E721 types regex
| * Remove unused modulePavel Savchenko2021-12-131-7/+0
| |
| * Correct test assertions for E721Pavel Savchenko2021-12-122-4/+1
| | | | | | | | | | | | | | | | | | * `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
| |
| * Add a failing test for a custom types module casePavel Savchenko2021-12-122-0/+12
|/ | | | | | | | | | Any `types.*Type*` matches incorrectly as a `type(...)` comparison; the regex `COMPARE_TYPE_REGEX` seems a bit too complicated for what should be a simple comparison case. Ref: https://github.com/PyCQA/pycodestyle/blob/main/pycodestyle.py#L147-L148 This reproduces the case in #830
* Merge pull request #1040 from wjandrea/patch-2Anthony Sottile2021-11-231-1/+1
|\ | | | | docs: E203 also applies to comma and semicolon
| * docs: E203 also applies to comma and semicolonWilliam Andrea2021-11-221-1/+1
|/ | | Per PEP8, "Avoid extraneous whitespace ... Immediately before a comma, semicolon, or colon". https://www.python.org/dev/peps/pep-0008/#pet-peeves