Commit graph

1935 commits

Author SHA1 Message Date
Anthony Sottile
645cd71f57
Merge pull request #1319 from PyCQA/format_tests
extend black formatting to tests as well
2021-04-18 09:27:41 -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
Anthony Sottile
f7bda92963 Release 3.9.1 2021-04-15 20:49:00 -07:00
Ian Stapleton Cordasco
e3313e0949 Fix bug for plugins using extend_default_ignore
Since Flake8 3.0 we've had the ability for plugins to use
`extend_default_ignore` to register codes they want disabled by default.
This, however, was a permanent disabling unfortunately. Our code didn't
have a way of understanding that this new set of `ignore` codes was
actually the 'default' set for that run. Much like the
extended_select_list, we now attach extended_ignore_list to be able to
confidently determine if the ignore we get in the DecisionEngine is
actually the Default Ignore list and what plugins what us to ignore by
default.

Refs https://github.com/PyCQA/pep8-naming/pull/157
2021-04-15 18:42:17 -07:00
Anthony Sottile
36141509c5
Merge pull request #1317 from PyCQA/fix-extend-default-ignore
Fix bug for plugins using extend_default_ignore
2021-04-15 15:18:25 -07:00
Ian Stapleton Cordasco
2bb0308363
Fix bug for plugins using extend_default_ignore
Since Flake8 3.0 we've had the ability for plugins to use
`extend_default_ignore` to register codes they want disabled by default.
This, however, was a permanent disabling unfortunately. Our code didn't
have a way of understanding that this new set of `ignore` codes was
actually the 'default' set for that run. Much like the
extended_select_list, we now attach extended_ignore_list to be able to
confidently determine if the ignore we get in the DecisionEngine is
actually the Default Ignore list and what plugins what us to ignore by
default.

Refs https://github.com/PyCQA/pep8-naming/pull/157
2021-04-15 13:26:08 -05:00
Anthony Sottile
992bb77d22
Merge pull request #1314 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-04-12 10:31:57 -07:00
pre-commit-ci[bot]
c5315241b9
[pre-commit.ci] pre-commit autoupdate 2021-04-12 17:24:08 +00:00
Anthony Sottile
9efd4bf324
Merge pull request #1312 from fwinkl/extend_select
Add --extend-select command line argument
2021-04-11 11:43:10 -07:00
Frank Winklmeier
f98afbf7d9 Add --extend-select command line argument
Implement `--extend-select` command line argument following what was
done for `--extend-ignore` in !233. This option can be used to
selectively add individual codes without overriding the default list
entirely.

Addresses the remaining item of issue #1061.
2021-04-11 20:40:53 +02:00
Anthony Sottile
9815f49cc4
Merge pull request #1309 from asottile/improve_coverage
improve code coverage in a few places
2021-04-07 08:55:46 -07:00
Anthony Sottile
737e0492d0 improve code coverage in a few places 2021-04-07 08:52:26 -07:00
Anthony Sottile
5899e7d720
Merge pull request #1307 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-04-07 08:30:55 -07:00
Anthony Sottile
3f10c04fd0 fix mypy errors 2021-04-07 08:28:11 -07:00
pre-commit-ci[bot]
fcf56ac93e
[pre-commit.ci] pre-commit autoupdate 2021-04-05 17:22:46 +00:00
Anthony Sottile
1623a8ea4f
Merge pull request #1306 from PyCQA/issue_template
add issue template
2021-04-04 09:28:57 -07:00
Anthony Sottile
28510409b5 add issue template 2021-04-04 09:21:16 -07:00
Anthony Sottile
97134d5a32
Merge pull request #35 from sambrightman/document-exclude-default
Update documentation of default excludes
2021-04-03 21:42:57 -07:00
Anthony Sottile
f018682ba5
Merge pull request #20 from blueyed/doc-typo
docs: fix typo in class reference
2021-04-03 21:38:35 -07:00
Anthony Sottile
55ce3f016e
Merge pull request #43 from sobolevn/patch-1
Typo fix
2021-04-03 20:35:49 -07:00
Anthony Sottile
b8c1547420
Merge pull request #1305 from asottile/replace_gitlab_urls
Replace gitlab urls
2021-04-03 18:23:42 -07:00
Anthony Sottile
8b76fa39fb Remove remaining references to gitlab 2021-04-03 18:21:02 -07:00
Anthony Sottile
3b57778160 fix links in code 2021-04-03 18:21:02 -07:00
Anthony Sottile
fe0e2495ce fix pr and issue links in release notes 2021-04-03 18:21:02 -07:00
Anthony Sottile
de4d64bf9a update milestone links 2021-04-03 18:21:02 -07:00
Anthony Sottile
e1bf883668 fix manual gitlab links 2021-04-03 18:21:02 -07:00
Anthony Sottile
74506ae165
Merge pull request #1291 from PyCQA/github_actions
enable github actions
2021-04-03 14:52:39 -07:00
Anthony Sottile
0fa32894fd enable github actions 2021-04-03 14:50:31 -07:00
Anthony Sottile
e0116d8e77 Merge branch 'py3_plus' into 'master'
drop legacy python versions

