Skip to content

Commit 14c39b9

Browse files
authored
MNT fix copyright rule to handle \r\n endings (scikit-learn#29585)
1 parent a97d584 commit 14c39b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ ignore=[
164164
]
165165

166166
[tool.ruff.lint.flake8-copyright]
167-
notice-rgx = "\\#\\ Authors:\\ The\\ scikit\\-learn\\ developers\\\n\\#\\ SPDX\\-License\\-Identifier:\\ BSD\\-3\\-Clause\\\n"
167+
notice-rgx = "\\#\\ Authors:\\ The\\ scikit\\-learn\\ developers\\\r?\\\n\\#\\ SPDX\\-License\\-Identifier:\\ BSD\\-3\\-Clause"
168168

169169
[tool.ruff.lint.per-file-ignores]
170170
# It's fine not to put the import at the top of the file in the examples

0 commit comments

Comments
 (0)