Skip to content

Commit ffc3bf4

Browse files
Run ruff format
It's unfortunate that a patch version (ruff 0.14.10) introduced a formatting change, although in preview mode only: astral-sh/ruff#21369
1 parent 5fd7170 commit ffc3bf4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/.hooks/render_default_test_env.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ def get_scripts_toml():
5151
class TestEnvDefaultsPreprocessor(Preprocessor):
5252
def run(self, lines): # noqa: PLR6301
5353
return (
54-
"\n".join(lines)
54+
"\n"
55+
.join(lines)
5556
.replace(MARKER_DEPENDENCIES, get_dependencies_toml())
5657
.replace(MARKER_MATRIX, get_matrix_toml())
5758
.replace(MARKER_SCRIPTS, get_scripts_toml())

docs/.hooks/render_ruff_defaults.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ def get_per_file_ignored_rules():
136136
class RuffDefaultsPreprocessor(Preprocessor):
137137
def run(self, lines): # noqa: PLR6301
138138
return (
139-
"\n".join(lines)
139+
"\n"
140+
.join(lines)
140141
.replace(MARKER_VERSION, get_ruff_version())
141142
.replace(MARKER_STABLE_RULES_COUNT, get_stable_rules_count())
142143
.replace(MARKER_PREVIEW_RULES_COUNT, get_preview_rules_count())

0 commit comments

Comments
 (0)