Skip to content

Commit 7dbaf46

Browse files
committed
Fix: Reformat with new 'black' version
1 parent 911fa54 commit 7dbaf46

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/test_config.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,10 @@ def test_load_from_non_existing_toml_file(self):
4343
self.assertEqual(len(config.get_pre_commit_script_names()), 0)
4444

4545
def test_load_from_string(self):
46-
config = AutohooksConfig.from_string(
47-
"""
46+
config = AutohooksConfig.from_string("""
4847
[tool.autohooks]
4948
pre-commit = ["foo", "bar"]
50-
"""
51-
)
49+
""")
5250

5351
self.assertTrue(config.has_autohooks_config())
5452

0 commit comments

Comments
 (0)