Commit graph

2506 commits

Author SHA1 Message Date
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
Anthony Sottile
c3ab1fcfb2
Merge pull request #1484 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-12-06 17:25:15 -05:00
pre-commit-ci[bot]
878d2a772a
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 21.11b1 → 21.12b0](https://github.com/psf/black/compare/21.11b1...21.12b0)
2021-12-06 22:19:46 +00:00
Anthony Sottile
7a02d04919
Merge pull request #1477 from PyCQA/running_against_diff
use self.options.diff directly
2021-11-25 15:58:56 -05:00
Anthony Sottile
a679ab4fb1 use self.options.diff directly 2021-11-25 15:54:33 -05:00
Anthony Sottile
b857d25c81
Merge pull request #1476 from asottile/files_not_nullable
refactor run_checks to not take an Optional list of filenames
2021-11-25 15:48:38 -05:00
Anthony Sottile
77a054688b refactor run_checks to not take an Optional list of filenames 2021-11-25 15:45:01 -05:00
Anthony Sottile
6e5600f8ec
Merge pull request #1473 from PyCQA/mypy-improve
this module is fully typed now
2021-11-22 20:02:04 -05:00
Anthony Sottile
a30dd75b0a this module is fully typed now 2021-11-22 19:57:29 -05:00
Anthony Sottile
841489e312
Merge pull request #1472 from asottile/config_discovery
refactor and simplify configuration loading
2021-11-22 19:51:21 -05:00
Anthony Sottile
65c893728e refactor and simplify configuration loading 2021-11-22 19:45:17 -05:00
Anthony Sottile
dc9b7eb3e4
Merge pull request #1471 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-11-22 17:05:23 -05:00
pre-commit-ci[bot]
00ca6302c5
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 21.10b0 → 21.11b1](https://github.com/psf/black/compare/21.10b0...21.11b1)
- [github.com/asottile/pyupgrade: v2.29.0 → v2.29.1](https://github.com/asottile/pyupgrade/compare/v2.29.0...v2.29.1)
2021-11-22 21:47:02 +00:00
Anthony Sottile
e944e090c0
Merge pull request #1466 from asottile/mypy-everything
move from allowlist to blocklist for mypy
2021-11-15 00:51:08 -05:00
Anthony Sottile
411ff24392 move from allowlist to blocklist for mypy 2021-11-14 21:48:17 -08:00
Anthony Sottile
500e2de0a0
Merge pull request #1465 from asottile/kwonly
replace py2-kwonly shim with true kwonly args
2021-11-15 00:03:04 -05:00
Anthony Sottile
3b7dbd6697 replace py2-kwonly shim with true kwonly args 2021-11-14 20:59:28 -08:00
Anthony Sottile
1675ddafa1
Merge pull request #1464 from PyCQA/more-tests
improve integration tests
2021-11-14 23:45:56 -05:00
Anthony Sottile
bbbe0d8048 improve integration tests 2021-11-14 20:39:45 -08:00
Anthony Sottile
a7de34a90e
Merge pull request #1463 from asottile/file_discovery
split out file discovery and test it
2021-11-14 23:06:46 -05:00
Anthony Sottile
66071563c2 split out file discovery and test it 2021-11-14 20:04:29 -08:00
Anthony Sottile
c0ddae2948
Merge pull request #1462 from PyCQA/test_name_too
fix test name after exit -> exit_code refactor
2021-11-14 19:41:20 -05:00
Anthony Sottile
97c3de41bd fix test name after exit -> exit_code refactor 2021-11-14 16:38:39 -08:00
Anthony Sottile
5e2e50325d
Merge pull request #1461 from PyCQA/application_exit_code
have application return exit code for easier testing
2021-11-14 19:33:36 -05:00
Anthony Sottile
81a4110338 have application return exit code for easier testing 2021-11-14 16:29:18 -08:00
Anthony Sottile
5a85dd8ddb
Merge pull request #1460 from asottile/optmanager_parse_args
use return value of parse_args directly
2021-11-14 18:42:05 -05:00
Anthony Sottile
8d3afe40e1 use return value of parse_args directly 2021-11-14 15:39:14 -08:00
Anthony Sottile
d582affb2c
Merge pull request #1459 from asottile/jobs-repr
add a __repr__ for JobsArgument
2021-11-14 17:51:05 -05:00
Anthony Sottile
0698366a20 add a __repr__ for JobsArgument 2021-11-14 14:42:48 -08:00
Anthony Sottile
b454674b27
Merge pull request #1457 from asottile/improve_coverage
improve coverage a bit
2021-11-14 12:41:57 -05:00
Anthony Sottile
bb3c8d2607 improve coverage a bit 2021-11-14 09:39:33 -08:00
Anthony Sottile
639dfe1671
Merge pull request #1456 from asottile/unused-test-fixtures
remove some unused test fixture files
2021-11-14 11:57:05 -05:00
Anthony Sottile
3af47b7df5 remove some unused test fixture files 2021-11-14 08:54:57 -08:00
Anthony Sottile
e973a02ada
Merge pull request #1455 from PyCQA/simplify-flake8-config
simplify our own flake8 config
2021-11-14 11:51:43 -05:00
Anthony Sottile
e527b8e3ca simplify our own flake8 config 2021-11-14 08:49:01 -08:00