From 332a124a079a9050e29ae9fca58d9ed9a9381328 Mon Sep 17 00:00:00 2001 From: Jonas Eschle Date: Thu, 31 Oct 2024 16:19:34 -0400 Subject: [PATCH] Update .gitignore and correct version file path in pyproject.toml Added build and IDE-related files to .gitignore to prevent them from being tracked. Corrected the path of the version file in the pyproject.toml to ensure proper versioning during the build process. --- .gitignore | 3 +++ pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 813eee0..1bf041f 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,6 @@ dist MANIFEST /.hypothesis/ *.coverage +/docs/api/_build/ +/.idea/ +/src/yamlloader/_version.py diff --git a/pyproject.toml b/pyproject.toml index 0d49f47..a1a2035 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,7 @@ Documentation = "https://yamlloader.readthedocs.io/" [tool.hatch] version.source = "vcs" -build.hooks.vcs.version-file = "src/yamlloader/version.py" +build.hooks.vcs.version-file = "src/yamlloader/_version.py" [tool.ruff] #src = ["src"]