Skip to content

Commit 8c470ef

Browse files
author
bram
committed
Fixed linting issues
1 parent e19c698 commit 8c470ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python_gpt_po/tests/test_default_context.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ def test_default_context_in_bulk_mode(self):
257257

258258
# Should use default context if most entries don't have context
259259
assert mock_translate.called
260-
call_args = mock_translate.call_args
261260
# When all contexts are None, it should not pass context
262261
# (or pass the most common one which is None)
263262
assert len(translations) == 2

python_gpt_po/utils/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ def parse_args() -> Namespace:
168168
advanced_group.add_argument(
169169
"--default-context",
170170
metavar="CONTEXT",
171-
help="Default translation context to use when entries lack msgctxt (can also use GPT_TRANSLATOR_CONTEXT env var)"
171+
help="Default translation context to use when entries lack msgctxt "
172+
"(can also use GPT_TRANSLATOR_CONTEXT env var)"
172173
)
173174
advanced_group.add_argument(
174175
"--bulk",

0 commit comments

Comments
 (0)