Commit graph

2073 commits

Author SHA1 Message Date
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
Anthony Sottile
17a36ef267
Merge pull request #1448 from PyCQA/coverage-6
require coverage 6.x and simplify config
2021-11-14 11:20:29 -05:00
Anthony Sottile
ba8f093565 remove mercurial tags/ignore files 2021-11-14 08:19:29 -08:00
Anthony Sottile
5319cf9f35 delete unused codecov.yml 2021-11-14 08:18:14 -08:00
Anthony Sottile
7e5d6501c1 remove mentions of flake8-polyfill 2021-11-14 08:17:04 -08:00
Anthony Sottile
ef3585b3a0 require coverage 6.x and simplify config 2021-11-14 08:14:36 -08:00
Ian Stapleton Cordasco
382cc91040
Merge pull request #1443 from Spectre5/Add-nox-to-default-exclude-list
Add .nox to default exclude list
2021-11-08 06:24:02 -06:00
Scott Barlow
163814547d Add .nox to default exclude list 2021-11-07 17:39:16 -08:00
Ian Stapleton Cordasco
e34647fb37
Merge pull request #1441 from asottile/deprecate_diff
deprecate the --diff option
2021-11-06 06:03:53 -05:00
Anthony Sottile
e6579239af deprecate the --diff option 2021-11-05 20:51:04 -04:00
Anthony Sottile
a08fc4be98
Merge pull request #1440 from asottile/colors
add --color option
2021-11-05 20:44:23 -04:00
Anthony Sottile
848003cc05 add --color option 2021-11-05 20:37:08 -04:00
Ian Stapleton Cordasco
05cae7e046
Merge pull request #1437 from PyCQA/fix-rtfd
Fix ReadTheDocs builds
2021-11-02 05:56:23 -05:00
Ian Stapleton Cordasco
221de71071
Fix ReadTheDocs builds
docutils 0.18 is busted and needs to be prevented from being installed

Related to https://github.com/sphinx-doc/sphinx/issues/9788

Related to https://github.com/readthedocs/readthedocs.org/issues/8616
2021-11-02 05:52:28 -05:00
Anthony Sottile
a4e337add1
Merge pull request #1436 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-11-01 17:20:59 -04:00
pre-commit-ci[bot]
84b9831b9d
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 21.9b0 → 21.10b0](https://github.com/psf/black/compare/21.9b0...21.10b0)
2021-11-01 21:18:24 +00:00
Anthony Sottile
bcb88c4c3e
Merge pull request #1426 from mxr/fix-return
Remove usage of self.manager.map() in load_plugins()
2021-10-17 19:16:18 -07:00
Max R
dd6d61c9a6 Fix tests 2021-10-17 22:13:11 -04:00
Anthony Sottile
4157cdbc6a
Merge pull request #1427 from mxr/minor-typing-fixes
Update type hint and expression for _multiprocessing_is_fork()
2021-10-17 18:58:55 -07:00
pre-commit-ci[bot]
d83b74b6f4 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-10-18 01:56:38 +00:00
Max R
d58af9f6ae Remove usage of self.manager.map() in load_plugins() 2021-10-17 21:55:00 -04:00
Max R
56dd10eae8 Update type hint and expression for _multiprocessing_is_fork() 2021-10-17 21:43:17 -04:00
Anthony Sottile
ecee230c6f
Merge pull request #1411 from PyCQA/indent-size-str
remove indent_size_str
2021-10-11 17:55:28 -07:00
Anthony Sottile
2fee5981a7
Merge pull request #1414 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-10-11 13:32:24 -07:00
pre-commit-ci[bot]
8daf52a42a
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-mypy: v0.910 → v0.910-1](https://github.com/pre-commit/mirrors-mypy/compare/v0.910...v0.910-1)
2021-10-11 20:25:29 +00:00