fix: update target version for Ruff and regex pattern in update_version script
This commit is contained in:
parent
be9d64f3ed
commit
c834d9c481
2 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ def main() -> int:
|
|||
|
||||
# Update pyproject.toml
|
||||
if pyproject_path.exists():
|
||||
pattern = r'(?<!python_)version = "[^"]+"'
|
||||
pattern = r'(?<![-\w])version = "[^"]+"'
|
||||
success &= update_file(
|
||||
pyproject_path,
|
||||
pattern,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue