Skip to content

Commit 142cf20

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 27e9fbf commit 142cf20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setuptools-scm/_own_version_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from __future__ import annotations
1414

1515
import os
16-
import sys
1716

1817
from setuptools import build_meta as build_meta
1918

@@ -31,9 +30,10 @@ def scm_version() -> str:
3130
# Note: tag_regex is currently NOT set to allow backward compatibility
3231
# with existing tags. To migrate to 'setuptools-scm-' prefix, uncomment:
3332
# tag_regex=r"^setuptools-scm-(?P<version>[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?$",
34-
33+
3534
# Use relative_to parent to find git root (one level up from setuptools-scm/)
3635
import pathlib
36+
3737
return get_version(
3838
root=pathlib.Path(__file__).parent.parent,
3939
version_scheme="guess-next-dev",

0 commit comments

Comments
 (0)