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:
committed by
Facebook GitHub Bot
parent
dd66ea563f
commit
7221495483
@@ -690,7 +690,7 @@ class ArchiveFetcher(Fetcher):
|
||||
)
|
||||
|
||||
def _download_dir(self):
|
||||
""" returns the download dir, creating it if it doesn't already exist """
|
||||
"""returns the download dir, creating it if it doesn't already exist"""
|
||||
download_dir = os.path.dirname(self.file_name)
|
||||
if not os.path.exists(download_dir):
|
||||
os.makedirs(download_dir)
|
||||
|
Reference in New Issue
Block a user