mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-07 07:02:53 +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
@@ -235,7 +235,7 @@ class CachedProject(object):
|
||||
)
|
||||
|
||||
def is_cacheable(self):
|
||||
""" We only cache third party projects """
|
||||
"""We only cache third party projects"""
|
||||
return self.cache and self.m.shipit_project is None
|
||||
|
||||
def was_cached(self):
|
||||
|
Reference in New Issue
Block a user