Commit graph

172 commits

Author SHA1 Message Date
Ian Stapleton Cordasco
778ddf3ce1
Prepare master branch for development of 3.5.0 2017-08-06 14:02:58 -05:00
Ian Stapleton Cordasco
411edfa6f9
Bump version to 3.4.1 and add release notes 2017-07-28 06:15:49 -05:00
Ian Stapleton Cordasco
0239f15dcc
Release v3.4.0 2017-07-27 18:57:29 -05:00
Ian Stapleton Cordasco
69eaa28da2
Update name across the project post-marriage 2017-07-27 18:47:38 -05:00
Ian Cordasco
3921afccff
Update internal documentation around StyleGuide 2017-06-04 13:43:26 -05:00
Ian Cordasco
1827b8cc82
Add way to get back to options index 2017-05-29 20:24:30 -05:00
Ian Cordasco
d411ced0f6
Start writing new documentation around --select
In order to write this documentation, we need to also add documentation
for the --max-complexity option which was heretofore undocumented.
2017-05-29 20:23:51 -05:00
Ian Cordasco
72a6425ad3
Add release note for bug 318 2017-05-27 19:39:33 -05:00
Ian Cordasco
eec60cf40f
Add release note for bug 329 2017-05-25 20:08:59 -05:00
Ian Cordasco
a36d44a70d
Add release notes for bug 330 2017-05-25 20:07:23 -05:00
Peter Cock
180196f281 Note about error behaviour depending on Python version, e.g. F812 2017-04-26 10:57:33 +00:00
Ian Cordasco
d4d487ea97
Update and finalize v3.3.0 release notes 2017-02-06 13:46:04 -06:00
Ian Cordasco
c9ea51aa45
Add test for reproducible --version strings
And add a release note to document the change.
2017-01-21 14:14:59 -06:00
Andrew Drake
b806d122d3 Correct "systema" typo in usage documentation. 2017-01-17 14:58:50 -08: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
Ian Cordasco
57d8bca4af
Add documentation for our code style 2016-12-23 09:34:19 -06:00
Ian Cordasco
d6b1baf8af
Display the local paths from the git hook
Instead of displaying the path to the temporary directory, as we always
have, it's been requested that we instead display the path to the file
that was copied to the temporary directory.

Closes #244
2016-12-20 19:15:18 -06:00
Ian Cordasco
5248cf3c2d
Enable users who want to track all files processed
This adds two new methods to the BaseFormatter class:

- beginning
- finished

These will indicate when Flake8 begins and finishes processing a file.

Closes #251
2016-12-20 19:08:11 -06:00
Ian Cordasco
9b8f038a97
Tidy up last few bits for performance improvement 2016-12-20 18:29:10 -06:00
Lukasz Langa
2f1338c342 Assign missing codes to PyFlakes messages
Some PyFlakes messages weren't covered by unique messages, making them
impossible to select/ignore. This is now fixed.

To ensure we don't regress in the future, a test has been added that fails if
there's any uncovered messages.
2016-11-28 10:34:38 -08:00
Ian Cordasco
e4582ef4e7
Only force files to be included when run from CLI
Previously we added support so users can do:

    $ flake8 bin/executable

But this broke the fact that git hooks shouldn't check things like
reStructuredText doc files. This commit restores that functionality but
will cause bin/executable to be ignored in the git hook. This seems fair
since folks can amend their filename patterns to include it explicitly.

Closes #268
2016-11-23 16:36:26 -06:00
Ian Cordasco
a52aedc0a0
Prepare for 3.3.0 development 2016-11-21 17:46:09 -06:00
Ian Cordasco
a981fe34ed
Update release notes and version string for 3.2.1 2016-11-19 19:34:33 -06:00
Adam Chainz
cd2f72b21b Fix some typos in release notes 2016-11-17 21:09:37 +00:00
tim smith
bf47a504fb Grammar nit 2016-11-16 22:10:10 +00:00
Ian Cordasco
c50b747a1a
Fix subtle reporting bug for default on plugins
When we refactored our decision process to fix #239, we broke a subtle
corner case where extensions that are not off-by-default are to be
reported.

This further refactors that logic and adds specific tests around it to
ensure it works as expected and doesn't regress.

Closes #257
2016-11-15 19:56:18 -06:00
Ian Cordasco
8e4905279c
Prepare for 3.2.1 development 2016-11-15 19:48:47 -06:00
Ian Cordasco
8973c4849e
Fix version string in release notes 2016-11-14 19:37:16 -06:00
Ian Cordasco
e727bbb38b
Release 3.2.0 2016-11-14 16:38:27 -06:00
Ian Cordasco
7e7b1a3f23
Fix documentation issues in 3.1.1 2016-11-14 16:22:23 -06:00
Ian Cordasco
64cbc6559d
Add release notes for 3.1.1
Bump the version string as well
2016-11-14 09:54:58 -06:00
Ian Cordasco
7e44b47c9e Merge branch 'refactor-release-notes' into 'master'
Create sub-sections for different release series

