upgrade black and run via pre-commit

This commit is contained in:
Anthony Sottile 2020-08-27 15:30:14 -07:00
parent e8afdffc8a
commit f0e1324d6d
4 changed files with 13 additions and 14 deletions

View file

@ -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

View file

@ -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()