Commit graph

57 commits

Author SHA1 Message Date
Anthony Sottile
e94fb10940 require python>=3.7 2022-08-05 19:51:08 -04:00
Anthony Sottile
e94ee2b5f1 require sufficiently new importlib-metadata 2022-08-03 18:49:44 -04:00
Anthony Sottile
7838f1191c upgrade pycodestyle to 2.9.x 2022-07-30 15:38:58 -04:00
Anthony Sottile
b9e0c6eb50 upgrade pyflakes to 2.5.x 2022-07-30 13:35:02 -04:00
Anthony Sottile
c6882772e1 where possible http->https and fix links 2022-02-10 15:47:58 -05:00
Anthony Sottile
4e56fc0f6a pregenerate the pycodestyle plugin to avoid call overhead 2022-01-25 13:52:54 -05:00
Anthony Sottile
86bdc0dbc8 upgrade mccabe to 0.7.0 2022-01-23 20:17:37 -05:00
Anthony Sottile
78b2db4072 type the rest of the legacy api 2022-01-05 12:35:38 -05:00
Anthony Sottile
50d69150c1 rework plugin loading 2021-12-31 15:09:54 -08:00
Anthony Sottile
f98d52a398 have OptionManager take plugin versions directly 2021-12-08 15:49:17 -05:00
Anthony Sottile
a30dd75b0a this module is fully typed now 2021-11-22 19:57:29 -05:00
Anthony Sottile
411ff24392 move from allowlist to blocklist for mypy 2021-11-14 21:48:17 -08:00
Anthony Sottile
66071563c2 split out file discovery and test it 2021-11-14 20:04:29 -08:00
Anthony Sottile
5bed787883 add typing to src/flake8/__init__.py 2021-11-14 08:30:10 -08:00
Anthony Sottile
960cf8cf20 rerun setup-cfg-fmt (and restore comments) 2021-10-10 18:21:10 -07:00
Anthony Sottile
d79021aafc update dependency versions 2021-10-10 18:02:13 -07:00
Anthony Sottile
975a3f4533 limit broken importlib-metadata CC @jaraco 2021-06-07 19:34:36 -07:00
Anthony Sottile
e1bf883668 fix manual gitlab links 2021-04-03 18:21:02 -07:00
Anthony Sottile
8cc3fc01e8 some manual python2 metadata cleanup 2021-03-30 17:37:12 -07:00
Anthony Sottile
83fc824ca1 remove flake8 setuptools command 2021-03-29 20:15:45 -07:00
Anthony Sottile
434c108f74 Release 3.9.0 2021-03-14 16:29:54 -07:00
Anthony Sottile
40aba49d0d upgrade pycodestyle to 2.7.0 2021-03-14 11:58:03 -07:00
Anthony Sottile
1eccf9a55f upgrade pyflakes to 2.3.x 2021-03-14 09:40:01 -07:00
Anthony Sottile
a021df6fdd drop python3.4 2020-10-02 16:47:00 -07:00
Anthony Sottile
275b2320b5 Allow the new pycodestyle alpha 2020-04-23 15:13:41 -07:00
Anthony Sottile
76eeccad89 Support pyflakes 2.2.x 2020-04-11 15:00:52 -07:00
Anthony Sottile
d3c95f00d0 Switch from entrypoints to importlib_metadata 2019-11-28 17:30:52 -08:00
Djailla
f2a17ddf33 Cleanup CI and add python 3.8 support 2019-11-05 10:52:55 +01:00
Anthony Sottile
e42884cf60 Add whitespace fixers 2019-09-07 23:49:47 -07:00
Anthony Sottile
92fbdda253 Add type annotations for flake8.processor 2019-09-07 23:31:43 -07:00
Anthony Sottile
ae2f38fbeb Add type annotations to flake8.styleguide 2019-09-07 23:10:28 -07:00
Anthony Sottile
8c4e42afaa Type annotate flake8.options.manager 2019-09-07 14:37:50 -07:00
Anthony Sottile
d4b0073167 Fix / improve recently merged patches + CI 2019-07-08 14:22:51 -07:00
Surya Teja
3397a94a10 Move setup metadata to setup.cfg 2019-07-08 20:14:44 +00:00
Anthony Sottile
fb7e9338cd mypy now passes 2019-05-19 17:31:04 -07:00
Anthony Sottile
c85b282b05 Fix performance regression with per-file-ignores
With a large number of errors, filenames, and per-file-ignores the style guide
selection would take a significant portion of execution time
(python3 70% / python2 99.9%).

Caching the styleguide lookup by filename eliminates this bottleneck.
2019-01-31 09:23:02 -08:00
Anthony Sottile
238312cc75 Remove remnants from previous PRs
- warnings in configparser were silenced upstream (unless `-3` is passed)
- we no longer invoke tests from `python setup.py test`
2019-01-29 20:03:49 -08:00
Anthony Sottile
30e3545722 Upgrade entrypoints and sync with setup.cfg 2019-01-29 19:15:09 -08:00
Anthony Sottile
50e7cc71b9 Latest pycodestyle 2019-01-29 08:58:10 -08:00
Anthony Sottile
d6e63eec8a Also copy deps to setup.cfg 2019-01-28 08:38:06 -08:00
Miro Hrončok
527af5c214 Update to pyflakes 2.0.0
- Add new pyflakes codes
- Bump the required versions
- Fixes https://gitlab.com/pycqa/flake8/issues/422
2018-06-05 16:17:29 +02:00
Jimi Cullen
0273ca561f Update pycodestyle dependency version. 2018-04-15 10:51:18 +00:00
Jack Mustacato
4fcbcccf38 Update minumum pycodestyle version to 2.3.0 2017-10-27 15:05:23 -04:00
Jon Dufresne
f6765f591f Include license file in the generated wheel package
The wheel package format supports including the license file. This is
done using the [metadata] section in the setup.cfg file. For additional
information on this feature, see:

https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
2017-10-23 06:33:46 -07:00
Ian Stapleton Cordasco
b714bdff0b
Update pyflakes range and include doc links 2017-08-06 14:16:12 -05:00
Anthony Sottile
8ff30e2676 Allow newer pycodestyle 2017-02-02 12:22:22 -08:00
Ian Cordasco
499bc72c35
Update dependencies for Python 3.6 2017-01-23 06:44:20 -06:00
Ian Cordasco
e727bbb38b
Release 3.2.0 2016-11-14 16:38:27 -06:00
Ian Cordasco
0079a0acd7
Update caps in setup.cfg 2016-11-14 09:49:57 -06:00
Ville Skyttä
990e237e1b setup.cfg: Move pytest options to pytest.ini
https://github.com/pytest-dev/pytest/issues/567
2016-09-18 11:23:08 +03:00