We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f5fc68 commit 40d68b6Copy full SHA for 40d68b6
pyproject.toml
@@ -112,8 +112,8 @@ exclude = [
112
]
113
114
[tool.ruff.lint.flake8-copyright]
115
-# Require this exact line anywhere in the first 4096 bytes
116
-notice-rgx = "^# Copyright \\(c\\) Microsoft\\. All rights reserved\\."
+# Require this exact copyright header (matches CLAUDE.md specification)
+notice-rgx = "(?s)# Copyright \\(c\\) Microsoft Corporation\\.\\n# Licensed under the MIT License\\."
117
# (optional) ensure all files are checked regardless of size
118
min-file-size = 1
119
0 commit comments