Skip to content

Commit ddf8fc6

Browse files
chore: set 2025-2026 for copyrights
1 parent 1aa03f5 commit ddf8fc6

14 files changed

Lines changed: 17 additions & 17 deletions

File tree

scripts/check-obsolete-copyright.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2026-2026 Orange. All rights reserved.
1+
# Copyright (c) 2025-2026 Orange. All rights reserved.
22
# This software is distributed under the BSD 3-Clause-clear License, the text of which is available
33
# at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the "LICENSE" file for more details.
44

@@ -10,8 +10,8 @@
1010
from datetime import datetime
1111

1212
# Constants to check the presence of obsolete copyright
13-
copyright_prefix = bytes("(c) 2026-", encoding="ascii")
14-
valid_copyright = bytes(f"(c) 2026-{datetime.today().year} Orange", encoding="ascii")
13+
copyright_prefix = bytes("(c) 2025-", encoding="ascii")
14+
valid_copyright = bytes(f"(c) 2025-{datetime.today().year} Orange", encoding="ascii")
1515

1616
# List of special files
1717
special_files = ["LICENSE"]

scripts/update-copyright.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2026-2026 Orange. All rights reserved.
1+
# Copyright (c) 2025-2026 Orange. All rights reserved.
22
# This software is distributed under the BSD 3-Clause-clear License, the text of which is available
33
# at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the "LICENSE" file for more details.
44

@@ -16,7 +16,7 @@
1616
byte_linesep = bytes(os.linesep, encoding="ascii")
1717
copyright_banner_lines = [
1818
bytes(
19-
f"Copyright (c) 2026-{datetime.today().year} Orange. All rights reserved.",
19+
f"Copyright (c) 2025-{datetime.today().year} Orange. All rights reserved.",
2020
encoding="ascii",
2121
),
2222
b"This software is distributed under the BSD 3-Clause-clear License, the text of which is available",

src/khisto/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2026-2026 Orange. All rights reserved.
1+
# Copyright (c) 2025-2026 Orange. All rights reserved.
22
# This software is distributed under the BSD 3-Clause-clear License, the text of which is available
33
# at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the "LICENSE" file for more details.
44

src/khisto/array/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2026-2026 Orange. All rights reserved.
1+
# Copyright (c) 2025-2026 Orange. All rights reserved.
22
# This software is distributed under the BSD 3-Clause-clear License, the text of which is available
33
# at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the "LICENSE" file for more details.
44

src/khisto/array/histogram/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2026-2026 Orange. All rights reserved.
1+
# Copyright (c) 2025-2026 Orange. All rights reserved.
22
# This software is distributed under the BSD 3-Clause-clear License, the text of which is available
33
# at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the "LICENSE" file for more details.
44

src/khisto/array/histogram/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2026-2026 Orange. All rights reserved.
1+
# Copyright (c) 2025-2026 Orange. All rights reserved.
22
# This software is distributed under the BSD 3-Clause-clear License, the text of which is available
33
# at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the "LICENSE" file for more details.
44

src/khisto/core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2026-2026 Orange. All rights reserved.
1+
# Copyright (c) 2025-2026 Orange. All rights reserved.
22
# This software is distributed under the BSD 3-Clause-clear License, the text of which is available
33
# at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the "LICENSE" file for more details.
44

src/khisto/core/cli_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2026-2026 Orange. All rights reserved.
1+
# Copyright (c) 2025-2026 Orange. All rights reserved.
22
# This software is distributed under the BSD 3-Clause-clear License, the text of which is available
33
# at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the "LICENSE" file for more details.
44

src/khisto/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2026-2026 Orange. All rights reserved.
1+
# Copyright (c) 2025-2026 Orange. All rights reserved.
22
# This software is distributed under the BSD 3-Clause-clear License, the text of which is available
33
# at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the "LICENSE" file for more details.
44

src/khisto/matplotlib/hist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2026-2026 Orange. All rights reserved.
1+
# Copyright (c) 2025-2026 Orange. All rights reserved.
22
# This software is distributed under the BSD 3-Clause-clear License, the text of which is available
33
# at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the "LICENSE" file for more details.
44

0 commit comments

Comments
 (0)