diff --git a/CHANGELOG b/CHANGELOG
index a35ce68..4cecbd3 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -6,6 +6,10 @@
 ### Added
 - Look at the 'pyproject.toml' file to see if it contains ignore file information
   for YAPF.
+### Fixed
+- Enable `BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF` knob for "pep8" style, so
+  method definitions inside a class are surrounded by a single blank line as
+  prescribed by PEP8.
 
 ## [0.31.0] 2021-03-14
 ### Added
diff --git a/yapf/yapflib/style.py b/yapf/yapflib/style.py
index 3d27109..a1e6940 100644
--- a/yapf/yapflib/style.py
+++ b/yapf/yapflib/style.py
@@ -418,7 +418,7 @@ def CreatePEP8Style():
       ALLOW_SPLIT_BEFORE_DEFAULT_OR_NAMED_ASSIGNS=True,
       ALLOW_SPLIT_BEFORE_DICT_VALUE=True,
       ARITHMETIC_PRECEDENCE_INDICATION=False,
-      BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF=False,
+      BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF=True,
       BLANK_LINE_BEFORE_CLASS_DOCSTRING=False,
       BLANK_LINE_BEFORE_MODULE_DOCSTRING=False,
       BLANK_LINES_AROUND_TOP_LEVEL_DEFINITION=2,
@@ -479,7 +479,6 @@ def CreateGoogleStyle():
   """Create the Google formatting style."""
   style = CreatePEP8Style()
   style['ALIGN_CLOSING_BRACKET_WITH_VISUAL_INDENT'] = False
-  style['BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF'] = True
   style['COLUMN_LIMIT'] = 80
   style['INDENT_DICTIONARY_VALUE'] = True
   style['INDENT_WIDTH'] = 4
@@ -511,6 +510,7 @@ def CreateFacebookStyle():
   """Create the Facebook formatting style."""
   style = CreatePEP8Style()
   style['ALIGN_CLOSING_BRACKET_WITH_VISUAL_INDENT'] = False
+  style['BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF'] = False
   style['COLUMN_LIMIT'] = 80
   style['DEDENT_CLOSING_BRACKETS'] = True
   style['INDENT_CLOSING_BRACKETS'] = False

