summaryrefslogtreecommitdiff
path: root/src/flake8
Commit message (Collapse)AuthorAgeFilesLines
* Add --required-plugins and --allowed-pluginsplugin-loadingIan Stapleton Cordasco2021-11-056-7/+172
| | | | | Closes #283 Closes #488
* Merge pull request #1426 from mxr/fix-returnAnthony Sottile2021-10-171-5/+2
|\ | | | | Remove usage of self.manager.map() in load_plugins()
| * Remove usage of self.manager.map() in load_plugins()Max R2021-10-171-5/+2
| |
* | [pre-commit.ci] auto fixes from pre-commit.com hookspre-commit-ci[bot]2021-10-181-1/+3
| | | | | | | | for more information, see https://pre-commit.ci
* | Update type hint and expression for _multiprocessing_is_fork()Max R2021-10-171-2/+2
|/
* remove indent_size_strindent-size-strAnthony Sottile2021-10-111-2/+0
| | | | this was originally added only for pycodestyle which no longer uses it
* Release 4.0.14.0.1Anthony Sottile2021-10-111-1/+1
|
* fix parallel execution collecting a SyntaxErrorparallel-syntax-errorAnthony Sottile2021-10-111-3/+5
|
* Release 4.0.04.0.0Anthony Sottile2021-10-101-1/+1
|
* Drop support for Home and XDG config filesIan Stapleton Cordasco2021-10-102-60/+6
| | | | | | | | | This has been a huge support burden for us. I seriously considered doing this in 3.0 but caved to a vocal minority and the desire to keep as much backwards compatibility as possible. At this point, however, I'm done witnessing the abuse Anthony has to suffer over this and I'm done with the undue hostility that people who don't bother to read the docs display. Hopefully, this eases that a bit.
* write directly to sys.stdout.buffer to avoid windows io encodingAnthony Sottile2021-09-081-1/+2
|
* Handle new SyntaxError tuple on 3.10Ian Stapleton Cordasco2021-08-151-3/+15
| | | | Closes #1372
* Update --indent-size help format stringJacob Hayes2021-08-011-1/+1
|
* [pre-commit.ci] auto fixes from pre-commit.com hookspre-commit-ci[bot]2021-05-241-2/+2
| | | | for more information, see https://pre-commit.ci
* Automatically create output directoriesJouke Witteveen2021-05-101-0/+3
|
* Merge tag '3.9.2'Anthony Sottile2021-05-081-1/+1
|\ | | | | | | Release 3.9.2
| * Release 3.9.23.9.2Anthony Sottile2021-05-081-1/+1
| |
| * Merge pull request #1328 from PyCQA/fix_indent_size_strAnthony Sottile2021-05-081-2/+2
| | | | | | correct and deprecate the value of indent_size_str
* | correct and deprecate the value of indent_size_strAnthony Sottile2021-05-081-2/+2
| |
* | short circuit on ast error before tokenization errorAnthony Sottile2021-04-183-67/+33
| |
* | extend black formatting to tests as wellAnthony Sottile2021-04-188-30/+10
| |
* | Merge tag '3.9.1'Anthony Sottile2021-04-151-1/+1
|\ \ | |/ | | | | Release 3.9.1
| * Release 3.9.13.9.1Anthony Sottile2021-04-151-1/+1
| |
| * Fix bug for plugins using extend_default_ignoreIan Stapleton Cordasco2021-04-152-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Flake8 3.0 we've had the ability for plugins to use `extend_default_ignore` to register codes they want disabled by default. This, however, was a permanent disabling unfortunately. Our code didn't have a way of understanding that this new set of `ignore` codes was actually the 'default' set for that run. Much like the extended_select_list, we now attach extended_ignore_list to be able to confidently determine if the ignore we get in the DecisionEngine is actually the Default Ignore list and what plugins what us to ignore by default. Refs https://github.com/PyCQA/pep8-naming/pull/157
* | Fix bug for plugins using extend_default_ignorefix-extend-default-ignoreIan Stapleton Cordasco2021-04-152-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Flake8 3.0 we've had the ability for plugins to use `extend_default_ignore` to register codes they want disabled by default. This, however, was a permanent disabling unfortunately. Our code didn't have a way of understanding that this new set of `ignore` codes was actually the 'default' set for that run. Much like the extended_select_list, we now attach extended_ignore_list to be able to confidently determine if the ignore we get in the DecisionEngine is actually the Default Ignore list and what plugins what us to ignore by default. Refs https://github.com/PyCQA/pep8-naming/pull/157
* | Add --extend-select command line argumentFrank Winklmeier2021-04-112-1/+21
| | | | | | | | | | | | | | | | | | Implement `--extend-select` command line argument following what was done for `--extend-ignore` in !233. This option can be used to selectively add individual codes without overriding the default list entirely. Addresses the remaining item of issue #1061.
* | improve code coverage in a few placesAnthony Sottile2021-04-072-17/+2
| |
* | fix mypy errorsAnthony Sottile2021-04-075-30/+56
| |
* | Merge pull request #43 from sobolevn/patch-1Anthony Sottile2021-04-031-1/+1
|\ \ | | | | | | Typo fix
| * | Typo fixNikita Sobolev2021-03-221-1/+1
| |/
* | fix links in codeAnthony Sottile2021-04-031-6/+6
| |
* | audit + string joiningAnthony Sottile2021-03-305-11/+10
| |
* | audit % format callsAnthony Sottile2021-03-304-9/+9
| |
* | audit .format(...) callsAnthony Sottile2021-03-305-21/+9
| |
* | com2annAnthony Sottile2021-03-3019-389/+361
| |
* | clean up TYPE_CHECKING importsAnthony Sottile2021-03-307-12/+16
| |
* | clean up OrderedDictAnthony Sottile2021-03-301-7/+5
| |
* | clean up version_info referencesAnthony Sottile2021-03-302-27/+12
| |
* | clean up _stdin_get_value_py3Anthony Sottile2021-03-301-7/+3
| |
* | clean up readlines_py2Anthony Sottile2021-03-301-16/+2
| |
* | clean up string_typesAnthony Sottile2021-03-302-9/+6
| |
* | clean up lru_cache in compatAnthony Sottile2021-03-303-7/+6
| |
* | automatic: pyupgrade --py36-plusAnthony Sottile2021-03-3019-88/+121
| |
* | introduce pyupgrade, run it in python2-compatible modeAnthony Sottile2021-03-295-6/+9
| |
* | remove flake8 setuptools commandAnthony Sottile2021-03-291-115/+0
| |
* | remove unused noqa commentsAnthony Sottile2021-03-291-1/+1
| |
* | remove vcs integrationAnthony Sottile2021-03-298-526/+2
|/
* Release 3.9.03.9.0Anthony Sottile2021-03-141-1/+1
|
* upgrade pycodestyle to 2.7.0Anthony Sottile2021-03-141-0/+2
|
* Add indent-size optionvalentin2021-03-143-0/+12
|