Ian Cordasco
f353a5db90
Add a tiny bit to Usage Guide index
2016-05-18 23:05:09 -05:00
Ian Cordasco
28a97a8499
Add user guide index page
2016-05-18 22:28:44 -05:00
Ian Cordasco
25df2df55c
Add installation and quickstart to docs start page
2016-05-18 22:28:32 -05:00
Ian Cordasco
e1fe99a90b
Nest internal docs
2016-05-18 22:16:53 -05:00
Ian Cordasco
1d3b254814
Nest plugin development docs
2016-05-18 22:10:42 -05:00
Ian Cordasco
36bb148ad5
Add documentation for receiving parsed options
2016-05-17 20:19:02 -05:00
Ian Cordasco
9ada68118d
Finish writing about registering plugin options
2016-05-17 20:01:49 -05:00
Ian Cordasco
6b9b4a5aca
Add more information about providing information to plugins
2016-05-16 20:53:04 -05:00
Ian Cordasco
72833b629a
Start adding documentation about developing plugins
2016-05-16 20:15:14 -05:00
Ian Cordasco
c689781166
Update title
2016-05-16 15:58:59 -05:00
Ian Cordasco
99030223a4
Trim trailing whitespace
2016-05-16 08:17:51 -05:00
Ian Cordasco
89762b9dd1
Document flake8.checker and flake8.processor
2016-05-14 19:35:58 -05: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
d929dd57cb
Add a property for off-by-default plugins
...
If a plugin is off-by-default use its entry-point name (as we currently
do in flake8 2.x) to add it to the default ignore list.
2016-05-10 20:14:54 -05:00
Ian Cordasco
ccadc09a0e
Add documentation about how we handle pep8 as a plugin
2016-05-10 20:12:17 -05:00
Ian Cordasco
adaa47730e
Comment html_static_path in sphinx config
2016-05-10 17:26:11 -05:00
Ian Cordasco
c8ad626525
Trim unsupported environments
2016-05-10 17:09:44 -05:00
Ian Cordasco
dc919ba4af
Add more environments to Travis CI config
2016-05-10 17:09:31 -05:00
Ian Cordasco
559922dbbc
Update tests after last night's refactor
2016-05-10 16:37:45 -05:00
Ian Cordasco
f20d44565b
Ignore --help/-h until later as well
...
Explain why we remove --version, --help, and -h
2016-05-10 14:23:16 -05:00
Ian Cordasco
dd0c50dbce
Ensure we provide options to all plugins
2016-05-10 14:17:23 -05:00
Ian Cordasco
abdc957f17
Handle determining plugin versions and names
...
Since we now treat pep8 checks each as an individual plugin, we need a way to
represent pep8 as a single plugin in the version output (like we currently
do). As such we need to be a bit wiser in how we tell the OptionManager about
plugins and their versions and we only do this for certain plugins.
2016-05-10 14:11:47 -05:00
Ian Cordasco
44d994dab9
Print version information the second time we parse arguments
2016-05-10 14:10:03 -05:00
Ian Cordasco
c8a0b6f05e
Add bandit for security linting
2016-05-08 14:04:46 -05:00
Ian Cordasco
414922d08e
Add documentation around the cli
2016-05-08 14:02:40 -05:00
Ian Cordasco
a82f8cb580
Print the total number of errors before exiting
2016-05-07 20:13:07 -05:00
Ian Cordasco
3ad798db61
Implement --exit-zero functionality
2016-05-07 19:34:27 -05:00
Ian Cordasco
d8635bb92a
Simplify result handling
...
If we start collecting the results in run_parallel *immediately* after
starting the worker processes, we do not need another process to handle
the results. This also allows us to store all of the results on a the
FileChecker class and process results uniformly. This also means we can
count the number of errors and warnings in a run and use that to exit
appropriately (using SystemExit).
2016-05-07 19:28:54 -05:00
Ian Cordasco
e32476b671
Add test for the make_checkers method
2016-05-07 19:07:14 -05:00
Ian Cordasco
102037788d
Fix import ordering
2016-04-05 18:54:28 -05:00
Ian Cordasco
78b986d506
Refactor checker manager and add tests
2016-04-05 18:52:35 -05:00
Ian Cordasco
eb3d8f5791
Add unit tests around serial retries
2016-04-03 14:41:12 -05:00
Ian Cordasco
e3707bbe08
Fix multiprocessing work with retries
2016-04-02 14:02:43 -05:00
Ian Cordasco
09ad1d850e
Restructure Checker Manager for serial retries
2016-04-02 11:30:12 -05:00
Ian Cordasco
81eb3e41cc
Add more processor tests
2016-04-02 11:13:23 -05:00
Ian Cordasco
425f89eee9
Add more tests around the processor module
2016-03-29 08:07:15 -05:00
Ian Cordasco
4ea161ff9c
Add a few more unit tests around FileProcessor
2016-03-28 21:04:34 -05:00
Ian Cordasco
7de8a058dd
Add unit test for build_ast
2016-03-28 19:43:14 -05: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
Ian Cordasco
698af80514
Add test for FileProcessor#split_line
2016-03-27 14:32:21 -05:00
Ian Cordasco
82dd4f6d25
Add more FileProcessor tests
2016-03-26 08:51:58 -05:00
Ian Cordasco
c11d33d917
Log the attribute error for developers
2016-03-26 08:51:50 -05:00
Ian Cordasco
da172ec641
Print pytest warnings immediately
2016-03-26 08:51:32 -05:00
Ian Cordasco
5554ef78cf
Silence pytest warnings
2016-03-26 08:51:21 -05:00
Ian Cordasco
a4cc9d6fa8
Add test for reading from stdin with the file processor
2016-03-21 10:23:27 -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
0fd276d5ee
Add a test for FileProcessor.should_ignore_file
2016-03-17 15:16:15 -05:00