Skip to content

Commit 5426e0b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 43e3bcd commit 5426e0b

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

src/setuptools_scm/_file_finders/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
from typing import Callable
66
from typing import TYPE_CHECKING
77

8-
from .pathtools import norm_real
98
from .. import _log
109
from .. import _types as _t
1110
from .._entrypoints import iter_entry_points
11+
from .pathtools import norm_real
1212

1313
if TYPE_CHECKING:
1414
from typing_extensions import TypeGuard

src/setuptools_scm/_file_finders/git.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from .._run_cmd import run as _run
1313
from ..integration import data_from_mime
1414
from .pathtools import norm_real
15+
1516
log = logging.getLogger(__name__)
1617

1718

src/setuptools_scm/_file_finders/hg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
log = logging.getLogger(__name__)
1414

1515
from .pathtools import norm_real
16+
17+
1618
def _hg_toplevel(path: str) -> str | None:
1719
try:
1820
return _run(

src/setuptools_scm/_file_finders/pathtools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
from setuptools_scm import _types as _t
66

77

8-
def norm_real( path: _t.PathT) -> str:
8+
def norm_real(path: _t.PathT) -> str:
99
return os.path.normcase(os.path.realpath(path))

0 commit comments

Comments
 (0)