mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-11 23:34:17 +00:00
application: Make 'parse_configuration_and_cli' parameter required
The remaining CLI arguments is now always provided as an argument this method.
This commit is contained in:
parent
b5157e194d
commit
f8960020d0
1 changed files with 2 additions and 2 deletions
|
|
@ -189,8 +189,8 @@ class Application(object):
|
||||||
self.check_plugins.register_plugin_versions(self.option_manager)
|
self.check_plugins.register_plugin_versions(self.option_manager)
|
||||||
self.formatting_plugins.register_options(self.option_manager)
|
self.formatting_plugins.register_options(self.option_manager)
|
||||||
|
|
||||||
def parse_configuration_and_cli(self, argv=None):
|
def parse_configuration_and_cli(self, argv):
|
||||||
# type: (Optional[List[str]]) -> None
|
# type: (List[str]) -> None
|
||||||
"""Parse configuration files and the CLI options.
|
"""Parse configuration files and the CLI options.
|
||||||
|
|
||||||
:param list argv:
|
:param list argv:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue