Skip to content

Commit

Permalink
Update .gitignore and correct version file path in pyproject.toml
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jonas-eschle committed Oct 31, 2024
1 parent 0add67c commit 332a124
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ dist
MANIFEST
/.hypothesis/
*.coverage
/docs/api/_build/
/.idea/
/src/yamlloader/_version.py
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 332a124

Please sign in to comment.