From 4a87de33a4c0607fdbf4b540373cc02cd2bea7d1 Mon Sep 17 00:00:00 2001 From: Kurt McKee Date: Tue, 9 Jan 2024 09:48:04 -0600 Subject: [PATCH 1/2] Run `tox -e update` --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4c18700..782d8c4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: - id: "update-headers" - repo: "https://github.com/psf/black-pre-commit-mirror" - rev: "23.12.0" + rev: "23.12.1" hooks: - id: "black" @@ -34,7 +34,7 @@ repos: - id: "isort" - repo: "https://github.com/pycqa/flake8" - rev: "6.1.0" + rev: "7.0.0" hooks: - id: "flake8" additional_dependencies: From ca4374d126e32b00e88bae2f19f4000504768a6e Mon Sep 17 00:00:00 2001 From: Kurt McKee Date: Tue, 9 Jan 2024 09:53:38 -0600 Subject: [PATCH 2/2] Update copyrights --- .github/workflows/readme_example.yaml | 2 +- CHANGELOG.rst | 2 +- README.rst | 2 +- action.yml | 2 +- pyproject.toml | 2 +- src/detect_pythons/detector.ps1 | 2 +- src/detect_pythons/detector.sh | 2 +- src/detect_pythons/identify.py | 2 +- src/detect_pythons/sync_readme_example.py | 2 +- tests/test_identify.py | 2 +- tests/test_sync_readme_example.py | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/readme_example.yaml b/.github/workflows/readme_example.yaml index a7d8c8e..da17383 100644 --- a/.github/workflows/readme_example.yaml +++ b/.github/workflows/readme_example.yaml @@ -1,6 +1,6 @@ # This file is a part of the detect-pythons project. # https://github.com/kurtmckee/detect-pythons -# Copyright 2023 Kurt McKee +# Copyright 2023-2024 Kurt McKee # SPDX-License-Identifier: MIT # This workflow exists for several purposes: diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 76ef915..04e389f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,7 +1,7 @@ .. This file is a part of the detect-pythons project. https://github.com/kurtmckee/detect-pythons - Copyright 2023 Kurt McKee + Copyright 2023-2024 Kurt McKee SPDX-License-Identifier: MIT .. diff --git a/README.rst b/README.rst index 6df9ea5..1200961 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ .. This file is a part of the detect-pythons project. https://github.com/kurtmckee/detect-pythons - Copyright 2023 Kurt McKee + Copyright 2023-2024 Kurt McKee SPDX-License-Identifier: MIT Detect Python interpreters diff --git a/action.yml b/action.yml index 21df35a..2f9014b 100644 --- a/action.yml +++ b/action.yml @@ -1,6 +1,6 @@ # This file is a part of the detect-pythons project. # https://github.com/kurtmckee/detect-pythons -# Copyright 2023 Kurt McKee +# Copyright 2023-2024 Kurt McKee # SPDX-License-Identifier: MIT author: "Kurt McKee" diff --git a/pyproject.toml b/pyproject.toml index 55c90e8..94ef258 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,7 +76,7 @@ new_fragment_template = "file: fragment-template.rst.txt" template = """ This file is a part of the detect-pythons project. https://github.com/kurtmckee/detect-pythons -Copyright 2023 Kurt McKee +Copyright 2023-{{ year }} Kurt McKee SPDX-License-Identifier: MIT """ exclusions = [ diff --git a/src/detect_pythons/detector.ps1 b/src/detect_pythons/detector.ps1 index 0f679f1..49b36f1 100644 --- a/src/detect_pythons/detector.ps1 +++ b/src/detect_pythons/detector.ps1 @@ -1,6 +1,6 @@ # This file is a part of the detect-pythons project. # https://github.com/kurtmckee/detect-pythons -# Copyright 2023 Kurt McKee +# Copyright 2023-2024 Kurt McKee # SPDX-License-Identifier: MIT # Search paths in $PATH for Python interpreters. diff --git a/src/detect_pythons/detector.sh b/src/detect_pythons/detector.sh index be8f537..a9d6544 100644 --- a/src/detect_pythons/detector.sh +++ b/src/detect_pythons/detector.sh @@ -1,6 +1,6 @@ # This file is a part of the detect-pythons project. # https://github.com/kurtmckee/detect-pythons -# Copyright 2023 Kurt McKee +# Copyright 2023-2024 Kurt McKee # SPDX-License-Identifier: MIT IDENTIFY_PY="${GITHUB_ACTION_PATH}/src/detect_pythons/identify.py" diff --git a/src/detect_pythons/identify.py b/src/detect_pythons/identify.py index 0e73d1c..3235e31 100644 --- a/src/detect_pythons/identify.py +++ b/src/detect_pythons/identify.py @@ -1,6 +1,6 @@ # This file is a part of the detect-pythons project. # https://github.com/kurtmckee/detect-pythons -# Copyright 2023 Kurt McKee +# Copyright 2023-2024 Kurt McKee # SPDX-License-Identifier: MIT from __future__ import print_function diff --git a/src/detect_pythons/sync_readme_example.py b/src/detect_pythons/sync_readme_example.py index 71fe0a8..3447207 100644 --- a/src/detect_pythons/sync_readme_example.py +++ b/src/detect_pythons/sync_readme_example.py @@ -1,6 +1,6 @@ # This file is a part of the detect-pythons project. # https://github.com/kurtmckee/detect-pythons -# Copyright 2023 Kurt McKee +# Copyright 2023-2024 Kurt McKee # SPDX-License-Identifier: MIT import pathlib diff --git a/tests/test_identify.py b/tests/test_identify.py index a06b6a3..9f6b807 100644 --- a/tests/test_identify.py +++ b/tests/test_identify.py @@ -1,6 +1,6 @@ # This file is a part of the detect-pythons project. # https://github.com/kurtmckee/detect-pythons -# Copyright 2023 Kurt McKee +# Copyright 2023-2024 Kurt McKee # SPDX-License-Identifier: MIT import platform diff --git a/tests/test_sync_readme_example.py b/tests/test_sync_readme_example.py index 8312871..6fb9cc6 100644 --- a/tests/test_sync_readme_example.py +++ b/tests/test_sync_readme_example.py @@ -1,6 +1,6 @@ # This file is a part of the detect-pythons project. # https://github.com/kurtmckee/detect-pythons -# Copyright 2023 Kurt McKee +# Copyright 2023-2024 Kurt McKee # SPDX-License-Identifier: MIT import unittest.mock