From 7e252ebf919f7df926923543d18620a8f2b8fd79 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 3 May 2025 19:55:39 +0000 Subject: [PATCH 1/3] chore(deps-dev): update pep8-naming requirement from 0.14.1 to 0.15.0 Updates the requirements on [pep8-naming](https://github.com/PyCQA/pep8-naming) to permit the latest version. - [Release notes](https://github.com/PyCQA/pep8-naming/releases) - [Changelog](https://github.com/PyCQA/pep8-naming/blob/main/CHANGELOG.rst) - [Commits](https://github.com/PyCQA/pep8-naming/compare/0.14.1...0.15.0) --- updated-dependencies: - dependency-name: pep8-naming dependency-version: 0.15.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 55db8e5c..9506b264 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,7 +90,7 @@ flake8-copyright-validator = "0.0.1" flake8-isort = "6.1.2" flake8-quotes = "3.4.0" flake8-use-fstring = "1.4" -pep8-naming = "0.14.1" +pep8-naming = "0.15.0" isort = "6.0.1" autopep8 = "2.3.2" mypy = "1.15.0" From 26dc1cf62029031ef3ae105e97c7194000e21a94 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Tue, 6 May 2025 15:17:36 +0200 Subject: [PATCH 2/3] annotate FP Signed-off-by: Jan Kowalleck --- cyclonedx/schema/__init__.py | 2 +- tests/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cyclonedx/schema/__init__.py b/cyclonedx/schema/__init__.py index cb57d8ef..78bb32b1 100644 --- a/cyclonedx/schema/__init__.py +++ b/cyclonedx/schema/__init__.py @@ -40,7 +40,7 @@ def __eq__(self, other: Any) -> bool: return self is other -_SV = TypeVar('_SV', bound='SchemaVersion') +_SV = TypeVar('_SV', bound='SchemaVersion') # noqa:N808 -- false positive @unique diff --git a/tests/__init__.py b/tests/__init__.py index 9c664cc3..0cd367c3 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -32,7 +32,7 @@ from cyclonedx.model.bom import Bom from cyclonedx.model.dependency import Dependency -_T = TypeVar('_T') +_T = TypeVar('_T') # noqa:N808 -- false positive _TESTDATA_DIRECTORY = path.join(path.dirname(__file__), '_data') From 8ba0883320d0960a0b56f36982a409454ad47748 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Tue, 6 May 2025 15:19:48 +0200 Subject: [PATCH 3/3] fix Signed-off-by: Jan Kowalleck --- cyclonedx/schema/__init__.py | 2 +- pyproject.toml | 2 +- tests/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cyclonedx/schema/__init__.py b/cyclonedx/schema/__init__.py index 78bb32b1..cb57d8ef 100644 --- a/cyclonedx/schema/__init__.py +++ b/cyclonedx/schema/__init__.py @@ -40,7 +40,7 @@ def __eq__(self, other: Any) -> bool: return self is other -_SV = TypeVar('_SV', bound='SchemaVersion') # noqa:N808 -- false positive +_SV = TypeVar('_SV', bound='SchemaVersion') @unique diff --git a/pyproject.toml b/pyproject.toml index 9506b264..e00ec950 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,7 +90,7 @@ flake8-copyright-validator = "0.0.1" flake8-isort = "6.1.2" flake8-quotes = "3.4.0" flake8-use-fstring = "1.4" -pep8-naming = "0.15.0" +pep8-naming = "0.15.1" isort = "6.0.1" autopep8 = "2.3.2" mypy = "1.15.0" diff --git a/tests/__init__.py b/tests/__init__.py index 0cd367c3..9c664cc3 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -32,7 +32,7 @@ from cyclonedx.model.bom import Bom from cyclonedx.model.dependency import Dependency -_T = TypeVar('_T') # noqa:N808 -- false positive +_T = TypeVar('_T') _TESTDATA_DIRECTORY = path.join(path.dirname(__file__), '_data')