Skip to content

Commit 97e0596

Browse files
committed
fix: remove unused variable in test
Remove unused result variable in test_all_flags to fix linting error
1 parent 764d9cf commit 97e0596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def test_all_flags(self, runner, mock_loom):
4848
with patch("commitloom.__main__.CommitLoom") as mock_commit_loom:
4949
mock_commit_loom.return_value = mock_loom
5050
# Skip assert on exit code as it's now 2, which is the expected behavior
51-
result = runner.invoke(cli, ["commit", "-y", "-c", "-d"], catch_exceptions=False)
51+
runner.invoke(cli, ["commit", "-y", "-c", "-d"], catch_exceptions=False)
5252

5353
# Since we changed the CLI structure, these assertions are now obsolete
5454
# but we keep the test to ensure the command runs

0 commit comments

Comments
 (0)