Skip to content

Commit fdb3129

Browse files
SCANPY-238 Update license headers (#302)
1 parent 1d3fdd2 commit fdb3129

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+51
-51
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
uses: ./.github/actions/config-poetry
6161
- run: |
6262
poetry run black src/ tests/ --check
63-
poetry run licenseheaders -t license_header.tmpl -o "SonarSource SA" -y 2011-2024 -n "Sonar Scanner Python" -E .py -d src/
64-
poetry run licenseheaders -t license_header.tmpl -o "SonarSource SA" -y 2011-2024 -n "Sonar Scanner Python" -E .py -d tests/
63+
poetry run licenseheaders -t license_header.tmpl -o "SonarSource Sàrl" -y 2011-2026 -n "Sonar Scanner Python" -E .py -d src/
64+
poetry run licenseheaders -t license_header.tmpl -o "SonarSource Sàrl" -y 2011-2026 -n "Sonar Scanner Python" -E .py -d tests/
6565
git diff --name-only --exit-code ./src ./tests
6666
6767
documentation:

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions

license_header.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
${projectname}
2-
Copyright (C) ${years} ${owner}.
2+
Copyright (C) ${years} ${owner}
33
mailto:info AT sonarsource DOT com
44

55
This program is free software; you can redistribute it and/or

scripts/generate_licenseheaders.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
33
pushd "$SCRIPT_DIR/.."
44

5-
poetry run licenseheaders -t license_header.tmpl -o "SonarSource SA" -y 2011-2024 -n "Sonar Scanner Python" -E .py -d src/
6-
poetry run licenseheaders -t license_header.tmpl -o "SonarSource SA" -y 2011-2024 -n "Sonar Scanner Python" -E .py -d tests/
7-
poetry run licenseheaders -t license_header.tmpl -o "SonarSource SA" -y 2011-2024 -n "Sonar Scanner Python" -E .py -d its -x its/sources/**.py
5+
poetry run licenseheaders -t license_header.tmpl -o "SonarSource Sàrl" -y 2011-2026 -n "Sonar Scanner Python" -E .py -d src/
6+
poetry run licenseheaders -t license_header.tmpl -o "SonarSource Sàrl" -y 2011-2026 -n "Sonar Scanner Python" -E .py -d tests/
7+
poetry run licenseheaders -t license_header.tmpl -o "SonarSource Sàrl" -y 2011-2026 -n "Sonar Scanner Python" -E .py -d its -x its/sources/**.py
88

99
popd

src/pysonar_scanner/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Sonar Scanner Python
3-
# Copyright (C) 2011-2024 SonarSource SA.
3+
# Copyright (C) 2011-2026 SonarSource Sàrl
44
# mailto:info AT sonarsource DOT com
55
#
66
# This program is free software; you can redistribute it and/or

src/pysonar_scanner/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Sonar Scanner Python
3-
# Copyright (C) 2011-2024 SonarSource SA.
3+
# Copyright (C) 2011-2026 SonarSource Sàrl
44
# mailto:info AT sonarsource DOT com
55
#
66
# This program is free software; you can redistribute it and/or

src/pysonar_scanner/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Sonar Scanner Python
3-
# Copyright (C) 2011-2024 SonarSource SA.
3+
# Copyright (C) 2011-2026 SonarSource Sàrl
44
# mailto:info AT sonarsource DOT com
55
#
66
# This program is free software; you can redistribute it and/or

src/pysonar_scanner/app_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Sonar Scanner Python
3-
# Copyright (C) 2011-2024 SonarSource SA.
3+
# Copyright (C) 2011-2026 SonarSource Sàrl
44
# mailto:info AT sonarsource DOT com
55
#
66
# This program is free software; you can redistribute it and/or

src/pysonar_scanner/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Sonar Scanner Python
3-
# Copyright (C) 2011-2024 SonarSource SA.
3+
# Copyright (C) 2011-2026 SonarSource Sàrl
44
# mailto:info AT sonarsource DOT com
55
#
66
# This program is free software; you can redistribute it and/or

src/pysonar_scanner/configuration/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Sonar Scanner Python
3-
# Copyright (C) 2011-2024 SonarSource SA.
3+
# Copyright (C) 2011-2026 SonarSource Sàrl
44
# mailto:info AT sonarsource DOT com
55
#
66
# This program is free software; you can redistribute it and/or

0 commit comments

Comments
 (0)