Skip to content

Commit ce704ec

Browse files
committed
Fix code style
1 parent e964556 commit ce704ec

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

prospector/run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ def execute(self) -> None:
113113
loc = Location(self.config.workdir, None, None, None, None)
114114
msg = (
115115
f"Tool {toolname} failed to run "
116-
f"(exception was raised, re-run prospector with --direct-tool-stdout to better see the error or --die-on-tool-error to see the stacktrace)"
116+
"(exception was raised, re-run prospector with --direct-tool-stdout to better see the tool error "
117+
"or --die-on-tool-error to see the stacktrace)"
117118
)
118119
message = Message(
119120
toolname,

prospector/tools/pyroma/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"BusFactor": "PYR19",
4747
}
4848

49-
PYROMA_CODES = {}
49+
PYROMA_CODES: dict[str, str] = {}
5050

5151

5252
def _copy_codes() -> None:

0 commit comments

Comments
 (0)