Anthony Sottile
b6bd3a8ddd
Release v3.6.0
2018-10-23 20:42:45 -07: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
Ville Skyttä
9f74e7a4ca
Spelling and grammar fixes
2018-05-13 22:19:50 +02:00
Ian Stapleton Cordasco
4057d3d3cc
Merge branch 'pyreq' into 'master'
...
Pass python_requires argument to setuptools
See merge request pycqa/flake8!225
2018-04-15 19:25:50 +00:00
Jimi Cullen
ef1d5ceefc
Add hooks for new pycodestyle checks.
...
Add hooks for new checks introduced in pycodestyle 2.4.0.
For details of the changes to pycodestyle, see:
https://pycodestyle.readthedocs.io/en/latest/developer.html
2018-04-15 15:31:31 +00:00
Jimi Cullen
68782675b7
Add new pycodestyle check hooks.
...
Add new pycodestyle check hooks for breaks around binary ops.
2018-04-15 14:02:49 +00:00
Jimi Cullen
85c503de32
Remove broken hook.
...
Remove broken hook to pycodestyle.break_around_binary_operator.
2018-04-15 10:52:07 +00:00
Jimi Cullen
0273ca561f
Update pycodestyle dependency version.
2018-04-15 10:51:18 +00:00
Jon Dufresne
f68e71911b
Pass python_requires argument to setuptools
...
Helps pip decide what version of the library to install.
https://packaging.python.org/tutorials/distributing-packages/#python-requires
> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.
https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords
> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.
2018-01-13 15:41:22 -08:00
Jack Mustacato
4fcbcccf38
Update minumum pycodestyle version to 2.3.0
2017-10-27 15:05:23 -04:00
Ian Stapleton Cordasco
b714bdff0b
Update pyflakes range and include doc links
2017-08-06 14:16:12 -05:00
Ian Stapleton Cordasco
ee43559348
Add new pycodestyle checks
...
Closes #361
2017-08-05 07:27:20 -05:00
Ian Stapleton Cordasco
69eaa28da2
Update name across the project post-marriage
2017-07-27 18:47:38 -05:00
Zvezdan Petkovic
a7068ad374
Use extras_require instead of conditional code.
...
Use of extras_require produces correct package metadata for flake8
regardless of the version of Python the package is built with.
The conditional code produces different metadata for Python 3 and 2.
The latest versions of flake8 were released with Python 3 and metadata
did not contain two dependencies necessary for use with Python 2.7.
See https://gitlab.com/pycqa/flake8/issues/341 for details.
Account for users of setuptools<18 that still need the conditional code.
2017-07-10 18:20:49 -07:00
Ian Cordasco
b6c0cce3e6
Add lower bound on setuptools
...
Partial #320
2017-05-12 20:37:16 -05:00
Anthony Sottile
8ff30e2676
Allow newer pycodestyle
2017-02-02 12:22:22 -08:00
Jon Dufresne
7824162ee6
Add "Development Status" classifier to setup.py
2017-01-26 18:08:43 -08:00
Ian Cordasco
499bc72c35
Update dependencies for Python 3.6
2017-01-23 06:44:20 -06:00
Ian Cordasco
bc840e2403
Add AST support for Python 3.6
...
Upgrade version constraints on PyFlakes to only the versions that handle
Python 3.6
Closes #290
2017-01-15 11:26:07 -06:00
Ondřej Nový
8a3869e965
Require mock 2.0.0, because unit tests are failing on older one
2016-11-22 22:43:54 +01:00
Ian Cordasco
e727bbb38b
Release 3.2.0
2016-11-14 16:38:27 -06:00
Ian Cordasco
662d787285
Revert "Update release machinery to include manpages"
...
This reverts commit f6f01b469c .
2016-11-14 09:49:03 -06:00
Ian Cordasco
f6f01b469c
Update release machinery to include manpages
2016-11-14 09:48:48 -06:00
Ian Cordasco
ca4f631fb2
Merge branch 'patch-1' of github.com/alex/flake8
2016-11-09 17:09:32 -06:00
Ondřej Nový
901869731b
Fixed E305: expected 2 blank lines after class or function definition
2016-11-08 20:13:53 +01:00
Alex Gaynor
a56f665110
Permit pycodestyle 2.1.x to be used
2016-11-05 11:24:38 -04:00
Alex Gaynor
4bd4d4ce9c
Bumped maximum pyflakes version to allow usage of pyflakes 1.3
2016-09-02 12:54:21 +00:00
Ian Cordasco
e51fc5458b
Fix handling of logical lines with noqa
...
When attempting to centralize all inline NoQA handling in the StyleGuide
we inadvertently broke plugins relying on it in combination with checker
state. For example, the check for E402 relies both on NoQA and the state
to determine if it has seen a non-import line. Placing NoQA on the sole
line that is not an import is more elegant than placing it on each of
the following import lines.
Closes #186
2016-07-26 19:45:05 -05:00
Ian Cordasco
222292c4b2
Handle repeated --quiet options again
...
Fundamentally on Flake8 2.x using -q altered the format of the errors
(and the behaviour a little) so it makes the most sense to implement
this logic with formatters rather than messy logic spread throughout
the project.
The FilenameOnly formatter will keep track of filenames already reported
and only print the name once while Nothing will print nothing.
Closes #180
2016-07-25 19:38:19 -05:00
Ian Cordasco
cde783d135
Clean up setup.py a bit
2016-06-30 16:03:02 -05:00
Ian Cordasco
790549fd25
Open our README appropriately
...
Systems without a LOCALE present will not be able to read our file
appropriately on Python 3. This was causing our Python 3 CI jobs on
GitLab to fail.
2016-06-26 07:13:16 -05:00
Ian Cordasco
04413f8338
Add the long description back to setup.py
2016-06-25 12:27:14 -05:00
Ian Cordasco
5d1150cc27
Update the packaging so wheels work
2016-06-25 11:20:28 -05:00
Ian Cordasco
1a2c68f5da
Move flake8 into src
...
This is an emerging best practice and there is little reason to not
follow it
2016-06-25 10:12:13 -05:00
Ian Cordasco
6ac4d16522
Switch to pycodestyle and start constraining versions again
2016-06-20 20:20:48 -05:00
Ian Cordasco
9a9bcdfb52
Add setuptools integration
...
This proved simpler because I realized something important: Most of the
code that the old integration was using was in fact doing nothing of
value. Since we can't meaningfully allow users to use command-line
options as parameters to `python setup.py flake8`, we just remove the
work that we do to set up those attributes and parse them.
2016-06-16 10:59:16 -05:00
Ian Cordasco
3af48abac6
Remove CHANGES.rst
2016-06-14 20:48:44 -05:00
Ian Cordasco
9c47fe3c08
Convert flake8.api to a submodule
2016-06-11 16:43:41 -05:00
Ian Cordasco
b10aa91b82
Use function for pep8 plugins
...
This will make the transition to pycodestyle much easier
2016-06-09 19:57:49 -05:00
Ian Cordasco
8300e0f97c
Update dependency version constraints
2016-05-30 16:00:59 -05:00
Ian Cordasco
f54c0874f8
Handle sdist installation without tox
2016-05-30 16:00:45 -05:00
Ian Cordasco
33f982b446
Rely on Python 3.4 backport of configparser
...
Python 2.7's ConfigParser module does not allow for the behaviour we
have documented for config files in Flake8 3.0. To compensate for that,
we add a dependency on the configparser backport on PyPI for Python 2.7
2016-05-30 12:51:31 -05:00
Ian Cordasco
a1c1247cba
Remove 2.6 from testing matrix
...
Explicitly list which versions of Python 2 and 3 we support
2016-03-18 13:55:37 -05:00
Ian Cordasco
f04d8da485
Add pep8 checks to plugins list
2016-03-10 19:41:19 -06:00
Ian Cordasco
da21821517
Make flake8 actually work
2016-03-10 19:00:07 -06:00
Ian Cordasco
8d36355611
Re-order project imports based on flake8-import-order
2016-02-25 11:14:41 -06:00
Ian Cordasco
aa6766861e
Be consistent in setup.py
2016-02-19 18:59:48 -06:00
Ian Cordasco
b8a38c2573
Add pylint formatter
2016-02-07 10:45:19 -06:00
Ian Cordasco
0b8f11acc2
Fix our entry-points for report formatters
2016-02-07 09:40:32 -06:00
Ian Cordasco
81495fd859
Add default formatting class
2016-02-06 15:22:36 -06:00