Anthony Sottile
1c3fef6cda
invert order of legacy to make it easier to type
2022-01-05 12:08:16 -05:00
Anthony Sottile
3b9b332560
type api.legacy.Report
2022-01-05 12:03:58 -05:00
Anthony Sottile
4cb1dc8c44
perform path normalization on '.'
2022-01-05 11:44:31 -05:00
Anthony Sottile
b62edd334a
fix extended_default_select from plugin loading
2022-01-01 19:26:43 -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
50d69150c1
rework plugin loading
2021-12-31 15:09:54 -08:00
Ruairidh MacLeod
d948169292
add check for a missing specified config file
2021-12-24 23:40:31 +00:00
Anthony Sottile
a7be5e798b
fix AttributeError when catatstrophic failure is triggered
2021-12-24 16:38:17 -05:00
Anthony Sottile
f98d52a398
have OptionManager take plugin versions directly
2021-12-08 15:49:17 -05:00
Anthony Sottile
1e4743d490
use plugin_name= instead of dicts in exceptions
2021-12-07 15:36:20 -08:00
Anthony Sottile
3fa044ca4b
return an argparser instead of side-effects
2021-12-07 15:28:58 -08:00
Anthony Sottile
52fb518104
eliminate --bug-report double-parse quirk with store_true
2021-12-07 13:49:57 -08:00
Anthony Sottile
1f76cce31b
remove stray noqa
2021-12-07 13:03:26 -08:00
Anthony Sottile
a679ab4fb1
use self.options.diff directly
2021-11-25 15:54:33 -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
65c893728e
refactor and simplify configuration loading
2021-11-22 19:45:17 -05:00
Anthony Sottile
411ff24392
move from allowlist to blocklist for mypy
2021-11-14 21:48:17 -08:00
Anthony Sottile
3b7dbd6697
replace py2-kwonly shim with true kwonly args
2021-11-14 20:59:28 -08:00
Anthony Sottile
bbbe0d8048
improve integration tests
2021-11-14 20:39:45 -08:00
Anthony Sottile
66071563c2
split out file discovery and test it
2021-11-14 20:04:29 -08:00
Anthony Sottile
81a4110338
have application return exit code for easier testing
2021-11-14 16:29:18 -08:00
Anthony Sottile
8d3afe40e1
use return value of parse_args directly
2021-11-14 15:39:14 -08:00
Anthony Sottile
0698366a20
add a __repr__ for JobsArgument
2021-11-14 14:42:48 -08:00
Anthony Sottile
bb3c8d2607
improve coverage a bit
2021-11-14 09:39:33 -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
5bed787883
add typing to src/flake8/__init__.py
2021-11-14 08:30:10 -08:00
Scott Barlow
163814547d
Add .nox to default exclude list
2021-11-07 17:39:16 -08:00
Anthony Sottile
e6579239af
deprecate the --diff option
2021-11-05 20:51:04 -04:00
Anthony Sottile
848003cc05
add --color option
2021-11-05 20:37:08 -04: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
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
d666c40623
remove indent_size_str
...
this was originally added only for pycodestyle which no longer uses it
2021-10-11 05:54:21 -07:00
Anthony Sottile
82b698e099
Release 4.0.1
2021-10-11 05:41:53 -07:00
Anthony Sottile
aa54693c9e
fix parallel execution collecting a SyntaxError
2021-10-11 05:28:05 -07:00
Anthony Sottile
d31c5356bb
Release 4.0.0
2021-10-10 19:07:21 -07:00
Ian Stapleton Cordasco
807904aebc
Drop support for Home and XDG config files
...
This has been a huge support burden for us. I seriously considered doing
this in 3.0 but caved to a vocal minority and the desire to keep as much
backwards compatibility as possible. At this point, however, I'm done
witnessing the abuse Anthony has to suffer over this and I'm done with
the undue hostility that people who don't bother to read the docs
display. Hopefully, this eases that a bit.
2021-10-10 19:18:51 -05:00
Anthony Sottile
7a353d2e23
write directly to sys.stdout.buffer to avoid windows io encoding
2021-09-08 17:10:04 -04:00
Ian Stapleton Cordasco
85c2be3b52
Handle new SyntaxError tuple on 3.10
...
Closes #1372
2021-08-15 18:26:27 -04:00
Jacob Hayes
b0f39a0360
Update --indent-size help format string
2021-08-01 19:02:49 -07:00
pre-commit-ci[bot]
66f83405dd
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-05-24 17:40:10 +00:00
Jouke Witteveen
efc15cf4f1
Automatically create output directories
2021-05-10 16:41:01 +02:00
Anthony Sottile
28aa67314e
Release 3.9.2
...
-----BEGIN PGP SIGNATURE-----
iQJHBAABCgAxFiEEzx3RsDHdsD/grSXv6HufUSpyIFEFAmCW67YTHGFzb3R0aWxl
QHVtaWNoLmVkdQAKCRDoe59RKnIgUcXlD/0aBO7kjI2EuEuKty4GljtylySJIxQN
uXMMND9OQO0sIE2Zs0a2zfNUgfIRz6InmbfmPw9lDvD2cDk53nqyA8fECl/IBWIZ
iVIpdNRXgL3HoBfV/Zi32TU6WLsWSetvWtkG66XxgI7kZGNPS3eCRdJgHlkG4xVv
YOtIYhm6faOQrUJeVP21ESknw5H/zHOrWhwuRyN6MqqLjKD8ZJCon/Hh5IJ0cHQW
XxAMgTbjjWNmD1IPI28KSRU0xzb8y8Vu6aM68Cj8E0uD7WGdBDN4chq9xVwAg3T1
Wwy+paxueKtqoQmvD4jOHGjweRElEUsLJbHNZbVrz3gY1SreZP780Dzu1cAltmx7
smDahl31ADNO/kHu9LPLBKQD5jFAWFV00SwhHxLQ2SjQtDHdKj+P+q8FsPtEWR5u
XyKC36IsJBtqpXhxFUQvvrWQ3/8khgxpTGEsffhrR9K5zx1sO+PF97Oz+EYJuaiM
oDBYYOZsSxmMzftBrT6JyLBj/IjcCkstxfJ5558/TeygvECR88Y7lNggQBjVJ3s5
kK4BDS5WrgbHaAPsi/rElqy/vhsYaZiSbTsSrv4AQc8jVHI37YFMRlDTWpDlOkmJ
qPbX2noV/5zXxab89MSYI1VzXdhqEY66je8UmiznADfJS0nv7jHKAWIwmwItxtPi
m4guaVVy5Y19jw==
=yXIO
-----END PGP SIGNATURE-----
Merge tag '3.9.2'
Release 3.9.2
2021-05-08 12:53:29 -07:00
Anthony Sottile
c6e0d27593
Release 3.9.2
2021-05-08 12:51:11 -07:00
Anthony Sottile
c428c55503
Merge pull request #1328 from PyCQA/fix_indent_size_str
...
correct and deprecate the value of indent_size_str
2021-05-08 12:45:45 -07:00
Anthony Sottile
0b565fe349
correct and deprecate the value of indent_size_str
2021-05-08 12:03:43 -07:00
Anthony Sottile
456e98486e
short circuit on ast error before tokenization error
2021-04-18 10:08:11 -07:00
Anthony Sottile
af1668bf04
extend black formatting to tests as well
2021-04-18 09:23:48 -07:00
Anthony Sottile
a7174759e9
Release 3.9.1
...
-----BEGIN PGP SIGNATURE-----
iQJHBAABCgAxFiEEzx3RsDHdsD/grSXv6HufUSpyIFEFAmB5CUkTHGFzb3R0aWxl
QHVtaWNoLmVkdQAKCRDoe59RKnIgUQQuD/9ByVAa8QV9H1P8ExNnOF/D4nq7Xm0j
NFRduVVHrGxIoMdoWu+4DmAjYABdRv/JPw7LXtUPC2oufG3On/EZWMsXN20rd7NI
6TfhBLbitwVvHfN4PfQ2II+z3Pom5QKZ8/FTs+ku+SvCBhumgdsJNxw+Ti/+mvU9
AhhbpRC7XIlYvvNxCs85xjZ8B5ARHoEoFmaaT90q8K8R9V0TjnxcIM5Y8lloAJBR
qiTt0otmzw4DbeI3jO9KJVm2ojIOHnYpmt4kh/EiZDSYgx9z42AS8jtLWuEb39//
JpbdJy8/Oviv55jIWyGY9/B+NpGigEpzbf2pSiXdgEpYyacXHewUNcTf9NEvoIfY
pa0W5OVjN5ClFPCFsToZrhNq8MwUh8TafX7aXBdGoGTaSiP55VQuSwyxmiiyKrQm
DnUQUzQ+AVL7dobxD72ui3AdvbfDevZcpGAMhdpvohowoWX4SQb1Rd6mG2anFNGl
QHiPZkI86wDhoFatYUu9CyLvP1dV/bwCjhFll62YWrUQ+cmkgT+2dZHObn8csc5I
IsEGf023Tc+KL/B9RHGlrYo3JJoNhvs/Jjt7Jnm3aFV+G2pT8nJ9wqxL9Z+uAWqw
/1oyaOHmdS2RLPdr96S4C+DbP8weRBwUQjdbIHuXnlYHi6LSkFPGeVVU23mjRWyF
5BaR4uyF9cl2zQ==
=eMit
-----END PGP SIGNATURE-----
Merge tag '3.9.1'
Release 3.9.1
2021-04-15 20:55:00 -07:00