Commit graph

2140 commits

Author SHA1 Message Date
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
Anthony Sottile
01e8376094
Merge pull request #1513 from asottile/docs_type_hints
use type hints instead of :type and :rtype
2022-01-05 14:22:47 -05:00
Anthony Sottile
741ff11bfb use type hints instead of :type and :rtype 2022-01-05 14:09:39 -05:00
Anthony Sottile
e1d737906c
Merge pull request #1512 from PyCQA/break_cycle
break type checking cycles
2022-01-05 13:41:49 -05:00
Anthony Sottile
fa4c31fb97 break type checking cycles 2022-01-05 13:40:16 -05:00
Anthony Sottile
f6267dd4d7
Merge pull request #1511 from PyCQA/new_namedtuple
use typesafe NamedTuple
2022-01-05 13:24:37 -05:00
Anthony Sottile
3c885219b5 use typesafe NamedTuple 2022-01-05 13:02:38 -05:00
Anthony Sottile
f0fb786883
Merge pull request #1510 from asottile/type_legacy_pt2
type the rest of the legacy api
2022-01-05 12:37:53 -05:00
Anthony Sottile
78b2db4072 type the rest of the legacy api 2022-01-05 12:35:38 -05:00
Anthony Sottile
1c3fef6cda invert order of legacy to make it easier to type 2022-01-05 12:08:16 -05:00
Anthony Sottile
0d4128db48
Merge pull request #1509 from asottile/type_legacy_pt1
type api.legacy.Report
2022-01-05 12:07:28 -05:00
Anthony Sottile
3b9b332560 type api.legacy.Report 2022-01-05 12:03:58 -05:00
Anthony Sottile
8c7b8bb2ab
Merge pull request #1508 from asottile/normalize_dot
perform path normalization on '.'
2022-01-05 11:52:10 -05:00
Anthony Sottile
4cb1dc8c44 perform path normalization on '.' 2022-01-05 11:44:31 -05:00
Anthony Sottile
7fad9925d2
Merge pull request #1507 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-01-03 17:35:27 -05:00
pre-commit-ci[bot]
4d15e0c136
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.29.1 → v2.31.0](https://github.com/asottile/pyupgrade/compare/v2.29.1...v2.31.0)
2022-01-03 22:11:04 +00:00
Anthony Sottile
8a3c2183e5
Merge pull request #1506 from asottile/fix-enable
fix extended_default_select from plugin loading
2022-01-01 19:48:40 -05:00
Anthony Sottile
b62edd334a fix extended_default_select from plugin loading 2022-01-01 19:26:43 -05:00
Anthony Sottile
73155616d1
Merge pull request #1505 from PyCQA/off_by_default
move managing of off_by_default / enable_extensions to plugin loading
2022-01-01 18:44:31 -05:00
Anthony Sottile
a8333e2bf2 move managing of off_by_default / enable_extensions to plugin loading 2022-01-01 18:33:07 -05:00
Anthony Sottile
ff13916d74
Merge pull request #1504 from asottile/plugin_rework
rework plugin loading
2021-12-31 22:25:03 -05:00
Anthony Sottile
50d69150c1 rework plugin loading 2021-12-31 15:09:54 -08:00
Anthony Sottile
d17d5103c8
Merge pull request #1502 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-12-27 17:29:58 -05:00
pre-commit-ci[bot]
8d3c6ed591
[pre-commit.ci] pre-commit autoupdate
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)
- [github.com/pre-commit/mirrors-mypy: v0.920 → v0.930](https://github.com/pre-commit/mirrors-mypy/compare/v0.920...v0.930)
2021-12-27 22:23:20 +00:00
Ian Stapleton Cordasco
38c5eceda9
Merge pull request #1498 from rkm/fix-missing-config
return an error if the explicitly specified config is missing
2021-12-25 08:01:33 -06:00
Ruairidh MacLeod
d948169292 add check for a missing specified config file 2021-12-24 23:40:31 +00:00
Ruairidh MacLeod
d478d92299 add failing test for missing config file 2021-12-24 23:40:31 +00:00
Anthony Sottile
df64e392f4
Merge pull request #1499 from asottile/fix-catastrophic-failure
fix AttributeError when catatstrophic failure is triggered
2021-12-24 16:41:56 -05:00
Anthony Sottile
a7be5e798b fix AttributeError when catatstrophic failure is triggered 2021-12-24 16:38:17 -05:00
Anthony Sottile
f7a86ca04b
Merge pull request #1495 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-12-20 16:55:31 -05:00
pre-commit-ci[bot]
19db908605
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-mypy: v0.910-1 → v0.920](https://github.com/pre-commit/mirrors-mypy/compare/v0.910-1...v0.920)
2021-12-20 21:41:31 +00:00
Anthony Sottile
f90a549da5
Merge pull request #1490 from asottile/option-manager-versions
have OptionManager take plugin versions directly
2021-12-08 16:05:15 -05:00
Anthony Sottile
f98d52a398 have OptionManager take plugin versions directly 2021-12-08 15:49:17 -05:00
Anthony Sottile
fed77cd60a
Merge pull request #1489 from asottile/exceptions-plugin-name
use plugin_name= instead of dicts in exceptions
2021-12-07 18:39:11 -05:00
Anthony Sottile
1e4743d490 use plugin_name= instead of dicts in exceptions 2021-12-07 15:36:20 -08:00
Anthony Sottile
0f1825fdbe
Merge pull request #1488 from asottile/stage1-parser
return an argparser instead of side-effects
2021-12-07 18:32:26 -05:00
Anthony Sottile
3fa044ca4b return an argparser instead of side-effects 2021-12-07 15:28:58 -08:00
Anthony Sottile
1587936e2a
Merge pull request #1487 from PyCQA/debug-store-true
eliminate --bug-report double-parse quirk with store_true
2021-12-07 17:05:22 -05:00
Anthony Sottile
52fb518104 eliminate --bug-report double-parse quirk with store_true 2021-12-07 13:49:57 -08:00
Anthony Sottile
03b33b9573
Merge pull request #1486 from PyCQA/stray-noqa
remove stray noqa
2021-12-07 16:08:24 -05:00
Anthony Sottile
1f76cce31b remove stray noqa 2021-12-07 13:03:26 -08:00
Anthony Sottile
5d81f4b58d
Merge pull request #1485 from PyCQA/disabled-by-default-plugin-test
add integration test for off_by_default plugin
2021-12-07 15:28:05 -05:00
Anthony Sottile
fa8ac82ee2 add integration test for off_by_default plugin 2021-12-07 12:25:24 -08:00