Skip to content

Commit

Permalink
Fix version check in pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
druzsan committed Sep 21, 2023
1 parent 39e8705 commit 1e8c990
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ files = [
]

[tool.ruff]
line-length = 100
ignore = [
"E501"
]
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_dynamic_versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

errors = []

if not pyproject["tool"]["poetry"]["version"]:
if pyproject["tool"]["poetry"]["version"] != "0.0.0":
errors.append("Error: tool.poetry.version != 0.0.0")
if not pyproject["tool"]["poetry-dynamic-versioning"]["enable"]:
errors.append("Error: tool.poetry-dymamic-versioning.enable != true")
Expand Down

0 comments on commit 1e8c990

Please sign in to comment.