diff --git a/yamlfixer/problemfixer.py b/yamlfixer/problemfixer.py index 49abb42..5f32ec1 100755 --- a/yamlfixer/problemfixer.py +++ b/yamlfixer/problemfixer.py @@ -88,12 +88,6 @@ def _get_indentation(self, offset=0): def fix_missing_docstart(self, left, right): # pylint: disable=unused-argument """Fix: - missing document start - """ # noqa: D205, D208, D400 - self.ffixer.lines.insert(0, '---') - self.ffixer.loffset += 1 - - def fix_expected_docstart(self, left, right): # pylint: disable=unused-argument - """Fix: - syntax error: expected '', but found '' (syntax) """ # noqa: D205, D208, D400 self.ffixer.lines.insert(self.linenum, '---')