Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Sep 7, 2023
1 parent 29563f5 commit 3bbb68b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions papyri/crosslink.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,7 @@ def relink(self) -> None:

rev_aliases = {Cannonical(v): FullQual(k) for k, v in aliases.items()}

print(
"Relinking is safe to cancel, but some back references may be broken...."
)
print("Relinking is safe to cancel, but some back references may be broken....")
print("Press Ctrl-C to abort...")

for _, key in self.progress(
Expand Down
4 changes: 3 additions & 1 deletion papyri/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
from typing import Any, Dict, FrozenSet, List, MutableMapping, Optional, Sequence, Tuple

import jedi

try:
import tomllib
except ModuleNotFoundError:
Expand Down Expand Up @@ -2090,7 +2091,8 @@ def collect_api_docs(self, root: str, limit_to: List[str]):
self.put_raw(name, data)
if error_collector._errors:
self.log.info(
"ERRORS:" + tomli_w.dumps(error_collector._errors).replace(",", ", \n")
"ERRORS:"
+ tomli_w.dumps(error_collector._errors).replace(",", ", \n")
)
if error_collector._expected_unseen:
self.log.info(
Expand Down

0 comments on commit 3bbb68b

Please sign in to comment.