When looking at the documentation, the release notes section on the
sidebar was incredibly long, due to the number of releases available.
To make this more usable, I've split the release notes index into
sections for each release series (e.g., 3.x, 2.x, etc.). This allows
documentation users to open the release notes sidebar section, and then
select which series they want. That will expand and let them pick the
version.

See merge request !145
2016-11-13 21:04:31 +00:00
Ian Cordasco
e380665530
Add a man page for Flake8
Document Flake8 for users expecting `man flake8` to work and include the
man page in Flake8's documentation.

Closes #247
2016-11-13 14:40:14 -06:00
Ian Cordasco
879768db8a
Create sub-sections for different release series
When looking at the documentation, the release notes section on the
sidebar was incredibly long, due to the number of releases available.
To make this more usable, I've split the release notes index into
sections for each release series (e.g., 3.x, 2.x, etc.). This allows
documentation users to open the release notes sidebar section, and then
select which series they want. That will expand and let them pick the
version.
2016-11-13 09:31:30 -06:00
Ian Cordasco
3fecbe177d
Prepare to release 3.1.0 on 2016-11-14 2016-11-12 14:54:32 -06:00
Ian Cordasco
43e755e2f4 Merge branch 'bug/249' into 'master'
Add documentation for VCS hooks

Closes #249

See merge request !144
2016-11-12 20:52:15 +00:00
Ian Cordasco
f4a5021660
Add documentation for VCS hooks
Closes #249
2016-11-12 14:21:42 -06:00
Ian Cordasco
7d0e950569
Remove reference to OpenStack Swift
This section of the docs could be read as pointing out the project as a
bad example. It was not intended this way, but I would like to avoid
anyone interpreting it this way. As a result, we'll continue to use
their configuration section as an example but not name names.

Closes #228
2016-11-12 14:00:12 -06:00
Ian Cordasco
6118ceab7f
Add a missing release not reference 2016-11-12 13:57:46 -06:00
Ian Cordasco
c81a403fef
Exit non-zero if something goes wrong during a run
If we handle an exception, or early exit, or really anything, we should
exit non-zero (and we used to). This was a minor oversight.

Closes #209
Closes #248
2016-11-12 13:43:49 -06:00
Ian Cordasco
8f5efdb199
Add release notes for the last several bugs 2016-11-12 11:29:59 -06:00
Ian Cordasco
1d8bbbbf9b
Add a release note to 3.0.0 about --exclude
When we rewrote Flake8 for 3.0, we unintentionally stopped forcibly
excluding some patterns regardless of what the user specified. This note
is added after the fact to make it easier for users to determine the
cause of any backwards incompatibility they might notice.

Closes #250
2016-11-10 07:13:44 -06:00
Yen Chi Hsuan
6595d3a08d Add previous_unindented_logical_line attribute
This attribute is introduced in pycodestyle 2.1.0

Closes #246

See: https://github.com/PyCQA/pycodestyle/issues/400
2016-11-08 23:34:56 +08:00
Ian Cordasco
878bab7ed1
Add documentation for E999 2016-10-28 18:35:56 -05:00
Ian Cordasco
a9e15afbf5 Merge branch 'master' into 'master'
Add --tee option to split report output stream.

The `--tee` option allows the linter report to be written to stdout, even
though it is being redirected to a file with the` --output-file` option.
This is useful if I want to store the report in a separate file for later
analysis but also be able to print the output on screen (e.g when running
in a CI environment).

See merge request !90
2016-10-25 21:34:43 +00:00
Ian Cordasco
1cfc12f366
Trim trailing spaces from documentation 2016-10-25 12:01:43 -05:00
Ian Cordasco
91a1ce47d6
Merge branch 'file-tokens' of xzise/flake8 2016-10-25 11:57:24 -05:00
Ville Skyttä
0f181954fd Spelling fixes 2016-08-13 11:13:37 +03:00
Martin Domke
a71941e9fe Fix typo in documentation. 2016-08-12 13:40:58 +02:00
Ian Cordasco
f67f481bee
Add --bug-report flag to help bug reporters
When invoked it will print out JSON that has all of the debugging
information needed by the maintainers to diagnose or reproduce a bug.

Closes #207
2016-08-07 12:31:14 -05:00