Commit graph

615 commits

Author SHA1 Message Date
Ian Cordasco
e1de96f629
Merge branch 'readthedocs.io' of adamchainz/flake8 2016-06-15 19:31:38 -05:00
Ian Cordasco
5b46db3d80
Merge branch 'master' of mpenkov/flake8 2016-06-15 19:31:10 -05:00
Ian Cordasco
396f69ba42
Merge branch 'patch-1' of pinguin999/flake8 2016-06-15 19:30:08 -05:00
Adam Chainz
e459e57d58 Convert readthedocs links for their .org -> .io migration for hosted projects
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
2016-06-15 21:57:11 +01:00
Ian Cordasco
eac3fcfc42
Update mock.patch to use pycodestyle as well 2016-06-15 13:39:38 -05:00
Ian Cordasco
2cfc2777c1
Merge branch 'merge-request/60' 2016-06-15 12:17:04 -05:00
Ian Cordasco
0a6ecad806
Merge branch 'use-pycodestyle' from IanLee1521
I've merged this into a local branch which I'll then merge into master

Conflicts:
      setup.py
2016-06-15 12:10:05 -05:00
Ian Cordasco
b48623dbdb
Update mccabe and pyflakes constraints 2016-06-15 11:47:47 -05:00
Ian Cordasco
874d9f9e8c
Bump version and track changes for 2.6.0 2016-06-15 11:45:54 -05:00
Ian Cordasco
7bed004c06 Merge branch 'mp-win' into 'master'
Enable multiprocessing on Windows on unaffected Python versions


*Related to:* #135

See merge request !61
2016-06-15 11:32:49 +00:00
Ian Cordasco
d425c246d0 Merge branch '405-ImportStarUsage' into 'master'
pyflakes ImportStarUsage => flake8 405 patch



See merge request !56
2016-06-15 11:32:04 +00:00
Ian Cordasco
edb62d1183 Merge branch 'master' into 'master'
Allow pyflakes 1.1

All tests pass and it works fine here :)

