Ian Cordasco
09bc9e2720
Add test for custom arguments to add_option
2016-01-09 15:22:22 -06:00
Ian Cordasco
5a6656d78d
Test parse_from_config behaviour of Options
2016-01-09 15:22:03 -06:00
Ian Cordasco
a7ce4f00ec
Start testing the OptionManager
2016-01-09 13:53:59 -06:00
Ian Cordasco
7361603d7a
Flesh out OptionManager#parse_args
2016-01-09 12:56:16 -06:00
Ian Cordasco
3a8f99b458
Add mock to list of test dependencies
2016-01-09 12:56:03 -06:00
Ian Cordasco
19e5ea767d
Add the options submodule to the package
2016-01-09 12:55:43 -06:00
Ian Cordasco
1e9878611a
Move unit tests into tests/unit
2016-01-09 12:55:31 -06:00
Ian Cordasco
93369e112f
Add empty module to start testing options submodule
2016-01-09 12:40:26 -06:00
Ian Cordasco
67aff6d2ec
Updates to config/options aggregation
...
- Adds another flag to the Option class
- Adds normalization to the config parsing
- Removes dead code from _parse_config
- Handles user specifying --append-config, --config, and --isolated
but does not handle their mutual exclusion
2016-01-07 09:37:37 -06:00
Ian Cordasco
07a29e45db
Split flake8.option_parser into submodule
2016-01-04 23:24:11 -06:00
Ian Cordasco
7ec5a2ada3
Sketch out config parsing and option managing
2016-01-04 19:34:53 -06:00
Ian Cordasco
a6d790cc10
Start adding logging for --verbose
2016-01-04 19:34:10 -06:00
Ian Cordasco
f539464368
Start working on our option handling story
2015-12-30 17:26:28 -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
37b92cd4b4
Fix logic for Notifier.listeners_for
...
Add tests for proper logic around notifier
2015-12-29 23:28:20 -06:00
Ian Cordasco
222be9ac49
Start adding tests for Notifier class
2015-12-29 23:04:36 -06:00
Ian Cordasco
d1d1d60032
Add tests for the _trie module
2015-12-29 22:49:05 -06:00
Ian Cordasco
d3a9f7d58c
Add docstrings to Notifier class
2015-12-29 08:12:54 -06:00
Ian Cordasco
57e8583e29
Add tree/sub-tree traversal to Trie
...
Accurately retrieve listeners for a specific error code
2015-12-29 08:07:47 -06:00
Ian Cordasco
75f15340ac
Remove toy file from git
2015-12-29 08:00:37 -06:00
Ian Cordasco
7b2a1c157b
Bare bones of a notification system
2015-12-28 23:32:42 -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
f013698072
Update with extra info about plugins
2015-12-18 13:49:59 -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
ae1ad0e2bf
Add design note that has been roaming my brain
2015-12-08 15:41:49 -06:00
Ian Cordasco
4fb7d6a9a7
Bump version for v2.5.1
2015-12-07 22:56:23 -06:00
Ian Cordasco
d288843fb7
Merge branch 'bug/107'
2015-12-07 22:55:08 -06:00
Ian Cordasco
5021da880c
Update stdin_get_value monkey-patching
...
Let's use an enclosed function to replace the stdin_get_value function
on pep8.
Closes #107
2015-12-07 22:50:39 -06:00
Ian Cordasco
00dfe8698b
Wrap up design goals
2015-12-06 15:11:23 -06:00
Ian Cordasco
eb29f11738
Flesh out some portions of the design goals
2015-12-06 13:36:01 -06:00
Ian Cordasco
2d72fc23c8
Add skeleton of DESIGN documentation
2015-12-06 12:23:45 -06:00
Ian Cordasco
d5e3987a9c
Merge branch 'pep8-stdin-fix' into 'master'
...
Cache stdin for Flake8 plugins
Currently plugins (e.g., flake8-docstrings) are struggling to support
users passing data in on stdin (e.g., cat file.py | flake8 -). Until
pep8 fixes this itself, we can monkey-patch its `stdin_get_value`
function to handle the caching for us.
Closes #105
See merge request !44
2015-12-04 23:54:29 +00:00
Ian Cordasco
41393c9b6d
Cache stdin for Flake8 plugins
...
Currently plugins (e.g., flake8-docstrings) are struggling to support
users passing data in on stdin (e.g., cat file.py | flake8 -). Until
pep8 fixes this itself, we can monkey-patch its `stdin_get_value`
function to handle the caching for us.
Closes #105
2015-12-04 00:13:28 -06:00
Ian Cordasco
54a81c0595
Merge branch 'bug/103' into 'master'
...
Add .flake8 to PROJECT_CONFIG for local config files
Closes #103
See merge request !43
2015-11-25 02:57:45 +00:00
Ian Cordasco
17553e6192
Add .flake8 to PROJECT_CONFIG for local config files
2015-11-23 10:20:42 -06:00
Ian Cordasco
75ad81eb13
Update twine dependency and usage
2015-10-27 11:29:52 -05:00
Ian Cordasco
3e7d5b952d
Merge branch 'release/2.5.0' into 'master'
...
Release 2.5.0
See merge request !42
2015-10-26 01:20:16 +00:00
Ian Cordasco
99bc94edaa
Release notes and version bump for v2.5.0
2015-10-24 20:11:15 -05:00