Anthony Sottile
3ce76158a0
Merge pull request #1578 from PyCQA/reorder-config
...
reorder configuration to put formatters first
2022-04-06 16:03:33 -04:00
Anthony Sottile
77851c82f1
reorder configuration to put formatters first
2022-04-06 16:01:20 -04:00
Anthony Sottile
1eb078ac98
Merge pull request #1577 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-03-28 16:50:10 -04:00
pre-commit-ci[bot]
17080ed718
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 22.1.0 → 22.3.0](https://github.com/psf/black/compare/22.1.0...22.3.0 )
- [github.com/pre-commit/mirrors-mypy: v0.941 → v0.942](https://github.com/pre-commit/mirrors-mypy/compare/v0.941...v0.942 )
2022-03-28 20:47:55 +00:00
Anthony Sottile
ddb04f758f
Merge pull request #1576 from PyCQA/simplify-decisions
...
simplify decision engine
2022-03-23 12:27:12 -04:00
Anthony Sottile
c5225db626
simplify decision engine
...
- not specified codes (cmdline / config) are now known as being implicit via
None sentinel
- removed redundant logic for (explicit, explicit) selection
2022-03-22 18:22:20 -07:00
Ian Stapleton Cordasco
dba40df8d1
Merge pull request #1574 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-03-21 19:59:29 -05:00
pre-commit-ci[bot]
bb2d30614e
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.940 → v0.941](https://github.com/pre-commit/mirrors-mypy/compare/v0.940...v0.941 )
2022-03-22 00:56:17 +00:00
Anthony Sottile
2680339377
make this a link
2022-03-20 17:10:37 -04:00
Anthony Sottile
24a87fcf9e
Merge pull request #1572 from asottile/issue-template
...
hopefully reduce duplicates of pyproject.toml
2022-03-20 17:09:53 -04:00
Anthony Sottile
f88b8a410a
hopefully reduce duplicates of pyproject.toml
2022-03-20 17:07:30 -04:00
Anthony Sottile
2cdd4aeebf
Merge pull request #1573 from PyCQA/memory-leak
...
fix memory leak caused by lru_cache of a method
2022-03-20 17:07:12 -04:00
Anthony Sottile
befc26f78e
fix memory leak caused by lru_cache of a method
2022-03-20 17:04:30 -04:00
Anthony Sottile
94ed800b2a
Merge pull request #1567 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-03-14 20:56:14 -04:00
pre-commit-ci[bot]
21f22765b5
[pre-commit.ci] pre-commit autoupdate
...
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 )
- [github.com/pre-commit/mirrors-mypy: v0.931 → v0.940](https://github.com/pre-commit/mirrors-mypy/compare/v0.931...v0.940 )
2022-03-15 00:44:20 +00:00
Anthony Sottile
8c1ed24738
Merge pull request #1558 from PyCQA/https
...
where possible http->https and fix links
2022-02-10 15:51:31 -05:00
Anthony Sottile
c6882772e1
where possible http->https and fix links
2022-02-10 15:47:58 -05:00
Anthony Sottile
0322dee1ed
Merge pull request #1557 from PyCQA/remove-manpage
...
remove manpage
2022-02-10 15:45:23 -05:00
Anthony Sottile
430f55e6d7
remove manpage
...
the suggestion for packagers is to utilize help2man or similar tools to get an up-to-date manpage
2022-02-10 09:44:04 -05:00
Anthony Sottile
95028ff250
Merge pull request #1556 from tmarice/main
...
Clarify that `--count` writes to standard output
2022-02-10 09:36:07 -05:00
Tomislav Maricevic
54cf6ea0b1
Clarify that --count writes to standard output
2022-02-10 10:33:19 +01:00
Anthony Sottile
62ce3e4918
Merge pull request #1552 from PyCQA/ignore-order
...
make --ignore order consistent
2022-02-06 11:39:46 -05:00
Anthony Sottile
f7ef1a6c8b
make --ignore order consistent
2022-02-06 08:36:36 -08:00
Anthony Sottile
0ecfb90f57
Merge pull request #1551 from PyCQA/show-pycodestyle-in-help
...
re-show pycodestyle in help after plugin gen
2022-02-06 11:18:54 -05:00
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