Skip to content

Commit 0695155

Browse files
style: Apply ruff/flake8-pie rule PIE800
PIE800 Unnecessary spread `**`
1 parent d8f1d7c commit 0695155

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ def test_config_file(self):
747747
(0, './a.yml:1:1: [warning] missing document '
748748
'start "---" (document-start)\n', ''))
749749

750-
with temp_workspace({**workspace, **{conf_file: conf}}):
750+
with temp_workspace({**workspace, conf_file: conf}):
751751
with RunContext(self) as ctx:
752752
cli.run(('-f', 'parsable', '.'))
753753

@@ -771,7 +771,7 @@ def test_parent_config_file(self):
771771
'document start "---" (document-start)\n',
772772
''))
773773

774-
with temp_workspace({**workspace, **{conf_file: conf}}):
774+
with temp_workspace({**workspace, conf_file: conf}):
775775
with RunContext(self) as ctx:
776776
os.chdir('a/b/c/d/e/f')
777777
cli.run(('-f', 'parsable', '.'))
@@ -806,7 +806,7 @@ def test_multiple_parent_config_file(self):
806806
(0, './3spaces.yml:2:4: [warning] wrong indentation: '
807807
'expected 4 but found 3 (indentation)\n', ''))
808808

809-
with temp_workspace({**workspace, **{'a/b/.yamllint.yml': conf3}}):
809+
with temp_workspace({**workspace, 'a/b/.yamllint.yml': conf3}):
810810
with RunContext(self) as ctx:
811811
os.chdir('a/b/c')
812812
cli.run(('-f', 'parsable', '.'))

0 commit comments

Comments
 (0)