Commit graph

2097 commits

Author SHA1 Message Date
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
Anthony Sottile
17822984a5
Merge pull request #1454 from asottile/unused-example-code
remove unused example-code test fixtures
2021-11-14 11:45:25 -05:00
Anthony Sottile
799c71eeb6
Merge pull request #1453 from asottile/dead
remove dead code
2021-11-14 11:43:25 -05:00
Anthony Sottile
b3c6364f0e remove unused example-code test fixtures 2021-11-14 08:42:35 -08:00
Anthony Sottile
0c62569c4f remove dead code
detected using https://github.com/asottile/dead
2021-11-14 08:40:34 -08:00
Anthony Sottile
c9cac9957b
Merge pull request #1452 from asottile/type_init
add typing to src/flake8/__init__.py
2021-11-14 11:32:49 -05:00
Anthony Sottile
5bed787883 add typing to src/flake8/__init__.py 2021-11-14 08:30:10 -08:00
Anthony Sottile
002a99ec1b
Merge pull request #1449 from asottile/remove-polyfill
remove mentions of flake8-polyfill
2021-11-14 11:23:25 -05:00
Anthony Sottile
074c0048c9
Merge pull request #1451 from asottile/remove-hg
remove mercurial tags/ignore files
2021-11-14 11:22:53 -05:00
Anthony Sottile
f1d860852e
Merge pull request #1450 from asottile/remove-codecov
delete unused codecov.yml
2021-11-14 11:22:27 -05:00