Skip to content

Commit b0488b6

Browse files
committed
fixed black errors
1 parent a519c88 commit b0488b6

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

readthedocs/doc_builder/backends/mkdocs.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ def get_absolute_static_url():
3434

3535

3636
class BaseMkdocs(BaseBuilder):
37-
3837
"""Mkdocs builder."""
3938

4039
# The default theme for mkdocs is the 'mkdocs' theme
@@ -84,9 +83,8 @@ def show_conf(self):
8483
if not os.path.exists(self.yaml_file):
8584
raise MkDocsYAMLParseError(
8685
message_id=MkDocsYAMLParseError.NOT_FOUND,
87-
8886
)
89-
87+
9088
self.run(
9189
"cat",
9290
os.path.relpath(self.yaml_file, self.project_path),
@@ -129,7 +127,6 @@ def __eq__(self, other):
129127

130128

131129
class SafeLoader(yaml.SafeLoader): # pylint: disable=too-many-ancestors
132-
133130
"""
134131
Safe YAML loader.
135132
@@ -148,7 +145,6 @@ def construct_python_name(self, suffix, node): # pylint: disable=unused-argumen
148145

149146

150147
class SafeDumper(yaml.SafeDumper):
151-
152148
"""
153149
Safe YAML dumper.
154150

readthedocs/rtd_tests/tests/test_doc_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def test_project_without_mkdocs_yaml(
149149
_,
150150
docs_dir,
151151
):
152-
"""
152+
"""
153153
Test for a project without ``mkdocs.yaml`` file.
154154
155155
When this happen, the ``get_mkdocs_yaml_path`` raises a

0 commit comments

Comments
 (0)