Skip to content

Commit cf540e4

Browse files
committed
chore: sync copyright checker with Weblate
1 parent 5060cae commit cf540e4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ ignore = [
142142
]
143143
select = ["ALL"]
144144

145+
[tool.ruff.lint.flake8-copyright]
146+
min-file-size = 2
147+
# Copyright without a year, see https://github.com/astral-sh/ruff/issues/10062
148+
notice-rgx = "(?i)Copyright\\s+©\\s+"
149+
145150
[tool.ruff.lint.mccabe]
146151
max-complexity = 16
147152

0 commit comments

Comments
 (0)