Closes #690

See merge request pycqa/flake8!471
2021-03-31 14:22:37 +00:00
Anthony Sottile
edadccd8dc audit + string joining 2021-03-30 17:37:13 -07:00
Anthony Sottile
e9a2a10183 audit % format calls 2021-03-30 17:37:13 -07:00
Anthony Sottile
c4c4351699 audit .format(...) calls 2021-03-30 17:37:13 -07:00
Anthony Sottile
cb36e206a5 com2ann 2021-03-30 17:37:13 -07:00
Anthony Sottile
64a610ed19 clean up TYPE_CHECKING imports 2021-03-30 17:37:13 -07:00
Anthony Sottile
83856872d3 clean up OrderedDict 2021-03-30 17:37:13 -07:00
Anthony Sottile
5d43462c9d clean up version_info references 2021-03-30 17:37:13 -07:00
Anthony Sottile
018dbcd69a clean up _stdin_get_value_py3 2021-03-30 17:37:13 -07:00
Anthony Sottile
4d57a20ffd clean up readlines_py2 2021-03-30 17:37:13 -07:00
Anthony Sottile
3a85c8ce96 clean up string_types 2021-03-30 17:37:13 -07:00
Anthony Sottile
5b9edd04ee clean up lru_cache in compat 2021-03-30 17:37:13 -07:00
Anthony Sottile
358ae85120 automatic: pyupgrade --py36-plus 2021-03-30 17:37:13 -07:00
Anthony Sottile
8cc3fc01e8 some manual python2 metadata cleanup 2021-03-30 17:37:12 -07:00
Anthony Sottile
55f29c636f introduce pyupgrade, run it in python2-compatible mode 2021-03-29 20:21:36 -07:00
Anthony Sottile
1d5dd156ab Merge branch 'remove_setuptools_command' into 'master'
remove flake8 setuptools command

See merge request pycqa/flake8!470
2021-03-30 03:20:30 +00:00
Anthony Sottile
83fc824ca1 remove flake8 setuptools command 2021-03-29 20:15:45 -07:00
Anthony Sottile
00f92087da Merge branch 'yesqa' into 'master'
remove unused noqa comments

See merge request pycqa/flake8!469
2021-03-30 02:27:03 +00:00
Anthony Sottile
8ba8bc9fed remove unused noqa comments 2021-03-29 19:18:34 -07:00
Anthony Sottile
01d72d89b1 Merge branch 'remove_vcs_stuff' into 'master'
remove vcs integration

See merge request pycqa/flake8!468
2021-03-30 02:08:31 +00:00
Anthony Sottile
1a1d850e99 remove vcs integration 2021-03-29 19:01:59 -07:00