summaryrefslogtreecommitdiff
path: root/src/flake8/api
Commit message (Collapse)AuthorAgeFilesLines
* Reset Application.formatter attribute in init_reportIan Cordasco2016-07-301-0/+1
| | | | | | | For our Legacy API users, StyleGuide.init_report should reset the formatter attribute before calling Application.make_formatter(). Closes #200
* Add a bunch more legacy API testsIan Cordasco2016-07-191-2/+3
|
* Use raw strings for docstringIan Cordasco2016-07-141-1/+1
|
* Document Legacy APIIan Cordasco2016-07-141-1/+13
|
* Fix up docstrings and __all__ in api.legacyIan Cordasco2016-07-141-2/+17
| | | | | | If users do `from flake8.api.legacy import *` we only want them to get get_style_guide imported. The other classes are not meant to be created by users.
* Run the individual methods in Application#initializeIan Cordasco2016-07-141-1/+10
| | | | | | | | | | | | We need to initialize part of the Application so we can set options passed by the user, but we also want to delay making things, e.g., - Formatter - Style Guide - etc. Until we have the options solidified so we don't have to do annoying things.
* Use statistics in the legacy report classIan Cordasco2016-07-121-1/+6
|
* Handle kwargs passed to get_style_guidebackwards-compat-apiIan Cordasco2016-07-071-0/+10
|
* Fill in most of the legacy APIIan Cordasco2016-07-073-52/+142
| | | | | This does not handle setting custom options via the parameters to get_style_guide.
* Add the skeleton for the LegacyStyleGuideIan Cordasco2016-06-301-0/+47
|
* Move flake8 into srcIan Cordasco2016-06-251-0/+10
This is an emerging best practice and there is little reason to not follow it