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
Ian Cordasco
63b50bc1f4
Add more functionality to the BaseFormatter
...
Ensure setuptools knows about flake8.formatting
2016-02-06 14:36:26 -06:00
Ian Cordasco
eafc91ae6a
Add handling and decision making for select and ignore
2016-02-02 20:48:26 -06:00
Ian Cordasco
ef0e018fa2
Update setup.py for new entry-points and packages
...
Comment out mccabe because it is currently broken with flake8 3.0
2016-01-16 07:04:55 -06:00
Ian Cordasco
8c872c4bb9
Add more docstrings and fix lint errors
2016-01-10 14:47:06 -06:00
Ian Cordasco
6553198074
Update setup.py
2016-01-10 12:01:22 -06:00
Ian Cordasco
19e5ea767d
Add the options submodule to the package
2016-01-09 12:55:43 -06:00
Ian Cordasco
7b2a1c157b
Bare bones of a notification system
2015-12-28 23:32:42 -06:00