@@ -69,14 +69,12 @@ def test_python_pylint_configured(self, tmp_path):
6969
7070 # Create .pylintrc
7171 pylintrc = tmp_path / ".pylintrc"
72- pylintrc .write_text (
73- """[MASTER]
72+ pylintrc .write_text ("""[MASTER]
7473max-line-length=100
7574
7675[MESSAGES CONTROL]
7776disable=C0111
78- """
79- )
77+ """ )
8078
8179 repo = Repository (
8280 path = tmp_path ,
@@ -105,11 +103,9 @@ def test_python_ruff_configured(self, tmp_path):
105103
106104 # Create ruff.toml
107105 ruff_toml = tmp_path / "ruff.toml"
108- ruff_toml .write_text (
109- """line-length = 100
106+ ruff_toml .write_text ("""line-length = 100
110107select = ["E", "F", "W"]
111- """
112- )
108+ """ )
113109
114110 repo = Repository (
115111 path = tmp_path ,
@@ -135,14 +131,12 @@ def test_python_pyproject_toml(self, tmp_path):
135131
136132 # Create pyproject.toml with both tools
137133 pyproject = tmp_path / "pyproject.toml"
138- pyproject .write_text (
139- """[tool.pylint]
134+ pyproject .write_text ("""[tool.pylint]
140135max-line-length = 100
141136
142137[tool.ruff]
143138line-length = 100
144- """
145- )
139+ """ )
146140
147141 repo = Repository (
148142 path = tmp_path ,
@@ -171,15 +165,13 @@ def test_javascript_eslint_configured(self, tmp_path):
171165
172166 # Create .eslintrc.json
173167 eslintrc = tmp_path / ".eslintrc.json"
174- eslintrc .write_text (
175- """{
168+ eslintrc .write_text ("""{
176169 "extends": "eslint:recommended",
177170 "rules": {
178171 "no-console": "warn"
179172 }
180173}
181- """
182- )
174+ """ )
183175
184176 repo = Repository (
185177 path = tmp_path ,
@@ -234,14 +226,12 @@ def test_ruby_rubocop_configured(self, tmp_path):
234226
235227 # Create .rubocop.yml
236228 rubocop = tmp_path / ".rubocop.yml"
237- rubocop .write_text (
238- """AllCops:
229+ rubocop .write_text ("""AllCops:
239230 TargetRubyVersion: 3.0
240231
241232Style/StringLiterals:
242233 EnforcedStyle: double_quotes
243- """
244- )
234+ """ )
245235
246236 repo = Repository (
247237 path = tmp_path ,
@@ -269,14 +259,12 @@ def test_go_golangci_lint_configured(self, tmp_path):
269259
270260 # Create .golangci.yml
271261 golangci = tmp_path / ".golangci.yml"
272- golangci .write_text (
273- """linters:
262+ golangci .write_text ("""linters:
274263 enable:
275264 - gofmt
276265 - golint
277266 - govet
278- """
279- )
267+ """ )
280268
281269 repo = Repository (
282270 path = tmp_path ,
@@ -311,14 +299,12 @@ def test_actionlint_in_precommit(self, tmp_path):
311299
312300 # Create .pre-commit-config.yaml with actionlint
313301 precommit = tmp_path / ".pre-commit-config.yaml"
314- precommit .write_text (
315- """repos:
302+ precommit .write_text ("""repos:
316303 - repo: https://github.com/rhysd/actionlint
317304 rev: v1.6.0
318305 hooks:
319306 - id: actionlint
320- """
321- )
307+ """ )
322308
323309 repo = Repository (
324310 path = tmp_path ,
@@ -344,13 +330,11 @@ def test_markdownlint_configured(self, tmp_path):
344330
345331 # Create .markdownlint.json
346332 markdownlint = tmp_path / ".markdownlint.json"
347- markdownlint .write_text (
348- """{
333+ markdownlint .write_text ("""{
349334 "default": true,
350335 "MD013": false
351336}
352- """
353- )
337+ """ )
354338
355339 repo = Repository (
356340 path = tmp_path ,
0 commit comments