See merge request !55
2016-06-15 11:31:50 +00:00
Ian Cordasco
3bf761be58
Release v2.5.5 2016-06-14 09:07:13 -05:00
Michael Penkov
118709a7bd Adding myself to CONTRIBUTORS.txt
I pushed last year
(https://github.com/PyCQA/flake8/pull/2#issuecomment-77674012) and
forgot to add myself.
2016-06-10 11:28:48 +03:00
pinguin999
95d9eae378 Per Code Line
How to ignore one code line
2016-06-07 14:41:18 +02:00
schlamar
6922f58ed3 Enable multiprocessing on Windows on unaffected Python versions
The upstream bug in Python is fixed in Python 2.7.11+ and Python 3.2+
2016-06-01 07:40:02 +02:00
Ian Lee
25503452b0 Updated documentation references to pep8 (now pycodestyle) 2016-05-31 11:08:25 -07:00
Ian Lee
1db863e60a Updated package to use pycodestyle
This change was originally triggered by @gvanrossum requeesting
that pep8 (the tool) be renamed to avoid confusion with PEP-8
the document. This request is tracked at:

https://github.com/PyCQA/pycodestyle/issues/466
2016-05-31 11:02:09 -07:00
Ian Cordasco
16686132c1 Merge branch 'master' into 'master'
Fix typo in config.rst, default exclude __pycache__

by default `__pycache__` is excluded.

See merge request !59
2016-05-12 17:49:05 +00:00
Tobias Wilken
010a5ad6c3 Fix typo in config.rst, default exclude __pycache__
By default `__pycache__` is excluded.
2016-05-12 10:22:49 +02:00
Ian Cordasco
ccc01f48d1 Merge branch 'master' into 'master'
Updating the configuration documentation

Updates the documentation to be clearer on how configuration settings should work.

Related to: !53

See merge request !58
2016-03-28 16:10:37 +00:00
Jason Myers
4348b61b08 Updating the configuration documentation
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2016-03-28 10:46:26 -05:00
Ian Cordasco
40f1a1e337 Merge branch 'bug/122' into 'master'
Correct usage config_file StyleGuide parameter

Previously, we passed the location for our user config file to the
StyleGuide. This was intended to be a way to tell pep8's StyleGuide
to use that as a user config file, but instead that became the default
for the --config command-line option. This caused that to have higher
priority than the project configuration file.

Closes #122

See merge request !53
2016-03-28 15:22:01 +00:00
Chris Meyers
9e2e419875 pyflakes ImportStarUsage => flake8 405 patch 2016-03-02 09:37:41 -05:00
Felix Yan
d9358bb082 Allow pyflakes 1.1 2016-03-02 03:56:34 +00:00
Ian Cordasco
62a7cca512 Remove python 3.2 from Travis
Remove special case for Python 2.6 mock test dependency
2016-02-24 16:41:38 -06:00
Ian Cordasco
533d222f52 Correct usage config_file StyleGuide parameter
Previously, we passed the location for our user config file to the
StyleGuide. This was intended to be a way to tell pep8's StyleGuide
to use that as a user config file, but instead that became the default
for the --config command-line option. This caused that to have higher
priority than the project configuration file.

Closes #122
2016-02-17 20:57:24 -06:00
Ian Cordasco
b25ad979a6 Merge branch 'bug/121' into 'master'
Update setuptools command option normalization

We were very naively "normalizing" options parsed and provided by
setuptools. This updates our handling to store the Option instance
from optparse so we can inspect the type, action, and option name for
more intelligent option normalization.

Closes #121

See merge request !52
2016-02-16 15:12:57 +00:00
Ian Cordasco
a8aac56092 Update setuptools command option normalization
We were very naively "normalizing" options parsed and provided by
setuptools. This updates our handling to store the Option instance
from optparse so we can inspect the type, action, and option name for
more intelligent option normalization.

Closes #121
2016-02-14 13:41:33 -06:00
Ian Cordasco
e2d6f33151 Fix AttributeError referring to enabled_extensions
Release v2.5.4
2016-02-11 11:53:44 -06:00
Ian Cordasco
1845ec33ec Bump version for 2.5.3 and update changes 2016-02-11 11:20:49 -06:00
Ian Cordasco
7d40f525f0 Definitely fix bug reading options from config files
Previously we were not reading output_file or enable_extensions from
user provided configuration files. The configuration option name
provided to config_options needs to be hyphenated in order for pep8 to
recognize and parse out the option correctly. Also, the destination name
needs to match the configuration option name that pep8 looks for
otherwise it will raise an unhandled KeyError exception.
2016-02-11 09:41:14 -06:00
Ian Cordasco
388db0d811 Bump version to 2.5.2
Record changes

Bump cap on mccabe
2016-01-30 08:51:42 -06:00
Ian Cordasco
3bbb337810 Add output_file and enable_extensions to config opts 2016-01-30 08:51:42 -06:00
Ian Cordasco
606f41c074 Merge branch 'fix-tests' into 'master'
On Python 2.6 TestCase.assertRaises is not a context manager



See merge request !51
2015-12-30 21:14:49 +00:00
Ian Cordasco
ebcf3493ec On Python 2.6 TestCase.assertRaises is not a context manager 2015-12-30 15:09:37 -06:00
Ian Cordasco
0f5961bf08 Merge branch 'doctest_inc_exc' into 'master'
Adding include in and exclude from doctests



Signed-off-by: Jason Myers <jason@jasonamyers.com>

See merge request !50
2015-12-30 19:55:08 +00:00
Jason Myers
c9309cb87c Adding include in and exclude from doctests
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2015-12-30 13:14:08 -06:00
Ian Cordasco
bfe978992a Merge branch 'docs_off_by_default' into 'master'
Adding docs for off by default

This adds documentation for the off_by_default option for extensions,
which was added in MR !14. Fixes #24.

Signed-off-by: Jason Myers <jason@jasonamyers.com>

See merge request !48
2015-12-20 17:54:22 +00:00
Jason Myers
b0a6bada5c Switching to --enable-extensions instead of --select
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2015-12-20 11:23:41 -06:00
Jason Myers
a08a65b982 Adding docs for off by default
This adds documentation for the off_by_default option for extensions,
which was added in MR !14.

Signed-off-by: Jason Myers <jason@jasonamyers.com>
2015-12-19 15:48:32 -06:00
Ian Cordasco
b50c510970 Merge branch 'pr/47' 2015-12-17 08:38:05 -06:00
Ian Cordasco
fa1105aaac Isolate the commands that raise OSError
Right now, running the git and hg commands could easily raise an
OSError. Let's only catch it in those cases and then use else to
install hooks when those are successful. Otherwise, pass on to the next
supported VCS
2015-12-17 08:35:50 -06:00
adammhaile
4da31aa521 Fix checking for repo dir without git/hg 2015-12-16 22:40:57 -05:00
Ian Cordasco
8b27711400 Correct release date for 2.5.1
Closes #108
2015-12-14 13:13:38 -06:00
Ian Cordasco
2ed54042cf Merge branch 'master' into 'master'
Add a FAQ section to the readme

It seems like these two questions happen a lot, and are a source of strife.  I know that many people won't read an FAQ, but at the very least, it will be a place to point people instead of, "Google for information."

See merge request !46
2015-12-11 14:17:53 +00:00
Ned Batchelder
17e397fb2c Add a FAQ section to the readme 2015-12-11 08:14:21 -05:00
Ian Cordasco
acea4affaa Merge branch 'docs/per_project_config_list' into 'master'
Fix per-project configuration file list



See merge request !45
2015-12-09 14:09:01 +00:00
Andrew Widdersheim
828c69ea27 Fix per-project configuration file list 2015-12-09 08:54:51 -05:00
Ian Cordasco
4fb7d6a9a7 Bump version for v2.5.1 2015-12-07 22:56:23 -06:00