Commit graph

2182 commits

Author SHA1 Message Date
Anthony Sottile
58ade57ca2 re-show pycodestyle in help after plugin gen 2022-02-06 08:14:26 -08:00
Anthony Sottile
ddae449cec
Merge pull request #1549 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-01-31 18:45:25 -05:00
pre-commit-ci[bot]
19e83b0d88
[pre-commit.ci] pre-commit autoupdate
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)
- [github.com/psf/black: 21.12b0 → 22.1.0](https://github.com/psf/black/compare/21.12b0...22.1.0)
2022-01-31 23:32:49 +00:00
Anthony Sottile
577631ceac
Merge pull request #1545 from PyCQA/codegen-pycodestyle-plugin
pregenerate the pycodestyle plugin to avoid call overhead
2022-01-27 21:26:06 -05:00
Anthony Sottile
4e56fc0f6a pregenerate the pycodestyle plugin to avoid call overhead 2022-01-25 13:52:54 -05:00
Anthony Sottile
1e5f861c52
Merge pull request #1544 from asottile/slow-debug-log
remove slow debug() log
2022-01-24 09:09:22 -05:00
Anthony Sottile
0bb55d36f2 remove slow debug() log
flake8 spends ~5-6% of `flake8 -j1 src` on this line
2022-01-23 20:55:08 -05:00
Anthony Sottile
f178bd340d
Merge pull request #1543 from asottile/filename-in-execution-error
include the file path in the plugin execution error
2022-01-23 20:44:19 -05:00
Anthony Sottile
d2333c4471 include the file path in the plugin execution error 2022-01-23 20:41:32 -05:00
Anthony Sottile
e704ab4d44
Merge pull request #1542 from PyCQA/mccabe_0_7_0
upgrade mccabe to 0.7.0
2022-01-23 20:23:41 -05:00
Anthony Sottile
86bdc0dbc8 upgrade mccabe to 0.7.0 2022-01-23 20:17:37 -05:00
Anthony Sottile
9de288a22f
Merge pull request #1541 from PyCQA/unused-function
remove function made unused by off_by_default refactor
2022-01-23 19:39:25 -05:00
Anthony Sottile
69eb576dd5
Merge pull request #1540 from asottile/unused-param
remove unused parameter from make_formatter
2022-01-23 19:38:47 -05:00
Anthony Sottile
f0f71fc179 remove unused parameter from make_formatter 2022-01-23 19:33:21 -05:00
Anthony Sottile
72a02b9fdc remove function made unused by off_by_default refactor 2022-01-23 19:27:18 -05:00
Anthony Sottile
4d06caab00
Merge pull request #1539 from PyCQA/no-modify-and-return
change keyword_arguments_for so it does not modify and return
2022-01-23 19:10:56 -05:00
Anthony Sottile
f9eb0fd6ea change keyword_arguments_for so it does not modify and return 2022-01-23 19:06:06 -05:00
Anthony Sottile
969e8f38d3
Merge pull request #1538 from asottile/triple-error
remove triple logged stacktrace on unknown plugin args
2022-01-23 18:35:15 -05:00
Anthony Sottile
9343a993f6 remove triple logged stacktrace on unknown plugin args 2022-01-23 18:32:28 -05:00
Anthony Sottile
d3c9b61a1c
Merge pull request #1537 from asottile/remove-log-token
remove `log_token` and `EXTRA_VERBOSE`
2022-01-23 18:18:04 -05:00
Anthony Sottile
929cf5dfd3 remove log_token and EXTRA_VERBOSE
- flake8 spent 5% of execution in `log_token`
- `EXTRA_VERBOSE` was only used by `log_token`
- `python -m tokenize` provides better debug token output
2022-01-23 18:08:58 -05:00
Anthony Sottile
5ecea41b6d
Merge pull request #1536 from asottile/physical-line-fix
use the actual line contents when processing physical lines
2022-01-22 15:45:15 -05:00
Anthony Sottile
23a60dd902 use the actual line contents when processing physical lines 2022-01-22 15:27:53 -05:00
Anthony Sottile
f5260d1464
Merge pull request #1535 from asottile/require-plugins
add a --require-plugins option
2022-01-22 14:18:33 -05:00
Anthony Sottile
d03b9c97cc add a --require-plugins option 2022-01-22 14:08:32 -05:00
Anthony Sottile
ca573a7ccf
Merge pull request #1533 from PyCQA/utf8_config
always use UTF-8 encoding when reading configuration
2022-01-20 14:09:03 -05:00
Anthony Sottile
9d23faad6d always use UTF-8 encoding when reading configuration 2022-01-20 14:03:18 -05:00
Anthony Sottile
ed690dcdd2
Merge pull request #1531 from PyCQA/asottile-patch-1
update feature issue form
2022-01-19 09:59:35 -05:00
Anthony Sottile
61e9d72b77
fix yaml quoting issue 2022-01-19 09:39:13 -05:00
Anthony Sottile
9f2331cb0c
update feature issue form
- revert link back to the top level header
- add notices about not implementing any checks
2022-01-19 05:54:42 -08:00
Ian Stapleton Cordasco
f875e6758f
Merge pull request #1529 from paulhfischer/issue-template-documentation
update documentation links in issue templates
2022-01-19 07:08:38 -06:00
Paul Fischer
ec975ad6b2
link to correct paragraph in feature-request issue template 2022-01-19 08:00:06 +01:00
Anthony Sottile
6663a2fb9f
Merge pull request #1528 from PyCQA/plugin_paths_plugin_options
combine local_plugin_paths and parse_plugin_options
2022-01-18 21:02:34 -05:00
Anthony Sottile
c194d6cc30 combine local_plugin_paths and parse_plugin_options 2022-01-18 20:57:09 -05:00
Anthony Sottile
5445a6fc27
Merge pull request #1527 from PyCQA/better-unknown-arg-error
slightly improve unknown parameter error
2022-01-18 20:49:05 -05:00
Anthony Sottile
9b9072e13d slightly improve unknown parameter error 2022-01-18 20:25:58 -05:00
Anthony Sottile
2b08d57ac4
Merge pull request #1523 from asottile/issue-forms
switch from issue templates to issue forms
2022-01-17 18:48:34 -05:00
Anthony Sottile
0bdf9ddf45 switch from issue templates to issue forms 2022-01-17 17:25:37 -05:00
Anthony Sottile
ed77e4b770
Merge pull request #1524 from asottile/fix-docs
fix docs build
2022-01-17 17:22:52 -05:00
Anthony Sottile
c2610debe6 fix docs build 2022-01-17 17:20:44 -05:00
Anthony Sottile
bff62cdf86
Merge pull request #1518 from PyCQA/refactor_plugin_opts
refactor plugin loading options to prepare for --require-plugins
2022-01-10 20:17:02 -05:00
Anthony Sottile
1b58293ad3 refactor plugin loading options to prepare for --require-plugins 2022-01-10 20:06:26 -05:00
Anthony Sottile
6abefff89e
Merge pull request #1517 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-01-10 17:34:00 -05:00
pre-commit-ci[bot]
9f046b58ee
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-mypy: v0.930 → v0.931](https://github.com/pre-commit/mirrors-mypy/compare/v0.930...v0.931)
2022-01-10 22:27:48 +00:00
Anthony Sottile
3768a44e76
Merge pull request #1516 from asottile/simplify
simplify a bit of code in style_guide.py
2022-01-05 22:00:39 -05:00
Anthony Sottile
5ca854a615 simplify a bit of code in style_guide.py 2022-01-05 18:56:53 -08:00
Anthony Sottile
034dc7ed09
Merge pull request #1515 from PyCQA/fix-docs
fix docs build
2022-01-05 16:02:30 -05:00
Anthony Sottile
af07ecbf96 fix docs build 2022-01-05 16:00:01 -05:00
Anthony Sottile
52f7ec9d12
Merge pull request #1514 from PyCQA/token_info_type
use tokenize.TokenInfo instead of _Token alias
2022-01-05 15:40:20 -05:00
Anthony Sottile
ec57d5e67c use tokenize.TokenInfo instead of _Token alias 2022-01-05 15:37:25 -05:00