From cf31a598afad22124156328dd4c5c885a7d0edf0 Mon Sep 17 00:00:00 2001 From: Meni Yakove Date: Wed, 8 Jan 2025 23:06:47 +0200 Subject: [PATCH] Add py.typed --- pyproject.toml | 60 +++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b3a458e87f..a1be201264 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,18 +1,18 @@ [tool.pytest.ini_options] markers = [ "incremental: Mark tests as incremental", - "kubevirt: Mark tests as kubevirt tests" + "kubevirt: Mark tests as kubevirt tests", ] addopts = [ "--pdbcls=IPython.terminal.debugger:TerminalPdb", "--cov-config=pyproject.toml", "--cov-report=html", "--cov-report=term", - "--cov=ocp_resources" + "--cov=ocp_resources", ] [tool.coverage.run] -omit = [ "tests/*" ] +omit = ["tests/*"] [tool.coverage.report] skip_empty = true @@ -26,8 +26,8 @@ line-length = 120 fix = true output-format = "grouped" - [tool.ruff.format] - exclude = [ ".git", ".venv", ".mypy_cache", ".tox", "__pycache__" ] +[tool.ruff.format] +exclude = [".git", ".venv", ".mypy_cache", ".tox", "__pycache__"] [tool.mypy] no_implicit_optional = true @@ -35,10 +35,10 @@ show_error_codes = true warn_unused_ignores = true [tool.hatch.build.targets.wheel] -packages = [ "ocp_resources", "ocp_resources/py.typed", "class_generator" ] +packages = ["ocp_resources", "class_generator"] [tool.uv] -dev-dependencies = [ "ipdb>=0.13.13", "ipython>=8.12.3" ] +dev-dependencies = ["ipdb>=0.13.13", "ipython>=8.12.3"] [project] requires-python = ">=3.9" @@ -47,10 +47,10 @@ version = "11.0.15" description = "Wrapper around https://github.com/kubernetes-client/python" readme = "README.md" license = "Apache-2.0" -keywords = [ "Openshift", "Kubevirt", "Openshift Virtualization" ] +keywords = ["Openshift", "Kubevirt", "Openshift Virtualization"] classifiers = [ "Programming Language :: Python :: 3", - "Operating System :: OS Independent" + "Operating System :: OS Independent", ] dependencies = [ "click>=8.1.7", @@ -70,34 +70,34 @@ dependencies = [ "ruff>=0.6.9", "testcontainers>=4.9.0", "timeout-sampler>=0.0.46", - "xmltodict>=0.13.0" + "xmltodict>=0.13.0", ] - [[project.authors]] - name = "Meni Yakove" - email = "myakove@gmail.com" +[[project.authors]] +name = "Meni Yakove" +email = "myakove@gmail.com" - [[project.authors]] - name = "Ruth Netser" - email = "rnetser@gmail.com" +[[project.authors]] +name = "Ruth Netser" +email = "rnetser@gmail.com" - [[project.maintainers]] - name = "Meni Yakove" - email = "myakove@gmail.com" +[[project.maintainers]] +name = "Meni Yakove" +email = "myakove@gmail.com" - [[project.maintainers]] - name = "Ruth Netser" - email = "rnetser@gmail.com" +[[project.maintainers]] +name = "Ruth Netser" +email = "rnetser@gmail.com" - [project.urls] - homepage = "https://github.com/RedHatQE/openshift-python-wrapper" - documentation = "https://openshift-python-wrapper.readthedocs.io/en/latest/" - Download = "https://pypi.org/project/openshift-python-wrapper/" - "Bug Tracker" = "https://github.com/RedHatQE/openshift-python-wrapper/issues" +[project.urls] +homepage = "https://github.com/RedHatQE/openshift-python-wrapper" +documentation = "https://openshift-python-wrapper.readthedocs.io/en/latest/" +Download = "https://pypi.org/project/openshift-python-wrapper/" +"Bug Tracker" = "https://github.com/RedHatQE/openshift-python-wrapper/issues" - [project.scripts] - class-generator = "class_generator.class_generator:main" +[project.scripts] +class-generator = "class_generator.class_generator:main" [build-system] -requires = [ "hatchling" ] +requires = ["hatchling"] build-backend = "hatchling.build"