mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 12:36:54 +00:00
upgrade black and run via pre-commit
This commit is contained in:
parent
e8afdffc8a
commit
f0e1324d6d
4 changed files with 13 additions and 14 deletions
|
|
@ -41,7 +41,8 @@ def get_style_guide(**kwargs):
|
|||
application.find_plugins(config_finder)
|
||||
application.register_plugin_options()
|
||||
application.parse_configuration_and_cli(
|
||||
config_finder, remaining_args,
|
||||
config_finder,
|
||||
remaining_args,
|
||||
)
|
||||
# We basically want application.initialize to be called but with these
|
||||
# options set instead before we make our formatter, notifier, internal
|
||||
|
|
|
|||
|
|
@ -180,7 +180,9 @@ class Application(object):
|
|||
Command-line arguments passed in directly.
|
||||
"""
|
||||
self.options, self.args = aggregator.aggregate_options(
|
||||
self.option_manager, config_finder, argv,
|
||||
self.option_manager,
|
||||
config_finder,
|
||||
argv,
|
||||
)
|
||||
|
||||
self.running_against_diff = self.options.diff
|
||||
|
|
@ -328,7 +330,8 @@ class Application(object):
|
|||
self.find_plugins(config_finder)
|
||||
self.register_plugin_options()
|
||||
self.parse_configuration_and_cli(
|
||||
config_finder, remaining_args,
|
||||
config_finder,
|
||||
remaining_args,
|
||||
)
|
||||
self.make_formatter()
|
||||
self.make_guide()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue