summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* move managing of off_by_default / enable_extensions to plugin loadingoff_by_defaultAnthony Sottile2022-01-016-28/+56
|
* rework plugin loadingAnthony Sottile2021-12-3110-722/+410
|
* add check for a missing specified config fileRuairidh MacLeod2021-12-241-1/+5
|
* fix AttributeError when catatstrophic failure is triggeredAnthony Sottile2021-12-241-6/+8
|
* have OptionManager take plugin versions directlyAnthony Sottile2021-12-084-105/+48
|
* use plugin_name= instead of dicts in exceptionsAnthony Sottile2021-12-072-11/+10
|
* return an argparser instead of side-effectsAnthony Sottile2021-12-072-9/+10
|
* eliminate --bug-report double-parse quirk with store_trueAnthony Sottile2021-12-073-43/+8
|
* remove stray noqastray-noqaAnthony Sottile2021-12-071-1/+1
|
* use self.options.diff directlyAnthony Sottile2021-11-251-6/+4
|
* refactor run_checks to not take an Optional list of filenamesAnthony Sottile2021-11-253-14/+9
|
* refactor and simplify configuration loadingAnthony Sottile2021-11-226-356/+136
|
* move from allowlist to blocklist for mypyAnthony Sottile2021-11-144-19/+30
|
* replace py2-kwonly shim with true kwonly argsAnthony Sottile2021-11-142-12/+17
|
* improve integration testsAnthony Sottile2021-11-142-6/+7
|
* split out file discovery and test itAnthony Sottile2021-11-143-104/+104
|
* have application return exit code for easier testingAnthony Sottile2021-11-143-19/+16
|
* use return value of parse_args directlyAnthony Sottile2021-11-143-14/+9
|
* add a __repr__ for JobsArgumentAnthony Sottile2021-11-141-0/+4
|
* improve coverage a bitAnthony Sottile2021-11-141-13/+4
|
* remove dead codeAnthony Sottile2021-11-144-42/+0
| | | | detected using https://github.com/asottile/dead
* add typing to src/flake8/__init__.pyAnthony Sottile2021-11-141-1/+6
|
* Add .nox to default exclude listScott Barlow2021-11-071-0/+1
|
* deprecate the --diff optionAnthony Sottile2021-11-052-2/+6
|
* add --color optionAnthony Sottile2021-11-055-2/+100
|
* 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.