Skip to content

Commit 3655dc4

Browse files
committed
Do not automatically update license headers year
1 parent c50ec02 commit 3655dc4

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ repos:
4747
args: ['755']
4848
files: ^(.*__main__\.py|syncmaster/server/scripts/export_openapi_schema\.py)$
4949
- id: insert-license
50-
files: .*\.py$
50+
types: [python]
5151
exclude: ^(syncmaster/server/dependencies/stub.py|docs/.*\.py|tests/.*\.py)$
5252
args:
5353
- --license-filepath
5454
- .spdx-license-header.txt
55-
- --use-current-year
55+
- --allow-past-years
5656
- --no-extra-eol
5757

5858
- repo: https://github.com/asottile/pyupgrade

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2023-2024 MTS PJSC. All rights reserved.
1+
Copyright 2023-2025 MTS PJSC. All rights reserved.
22

33
Apache License
44
Version 2.0, January 2004

docker/entrypoint_server.sh

100644100755
File mode changed.

syncmaster/server/__main__.py

100644100755
File mode changed.

syncmaster/server/scripts/export_openapi_schema.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)