1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-08 18:02:05 +03:00

apply upgraded black 21.4b2 formatting to fbsource

Summary:
This applies the formatting changes from black v21.4b2 to all covered
projects in fbsource. Most changes are to single line docstrings, as black
will now remove leading and trailing whitespace to match PEP8. Any other
formatting changes are likely due to files that landed without formatting,
or files that previously triggered errors in black.

Any changes to code should be AST identical. Any test failures are likely
due to bad tests, or testing against the output of pyfmt.

Reviewed By: thatch

Differential Revision: D28204910

fbshipit-source-id: 804725bcd14f763e90c5ddff1d0418117c15809a
This commit is contained in:
John Reese
2021-05-04 22:13:57 -07:00
committed by Facebook GitHub Bot
parent dd66ea563f
commit 7221495483
6 changed files with 10 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ class SubCmd(object):
HELP = None
def run(self, args):
""" perform the command """
"""perform the command"""
return 0
def setup_parser(self, parser):
@@ -24,7 +24,7 @@ CmdTable = []
def add_subcommands(parser, common_args, cmd_table=CmdTable):
""" Register parsers for the defined commands with the provided parser """
"""Register parsers for the defined commands with the provided parser"""
for cls in cmd_table:
command = cls()
command_parser = parser.add_parser(