Skip to content

Commit

Permalink
Code review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
c0llab0rat0r authored and ntninja committed May 30, 2021
1 parent 8e44054 commit d7bc474
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
12 changes: 4 additions & 8 deletions docs/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,10 @@ def publish(
ipns_key: ty.Optional[str]) -> int:
# Invoke Sphinx like the Makefile does
result = sphinx.cmd.build.build_main([
"-b",
"html",
"-d",
"build/doctrees",
".",
"build/html",
"-W",
"--keep-going"
"-b", "html",
"-d", "build/doctrees",
".", "build/html",
"-W", "--keep-going"
])

if result != 0:
Expand Down
4 changes: 2 additions & 2 deletions ipfshttpclient/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ def __fspath__(self) -> AnyStr:
json_primitive_t = ty.Union[bool, float, int, str]


# noinspection PyPep8Naming
# noqa: N802
class json_list_t(ty.List["json_value_t"]):
pass


# noinspection PyPep8Naming
# noqa: N802
class json_dict_t(ty.Dict[str, "json_value_t"]):
pass

Expand Down

0 comments on commit d7bc474

Please sign in to comment.