From 7eeb2ec2317e8ab3bf37b9d5bfe719ebe3c169c2 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Thu, 23 Nov 2023 13:20:21 +0000 Subject: [PATCH] Untrack _version.py (#62) --- .gitignore | 2 +- src/ansible_development_environment/_version.py | 17 ----------------- .../_version.pyi | 1 - .../arg_parser.py | 2 +- 4 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 src/ansible_development_environment/_version.py delete mode 100644 src/ansible_development_environment/_version.pyi diff --git a/.gitignore b/.gitignore index e4ee6e4..96de3c7 100644 --- a/.gitignore +++ b/.gitignore @@ -166,4 +166,4 @@ cython_debug/ # and should all have detailed explanations # Version created and populated by setuptools_scm -/src/ansible-development-environment/_version.py +/src/ansible_development_environment/_version.py diff --git a/src/ansible_development_environment/_version.py b/src/ansible_development_environment/_version.py deleted file mode 100644 index 5d4067f..0000000 --- a/src/ansible_development_environment/_version.py +++ /dev/null @@ -1,17 +0,0 @@ -# file generated by setuptools_scm -# don't change, don't track in version control -TYPE_CHECKING = False -if TYPE_CHECKING: - from typing import Union - - VERSION_TUPLE = tuple[Union[int, str], ...] -else: - VERSION_TUPLE = object - -version: str -__version__: str -__version_tuple__: VERSION_TUPLE -version_tuple: VERSION_TUPLE - -__version__ = version = "0.2.18.dev2" -__version_tuple__ = version_tuple = (0, 2, 18, "dev2") diff --git a/src/ansible_development_environment/_version.pyi b/src/ansible_development_environment/_version.pyi deleted file mode 100644 index c2ee2ca..0000000 --- a/src/ansible_development_environment/_version.pyi +++ /dev/null @@ -1 +0,0 @@ -version: str diff --git a/src/ansible_development_environment/arg_parser.py b/src/ansible_development_environment/arg_parser.py index cb0acb7..289bbd2 100644 --- a/src/ansible_development_environment/arg_parser.py +++ b/src/ansible_development_environment/arg_parser.py @@ -9,7 +9,7 @@ try: - from ._version import version as __version__ + from ._version import version as __version__ # type: ignore[import-not-found] except ImportError: # pragma: no cover try: import pkg_resources