Commit graph

129 commits

Author SHA1 Message Date
Ian Cordasco
7828b63002 Finish developer documentation around formatter plugins 2016-02-06 15:18:41 -06:00
Ian Cordasco
fe1b628c0f Add documentation around plugins and formatters 2016-02-06 14:36:44 -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
35bb32d94e Start working on default formatters for Flake8 2016-02-06 13:52:32 -06:00
Ian Cordasco
5870d136ed Represent an error with a namedtuple 2016-02-06 13:51:35 -06:00
Ian Cordasco
276f823de6 Add type annotations to flake8.utils for fun 2016-02-06 09:32:38 -06:00
Ian Cordasco
a4e051614f Document flake8.utils 2016-02-03 23:11:45 -06:00
Ian Cordasco
253211f5ad Add caching stdin_get_value function 2016-02-03 22:30:03 -06:00
Ian Cordasco
1543ff8bab Add some logging to the style guide 2016-02-03 22:04:08 -06:00
Ian Cordasco
691bdc97ea Add option to disable # noqa
Sometimes it is nice to be able to ignore what someone has used #noqa
on and see what the results would be. This can also be specified in a
config file to prevent people from using # noqa in a code base.
2016-02-03 21:11:27 -06:00
Ian Cordasco
eafc91ae6a Add handling and decision making for select and ignore 2016-02-02 20:48:26 -06:00
Ian Cordasco
0645ec3ef7 Move __contains__ and __getitem__ to proper class 2016-02-02 16:53:24 -06:00
Ian Cordasco
91327c75e0 Start work on our StyleGuide implementation 2016-02-01 20:55:57 -06:00
Ian Cordasco
4dc1cc386d Add documentation around plugin notifications and pyflakes 2016-02-01 20:33:18 -06:00
Ian Cordasco
5dc7440a2b Start documenting our Trie implementation 2016-02-01 20:09:15 -06:00
Ian Cordasco
51d11d1a30 Note inspiration 2016-02-01 00:00:29 -06:00
Ian Cordasco
f4f68b6442 Document our plugin handling 2016-01-31 23:59:53 -06:00
Ian Cordasco
4cf48b9b77 Add documentation about option aggregation
Add logging around default ignore lists
2016-01-27 21:32:40 -06:00
Ian Cordasco
f59152cc01 Start documenting configuration parsing 2016-01-26 08:40:56 -06:00
Ian Cordasco
938d2c450a Switch to the RTD theme 2016-01-26 08:40:45 -06:00
Ian Cordasco
7898b5c12e Add documentation around Option Management 2016-01-25 22:06:14 -06:00
Ian Cordasco
6590fab3f2 Move docs directories into docs/source 2016-01-25 21:15:04 -06:00
Ian Cordasco
f2ca91372a Start structuring documentation 2016-01-25 20:40:33 -06:00
Ian Cordasco
17a7826dc7 Add integration tests for aggregate_options 2016-01-24 22:14:36 -06:00
Ian Cordasco
2cba89c568 Log extended default values and add a test 2016-01-24 22:14:21 -06:00
Ian Cordasco
a66f43bc39 Extend the default ignore list with plugins' defaults 2016-01-24 22:13:57 -06:00
Ian Cordasco
51bfc6a5b1 Pass arglist to first parse_args call for testing 2016-01-24 22:13:21 -06:00
Ian Cordasco
3a490971b2 Add --config option flag 2016-01-24 22:13:06 -06:00
Ian Cordasco
551bce11a3 Add extend_default_ignore list to OptionManager 2016-01-24 15:19:44 -06:00
Ian Cordasco
5037fab132 Update design document 2016-01-24 15:16:18 -06:00
Ian Cordasco
ebdc935ffc Refactor NotifierBuilder into its own mixin
This allows for easier unit testing
2016-01-24 15:13:58 -06:00
Ian Cordasco
b0a258fe79 Refactor our PluginTypeManager tests
Add tests for PluginTypeManager#{register,provide}_optoins
2016-01-23 23:02:06 -06:00
Ian Cordasco
04556f1a1b Build a Notifier instead of a Trie 2016-01-23 23:01:30 -06:00
Ian Cordasco
6e8e2b9669 Write more PluginTypeManager tests 2016-01-22 09:06:24 -06:00
Ian Cordasco
3b64ff2a1f Make Plugin.load_plugin raise a Flake8 exception
Let's catch exceptions, log them, and re-raise as a FailedToLoad
exception. This also refactors the actually loading of plugins into a
private method on the Plugin class.
2016-01-22 09:04:52 -06:00
Ian Cordasco
6546cf41d4 Add tests for the PluginTypeManager 2016-01-21 22:15:38 -06:00
Ian Cordasco
64edc55061 Add method to build Tries from Notifiers 2016-01-21 22:15:17 -06:00
Ian Cordasco
c67735792b Add documentation to PluginManager.map 2016-01-21 08:32:46 -06:00
Ian Cordasco
916bec859c Finish testing PluginManager 2016-01-21 08:32:35 -06:00
Ian Cordasco
50e8fef125 Add more PluginManager tests 2016-01-21 08:26:05 -06:00
Ian Cordasco
6a72e36681 Start tests for PluginManager 2016-01-19 23:01:07 -06:00
Ian Cordasco
56a75cc391 Add tests for the Plugin class 2016-01-19 22:57:04 -06:00
Ian Cordasco
5a1e6943d8 Stop calling split on a list
--exclude-from-doctests is also parsed by flake8 for us
2016-01-19 07:46:41 -06:00
Ian Cordasco
15d7f7679c Builtins will not be parsed by flake8 for us 2016-01-19 07:45:43 -06:00
Ian Cordasco
83dd81a445 Add missing docstrings to plugin submodule 2016-01-19 07:45:25 -06:00
Ian Cordasco
11be73dbbb Note that we need at least Sphinx 1.3
Exclude sphinx conf.py from flake8
2016-01-19 07:27:39 -06:00
Ian Cordasco
e66fc2efa8 Start creating documentation 2016-01-19 07:19:16 -06:00
Ian Cordasco
4e294af81c Update fixture README with descriptions 2016-01-19 06:43:47 -06:00
Ian Cordasco
dcf696d678 Add tests around new OptionManager methods 2016-01-17 21:45:32 -06:00
Ian Cordasco
d6dbf797bc Add forgotten config file fixtures 2016-01-17 13:08:52 -06:00