diff --git a/yapftests/reformatter_basic_test.py b/yapftests/reformatter_basic_test.py
index a67e4c4..8dce567 100644
--- a/yapftests/reformatter_basic_test.py
+++ b/yapftests/reformatter_basic_test.py
@@ -1982,6 +1982,7 @@ class A(object):
   def testStableDictionaryFormatting(self):
     code = textwrap.dedent("""\
         class A(object):
+
           def method(self):
             filters = {
                 'expressions': [{
diff --git a/yapftests/reformatter_pep8_test.py b/yapftests/reformatter_pep8_test.py
index a5301f1..e1202c2 100644
--- a/yapftests/reformatter_pep8_test.py
+++ b/yapftests/reformatter_pep8_test.py
@@ -50,22 +50,22 @@ class TestsForPEP8Style(yapf_test_helper.YAPFTest):
     uwlines = yapf_test_helper.ParseAndUnwrap(code)
     self.assertCodeEqual(code, reformatter.Reformat(uwlines))
 
-  def testNoBlankBetweenClassAndDef(self):
+  def testBlankBetweenClassAndDef(self):
     unformatted_code = textwrap.dedent("""\
         class Foo:
-
           def joe():
             pass
         """)
     expected_formatted_code = textwrap.dedent("""\
         class Foo:
+
             def joe():
                 pass
         """)
     uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
     self.assertCodeEqual(expected_formatted_code, reformatter.Reformat(uwlines))
 
-  def testNoBlankBetweenDefsInClass(self):
+  def testBlankBetweenDefsInClass(self):
     unformatted_code = textwrap.dedent('''\
         class TestClass:
             def __init__(self):
@@ -77,6 +77,7 @@ class TestsForPEP8Style(yapf_test_helper.YAPFTest):
         ''')
     expected_formatted_code = textwrap.dedent('''\
         class TestClass:
+
             def __init__(self):
                 self.running = False
 
@@ -174,6 +175,7 @@ class TestsForPEP8Style(yapf_test_helper.YAPFTest):
         """)
     expected_formatted_code = textwrap.dedent("""\
         def f():
+
             def g():
                 while (xxxxxxxxxxxxxxxxxxxx(yyyyyyyyyyyyy[zzzzz]) == 'aaaaaaaaaaa'
                        and xxxxxxxxxxxxxxxxxxxx(
@@ -341,11 +343,13 @@ class TestsForPEP8Style(yapf_test_helper.YAPFTest):
   def testSplitAroundNamedAssigns(self):
     unformatted_code = textwrap.dedent("""\
         class a():
+
             def a(): return a(
              aaaaaaaaaa=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
         """)
     expected_formatted_code = textwrap.dedent("""\
         class a():
+
             def a():
                 return a(
                     aaaaaaaaaa=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
@@ -501,6 +505,7 @@ class Demo:
     """
     Demo docs
     """
+
     def foo(self):
         """
         foo docs
@@ -602,6 +607,7 @@ class _():
         """)
     expected_formatted_code = textwrap.dedent("""\
 class _():
+
     def __init__(
             self,
             title: Optional[str],
diff --git a/yapftests/reformatter_python3_test.py b/yapftests/reformatter_python3_test.py
index d06e406..ae55755 100644
--- a/yapftests/reformatter_python3_test.py
+++ b/yapftests/reformatter_python3_test.py
@@ -238,6 +238,7 @@ None.__ne__()
       return
     code = textwrap.dedent("""\
         async def outer():
+
             async def inner():
                 pass
         """)
@@ -365,6 +366,7 @@ class Foo:
 """
     expected_formatted_code = """\
 class Foo:
+
     def foo(self):
         foofoofoofoofoofoofoofoo('foofoofoofoofoo', {
             'foo': 'foo',
diff --git a/yapftests/yapf_test.py b/yapftests/yapf_test.py
index dc0d0a5..4e062cf 100644
--- a/yapftests/yapf_test.py
+++ b/yapftests/yapf_test.py
@@ -735,12 +735,14 @@ class CommandLineTest(unittest.TestCase):
   def testDisableButAdjustIndentations(self):
     unformatted_code = textwrap.dedent("""\
         class SplitPenaltyTest(unittest.TestCase):
+
           def testUnbreakable(self):
             self._CheckPenalties(tree, [
             ])  # yapf: disable
         """)
     expected_formatted_code = textwrap.dedent("""\
         class SplitPenaltyTest(unittest.TestCase):
+
             def testUnbreakable(self):
                 self._CheckPenalties(tree, [
                 ])  # yapf: disable

yapf 0.28.0 now removes blank line between class docstring and first function
Given this code:

```python
class Foo:
    """Cool class"""

    def bar(self):
        """Cool function"""
        pass
```

yapf 0.28.0 now removes the line after `"""Cool class"""`, which makes `pydocstyle` complain with:
> D204: 1 blank line required after class docstring

Yapf 0.27.0 keeps this blank line.
yapftests/reformatter_basic_test.py::BasicReformatterTest::testStableDictionaryFormatting yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testAlignClosingBracketWithVisualIndentation yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testBlankBetweenClassAndDef yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testBlankBetweenDefsInClass yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testNoBlankLinesOnlyForFirstNestedObject yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testParamListIndentationCollision1 yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testSplitAroundNamedAssigns yapftests/reformatter_python3_test.py::TestsForPython3Code::testAsyncFunctionsNested yapftests/reformatter_python3_test.py::TestsForPython3Code::testDictUnpacking yapftests/yapf_test.py::CommandLineTest::testDisableButAdjustIndentations
yapftests/reformatter_basic_test.py::BasicReformatterTest::testArgsAndKwargsFormatting yapftests/reformatter_basic_test.py::BasicReformatterTest::testBinaryOperators yapftests/reformatter_basic_test.py::BasicReformatterTest::testBlankLineBeforeClassDocstring yapftests/reformatter_basic_test.py::BasicReformatterTest::testBlankLineBeforeModuleDocstring yapftests/reformatter_basic_test.py::BasicReformatterTest::testBlankLinesAtEndOfFile yapftests/reformatter_basic_test.py::BasicReformatterTest::testBlankLinesBeforeDecorators yapftests/reformatter_basic_test.py::BasicReformatterTest::testBlankLinesBeforeFunctionsNotInColumnZero yapftests/reformatter_basic_test.py::BasicReformatterTest::testBlankLinesBetweenTopLevelImportsAndVariables yapftests/reformatter_basic_test.py::BasicReformatterTest::testClosingBracketIndent yapftests/reformatter_basic_test.py::BasicReformatterTest::testClosingBracketsInlinedInCall yapftests/reformatter_basic_test.py::BasicReformatterTest::testCoalesceBracketsOnDict yapftests/reformatter_basic_test.py::BasicReformatterTest::testCommentBeforeFuncDef yapftests/reformatter_basic_test.py::BasicReformatterTest::testCommentBetweenDecorators yapftests/reformatter_basic_test.py::BasicReformatterTest::testCommentColumnLimitOverflow yapftests/reformatter_basic_test.py::BasicReformatterTest::testComments yapftests/reformatter_basic_test.py::BasicReformatterTest::testCommentsInDataLiteral yapftests/reformatter_basic_test.py::BasicReformatterTest::testCommentsWithContinuationMarkers yapftests/reformatter_basic_test.py::BasicReformatterTest::testCommentsWithTrailingSpaces yapftests/reformatter_basic_test.py::BasicReformatterTest::testComprehensionForAndIf yapftests/reformatter_basic_test.py::BasicReformatterTest::testContiguousList yapftests/reformatter_basic_test.py::BasicReformatterTest::testContinuationIndent yapftests/reformatter_basic_test.py::BasicReformatterTest::testContinuationMarkerAfterStringWithContinuation yapftests/reformatter_basic_test.py::BasicReformatterTest::testContinuationMarkers yapftests/reformatter_basic_test.py::BasicReformatterTest::testContinuationSpaceRetention yapftests/reformatter_basic_test.py::BasicReformatterTest::testDedentClosingBracketsWithTypeAnnotationExceedingLineLength yapftests/reformatter_basic_test.py::BasicReformatterTest::testDictSetGenerator yapftests/reformatter_basic_test.py::BasicReformatterTest::testDictionaryElementsOnOneLine yapftests/reformatter_basic_test.py::BasicReformatterTest::testDictionaryMakerFormatting yapftests/reformatter_basic_test.py::BasicReformatterTest::testDictionaryOnOwnLine yapftests/reformatter_basic_test.py::BasicReformatterTest::testDictionaryValuesOnOwnLines yapftests/reformatter_basic_test.py::BasicReformatterTest::testDisableEndingCommaHeuristic yapftests/reformatter_basic_test.py::BasicReformatterTest::testDocstringAndMultilineComment yapftests/reformatter_basic_test.py::BasicReformatterTest::testDocstrings yapftests/reformatter_basic_test.py::BasicReformatterTest::testDontAddBlankLineAfterMultilineString yapftests/reformatter_basic_test.py::BasicReformatterTest::testDontSplitKeywordValueArguments yapftests/reformatter_basic_test.py::BasicReformatterTest::testEllipses yapftests/reformatter_basic_test.py::BasicReformatterTest::testEmptyContainers yapftests/reformatter_basic_test.py::BasicReformatterTest::testEndingComment yapftests/reformatter_basic_test.py::BasicReformatterTest::testEndingWhitespaceAfterSimpleStatement yapftests/reformatter_basic_test.py::BasicReformatterTest::testExcessCharacters yapftests/reformatter_basic_test.py::BasicReformatterTest::testExcessLineCountWithDefaultKeywords yapftests/reformatter_basic_test.py::BasicReformatterTest::testExpressionPenalties yapftests/reformatter_basic_test.py::BasicReformatterTest::testForceMultilineDict_False yapftests/reformatter_basic_test.py::BasicReformatterTest::testForceMultilineDict_True yapftests/reformatter_basic_test.py::BasicReformatterTest::testFormattingListComprehensions yapftests/reformatter_basic_test.py::BasicReformatterTest::testFunctionCallArguments yapftests/reformatter_basic_test.py::BasicReformatterTest::testFunctionCallContinuationLine yapftests/reformatter_basic_test.py::BasicReformatterTest::testFunctionCallInDict yapftests/reformatter_basic_test.py::BasicReformatterTest::testFunctionCallInNestedDict yapftests/reformatter_basic_test.py::BasicReformatterTest::testI18n yapftests/reformatter_basic_test.py::BasicReformatterTest::testI18nCommentsInDataLiteral yapftests/reformatter_basic_test.py::BasicReformatterTest::testI18nNonFormatting yapftests/reformatter_basic_test.py::BasicReformatterTest::testIfConditionalParens yapftests/reformatter_basic_test.py::BasicReformatterTest::testIfExpressionWithFunctionCall yapftests/reformatter_basic_test.py::BasicReformatterTest::testImportAsList yapftests/reformatter_basic_test.py::BasicReformatterTest::testIndentBlankLines yapftests/reformatter_basic_test.py::BasicReformatterTest::testIndentClosingBracketsInDict yapftests/reformatter_basic_test.py::BasicReformatterTest::testIndentClosingBracketsInFunctionCall yapftests/reformatter_basic_test.py::BasicReformatterTest::testIndentClosingBracketsInList yapftests/reformatter_basic_test.py::BasicReformatterTest::testIndentClosingBracketsInTuple yapftests/reformatter_basic_test.py::BasicReformatterTest::testIndentClosingBracketsWithTypeAnnotationExceedingLineLength yapftests/reformatter_basic_test.py::BasicReformatterTest::testLineDepthOfSingleLineStatement yapftests/reformatter_basic_test.py::BasicReformatterTest::testLineWrapInForExpression yapftests/reformatter_basic_test.py::BasicReformatterTest::testListComprehension yapftests/reformatter_basic_test.py::BasicReformatterTest::testListComprehensionPreferNoBreakForTrivialExpression yapftests/reformatter_basic_test.py::BasicReformatterTest::testListComprehensionPreferOneLine yapftests/reformatter_basic_test.py::BasicReformatterTest::testListComprehensionPreferOneLineOverArithmeticSplit yapftests/reformatter_basic_test.py::BasicReformatterTest::testListComprehensionPreferThreeLinesForLineWrap yapftests/reformatter_basic_test.py::BasicReformatterTest::testListWithFunctionCalls yapftests/reformatter_basic_test.py::BasicReformatterTest::testMatchingParenSplittingMatching yapftests/reformatter_basic_test.py::BasicReformatterTest::testMultilineComment yapftests/reformatter_basic_test.py::BasicReformatterTest::testMultilineCommentReformatted yapftests/reformatter_basic_test.py::BasicReformatterTest::testMultilineDictionaryKeys yapftests/reformatter_basic_test.py::BasicReformatterTest::testMultilineDocstringAndMultilineComment yapftests/reformatter_basic_test.py::BasicReformatterTest::testMultilineLambdas yapftests/reformatter_basic_test.py::BasicReformatterTest::testMultilineShebang yapftests/reformatter_basic_test.py::BasicReformatterTest::testMultilineString yapftests/reformatter_basic_test.py::BasicReformatterTest::testMultipleContinuationMarkers yapftests/reformatter_basic_test.py::BasicReformatterTest::testMultipleDictionariesInList yapftests/reformatter_basic_test.py::BasicReformatterTest::testMultipleUgliness yapftests/reformatter_basic_test.py::BasicReformatterTest::testNamedAssignNotAtEndOfLine yapftests/reformatter_basic_test.py::BasicReformatterTest::testNestedDictionary yapftests/reformatter_basic_test.py::BasicReformatterTest::testNestedListsInDictionary yapftests/reformatter_basic_test.py::BasicReformatterTest::testNoBreakOutsideOfBracket yapftests/reformatter_basic_test.py::BasicReformatterTest::testNoKeywordArgumentBreakage yapftests/reformatter_basic_test.py::BasicReformatterTest::testNoPenaltySplitting yapftests/reformatter_basic_test.py::BasicReformatterTest::testNoQueueSeletionInMiddleOfLine yapftests/reformatter_basic_test.py::BasicReformatterTest::testNoSpaceBetweenUnaryOpAndOpeningParen yapftests/reformatter_basic_test.py::BasicReformatterTest::testNoSpacesAroundKeywordDefaultValues yapftests/reformatter_basic_test.py::BasicReformatterTest::testNoSpacesBetweenOpeningBracketAndStartingOperator yapftests/reformatter_basic_test.py::BasicReformatterTest::testNoSpacesBetweenSubscriptsAndCalls yapftests/reformatter_basic_test.py::BasicReformatterTest::testNoSplittingAroundTermOperators yapftests/reformatter_basic_test.py::BasicReformatterTest::testNoSplittingBeforeEndingSubscriptBracket yapftests/reformatter_basic_test.py::BasicReformatterTest::testNoSplittingOnSingleArgument yapftests/reformatter_basic_test.py::BasicReformatterTest::testNoSplittingWhenBinPacking yapftests/reformatter_basic_test.py::BasicReformatterTest::testNoSplittingWithinSubscriptList yapftests/reformatter_basic_test.py::BasicReformatterTest::testNotInParams yapftests/reformatter_basic_test.py::BasicReformatterTest::testNotSplittingAfterSubscript yapftests/reformatter_basic_test.py::BasicReformatterTest::testOpeningAndClosingBrackets yapftests/reformatter_basic_test.py::BasicReformatterTest::testOverColumnLimit yapftests/reformatter_basic_test.py::BasicReformatterTest::testPseudoParens yapftests/reformatter_basic_test.py::BasicReformatterTest::testRelativeImportStatements yapftests/reformatter_basic_test.py::BasicReformatterTest::testRelaxArraySubscriptAffinity yapftests/reformatter_basic_test.py::BasicReformatterTest::testSimpleFunctionsWithTrailingComments yapftests/reformatter_basic_test.py::BasicReformatterTest::testSimpleMultilineCode yapftests/reformatter_basic_test.py::BasicReformatterTest::testSimpleMultilineWithComments yapftests/reformatter_basic_test.py::BasicReformatterTest::testSingleComment yapftests/reformatter_basic_test.py::BasicReformatterTest::testSingleLineFunctions yapftests/reformatter_basic_test.py::BasicReformatterTest::testSingleLineList yapftests/reformatter_basic_test.py::BasicReformatterTest::testSpaceAfterNotOperator yapftests/reformatter_basic_test.py::BasicReformatterTest::testSpaceBetweenStringAndParentheses yapftests/reformatter_basic_test.py::BasicReformatterTest::testSplitAfterComment yapftests/reformatter_basic_test.py::BasicReformatterTest::testSplitListWithComment yapftests/reformatter_basic_test.py::BasicReformatterTest::testSplitListWithInterspersedComments yapftests/reformatter_basic_test.py::BasicReformatterTest::testSplitListWithTerminatingComma yapftests/reformatter_basic_test.py::BasicReformatterTest::testSplitStringsIfSurroundedByParens yapftests/reformatter_basic_test.py::BasicReformatterTest::testSplittingAllArgs yapftests/reformatter_basic_test.py::BasicReformatterTest::testSplittingArgumentsTerminatedByComma yapftests/reformatter_basic_test.py::BasicReformatterTest::testSplittingArraysSensibly yapftests/reformatter_basic_test.py::BasicReformatterTest::testSplittingBeforeFirstArgumentOnCompoundStatement yapftests/reformatter_basic_test.py::BasicReformatterTest::testSplittingBeforeFirstArgumentOnFunctionCall yapftests/reformatter_basic_test.py::BasicReformatterTest::testSplittingBeforeFirstArgumentOnFunctionDefinition yapftests/reformatter_basic_test.py::BasicReformatterTest::testSplittingBeforeFirstElementListArgument yapftests/reformatter_basic_test.py::BasicReformatterTest::testSplittingOneArgumentList yapftests/reformatter_basic_test.py::BasicReformatterTest::testSplittingTopLevelAllArgs yapftests/reformatter_basic_test.py::BasicReformatterTest::testStableInlinedDictionaryFormatting yapftests/reformatter_basic_test.py::BasicReformatterTest::testSubscriptExpression yapftests/reformatter_basic_test.py::BasicReformatterTest::testTrailerOnSingleLine yapftests/reformatter_basic_test.py::BasicReformatterTest::testTrailingCommaAndBracket yapftests/reformatter_basic_test.py::BasicReformatterTest::testTupleCohesion yapftests/reformatter_basic_test.py::BasicReformatterTest::testTupleCommaBeforeLastParen yapftests/reformatter_basic_test.py::BasicReformatterTest::testUnaryNotOperator yapftests/reformatter_basic_test.py::BasicReformatterTest::testUnaryOpInDictionaryValue yapftests/reformatter_basic_test.py::BasicReformatterTest::testUnbreakableNot yapftests/reformatter_basic_test.py::BasicReformatterTest::testUnformattedAfterMultilineString yapftests/reformatter_basic_test.py::BasicReformatterTest::testWalrus yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testBitwiseOperandSplitting yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testContiguousListEndingWithComment yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testContinuedNonOutdentedLine yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testHangingIndentCollision yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testIndent4 yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testIndentSizeChanging yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testListSplitting yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testNoBlankLineBeforeNestedFuncOrClass yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testNoSplitBeforeDictValue yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testParamListIndentationCollision2 yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testParamListIndentationCollision3 yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testSingleLineIfStatements yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testSingleWhiteBeforeTrailingComment yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testSpaceBetweenColonAndElipses yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testSpaceBetweenEndingCommandAndClosingBracket yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testSplitBeforeArithmeticOperators yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testSplitListsAndDictSetMakersIfCommaTerminated yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testSplittingBeforeFirstArgument yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testSplittingBeforeLogicalOperator yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testSplittingExpressionsInsideSubscripts yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testStableInlinedDictionaryFormatting yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testTwoWordComparisonOperators yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testUnaryOperator yapftests/reformatter_pep8_test.py::TestsForPEP8Style::testWrappingPercentExpressions yapftests/reformatter_pep8_test.py::TestsForSpacesInsideBrackets::testAwait yapftests/reformatter_pep8_test.py::TestsForSpacesInsideBrackets::testDefault yapftests/reformatter_pep8_test.py::TestsForSpacesInsideBrackets::testEnabled yapftests/reformatter_pep8_test.py::TestsForSpacesAroundSubscriptColon::testDefault yapftests/reformatter_pep8_test.py::TestsForSpacesAroundSubscriptColon::testEnabled yapftests/reformatter_pep8_test.py::TestsForSpacesAroundSubscriptColon::testWithSpaceInsideBrackets yapftests/reformatter_python3_test.py::TestsForPython3Code::testAnnotations yapftests/reformatter_python3_test.py::TestsForPython3Code::testAsyncForElseNotIndentedInsideBody yapftests/reformatter_python3_test.py::TestsForPython3Code::testAsyncFunctions yapftests/reformatter_python3_test.py::TestsForPython3Code::testAsyncWithPrecedingComment yapftests/reformatter_python3_test.py::TestsForPython3Code::testContinuationIndentWithAsync yapftests/reformatter_python3_test.py::TestsForPython3Code::testEllipses yapftests/reformatter_python3_test.py::TestsForPython3Code::testExecAsNonKeyword yapftests/reformatter_python3_test.py::TestsForPython3Code::testForElseInAsyncNotMixedWithAsyncFor yapftests/reformatter_python3_test.py::TestsForPython3Code::testFunctionTypedReturnNextLine yapftests/reformatter_python3_test.py::TestsForPython3Code::testFunctionTypedReturnSameLine yapftests/reformatter_python3_test.py::TestsForPython3Code::testKeepTypesIntact yapftests/reformatter_python3_test.py::TestsForPython3Code::testKeywordOnlyArgSpecifier yapftests/reformatter_python3_test.py::TestsForPython3Code::testMatrixMultiplication yapftests/reformatter_python3_test.py::TestsForPython3Code::testMultilineFormatString yapftests/reformatter_python3_test.py::TestsForPython3Code::testNoSpacesAroundPowerOperator yapftests/reformatter_python3_test.py::TestsForPython3Code::testNoneKeyword yapftests/reformatter_python3_test.py::TestsForPython3Code::testPEP448ParameterExpansion yapftests/reformatter_python3_test.py::TestsForPython3Code::testParameterListIndentationConflicts yapftests/reformatter_python3_test.py::TestsForPython3Code::testSpacesAroundDefaultOrNamedAssign yapftests/reformatter_python3_test.py::TestsForPython3Code::testSplittingArguments yapftests/reformatter_python3_test.py::TestsForPython3Code::testTypeHint yapftests/reformatter_python3_test.py::TestsForPython3Code::testTypedNameWithLongNamedArg yapftests/reformatter_python3_test.py::TestsForPython3Code::testTypedNames yapftests/yapf_test.py::FormatCodeTest::testNoEndingNewline yapftests/yapf_test.py::FormatCodeTest::testPrintAfterPeriod yapftests/yapf_test.py::FormatCodeTest::testSimple yapftests/yapf_test.py::FormatFileTest::testCRLFLineEnding yapftests/yapf_test.py::FormatFileTest::testCommentsUnformatted yapftests/yapf_test.py::FormatFileTest::testDisableAndReenableLinesPattern yapftests/yapf_test.py::FormatFileTest::testDisableLinesPattern yapftests/yapf_test.py::FormatFileTest::testDisablePartOfMultilineComment yapftests/yapf_test.py::FormatFileTest::testDisabledHorizontalFormattingOnNewLine yapftests/yapf_test.py::FormatFileTest::testDisabledMultilineStringInDictionary yapftests/yapf_test.py::FormatFileTest::testDisabledSemiColonSeparatedStatements yapftests/yapf_test.py::FormatFileTest::testDisabledWithPrecedingText yapftests/yapf_test.py::FormatFileTest::testEnabledDisabledSameComment yapftests/yapf_test.py::FormatFileTest::testFormatFile yapftests/yapf_test.py::FormatFileTest::testFormatFileDiff yapftests/yapf_test.py::FormatFileTest::testFormatFileInPlace yapftests/yapf_test.py::FormatFileTest::testFormatFileLinesSelection yapftests/yapf_test.py::FormatFileTest::testNoFile yapftests/yapf_test.py::FormatFileTest::testSemicolonStatementsDisabled yapftests/yapf_test.py::FormatFileTest::testSplittingSemicolonStatements yapftests/yapf_test.py::CommandLineTest::testCP936Encoding yapftests/yapf_test.py::CommandLineTest::testCoalesceBrackets yapftests/yapf_test.py::CommandLineTest::testCommentFollowingMultilineString yapftests/yapf_test.py::CommandLineTest::testDedentClosingBracket yapftests/yapf_test.py::CommandLineTest::testDisableFormattingInDataLiteral yapftests/yapf_test.py::CommandLineTest::testDisableWhenSpecifyingLines yapftests/yapf_test.py::CommandLineTest::testDisableWholeDataStructure yapftests/yapf_test.py::CommandLineTest::testDisableWithLineRanges yapftests/yapf_test.py::CommandLineTest::testDisableWithLinesOption yapftests/yapf_test.py::CommandLineTest::testDisabledMultilineStrings yapftests/yapf_test.py::CommandLineTest::testEncodingVerification yapftests/yapf_test.py::CommandLineTest::testFormatLinesSpecifiedInMiddleOfExpression yapftests/yapf_test.py::CommandLineTest::testInPlaceReformatting yapftests/yapf_test.py::CommandLineTest::testInPlaceReformattingBlank yapftests/yapf_test.py::CommandLineTest::testInPlaceReformattingEmpty yapftests/yapf_test.py::CommandLineTest::testMultilineCommentFormattingDisabled yapftests/yapf_test.py::CommandLineTest::testNoSpacesAroundBinaryOperators yapftests/yapf_test.py::CommandLineTest::testOmitFormattingLinesBeforeDisabledFunctionComment yapftests/yapf_test.py::CommandLineTest::testPseudoParenSpaces yapftests/yapf_test.py::CommandLineTest::testReadFromStdin yapftests/yapf_test.py::CommandLineTest::testReadFromStdinWithEscapedStrings yapftests/yapf_test.py::CommandLineTest::testReadSingleLineCodeFromStdin yapftests/yapf_test.py::CommandLineTest::testReformattingSkippingLines yapftests/yapf_test.py::CommandLineTest::testReformattingSkippingSingleLine yapftests/yapf_test.py::CommandLineTest::testReformattingSkippingToEndOfFile yapftests/yapf_test.py::CommandLineTest::testReformattingSpecificLines yapftests/yapf_test.py::CommandLineTest::testRetainVerticalFormattingBetweenDisabledAndEnabledLines yapftests/yapf_test.py::CommandLineTest::testRetainVerticalFormattingBetweenDisabledLines yapftests/yapf_test.py::CommandLineTest::testRetainingHorizontalWhitespace yapftests/yapf_test.py::CommandLineTest::testRetainingSemicolonsWhenSpecifyingLines yapftests/yapf_test.py::CommandLineTest::testRetainingVerticalWhitespace yapftests/yapf_test.py::CommandLineTest::testSetCustomStyleBasedOnYapf yapftests/yapf_test.py::CommandLineTest::testSetCustomStyleSpacesBeforeComment yapftests/yapf_test.py::CommandLineTest::testSetYapfStyle yapftests/yapf_test.py::CommandLineTest::testSpacingBeforeComments yapftests/yapf_test.py::CommandLineTest::testSpacingBeforeCommentsInDicts yapftests/yapf_test.py::CommandLineTest::testStyleOutputRoundTrip yapftests/yapf_test.py::CommandLineTest::testTrailingCommentsWithDisabledFormatting yapftests/yapf_test.py::CommandLineTest::testUnicodeEncodingPipedToFile yapftests/yapf_test.py::CommandLineTest::testUseSpacesContinuationAlignStyleFixed yapftests/yapf_test.py::CommandLineTest::testUseSpacesContinuationAlignStyleVAlignRight yapftests/yapf_test.py::CommandLineTest::testUseTabs yapftests/yapf_test.py::CommandLineTest::testUseTabsContinuationAlignStyleFixed yapftests/yapf_test.py::CommandLineTest::testUseTabsContinuationAlignStyleVAlignRight yapftests/yapf_test.py::CommandLineTest::testUseTabsWith yapftests/yapf_test.py::CommandLineTest::testVerticalSpacingWithCommentWithContinuationMarkers yapftests/yapf_test.py::BadInputTest::testBadCode yapftests/yapf_test.py::BadInputTest::testBadSyntax yapftests/yapf_test.py::DiffIndentTest::testSimple yapftests/yapf_test.py::HorizontallyAlignedTrailingCommentsTest::testArgs yapftests/yapf_test.py::HorizontallyAlignedTrailingCommentsTest::testBlock yapftests/yapf_test.py::HorizontallyAlignedTrailingCommentsTest::testBlockCommentSuffix yapftests/yapf_test.py::HorizontallyAlignedTrailingCommentsTest::testBlockFuncSuffix yapftests/yapf_test.py::HorizontallyAlignedTrailingCommentsTest::testBlockIndentedCommentSuffix yapftests/yapf_test.py::HorizontallyAlignedTrailingCommentsTest::testBlockIndentedFuncSuffix yapftests/yapf_test.py::HorizontallyAlignedTrailingCommentsTest::testBlockMultiIndented yapftests/yapf_test.py::HorizontallyAlignedTrailingCommentsTest::testBlockWithLongLine yapftests/yapf_test.py::HorizontallyAlignedTrailingCommentsTest::testDisableBlock yapftests/yapf_test.py::HorizontallyAlignedTrailingCommentsTest::testDisabledLine yapftests/yapf_test.py::HorizontallyAlignedTrailingCommentsTest::testSimple yapftests/yapf_test.py::SpacesAroundDictTest::testStandard yapftests/yapf_test.py::SpacesAroundListTest::testStandard yapftests/yapf_test.py::SpacesAroundTupleTest::testStandard