File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ source = "version-pioneer"
1515
1616[tool .version-pioneer ]
1717versionscript = " src/python_import/_version.py" # CHANGE
18- versionfile-source = " src/python_import/_version.py" # CHANGE
18+ versionfile-sdist = " src/python_import/_version.py" # CHANGE
1919versionfile-build = " python_import/_version.py" # CHANGE
2020
2121[project ]
Original file line number Diff line number Diff line change 1- # ruff: noqa: T201
1+ # ruff: noqa: T201 TC003
22from __future__ import annotations
33
44import json
55import subprocess
66from collections import defaultdict
7- from typing import TYPE_CHECKING
7+ from pathlib import Path
88
99import tree_sitter_python as tspython
1010import typer
1313import python_import
1414from python_import .utils import get_all_imports_in_file_as_absolute
1515
16- if TYPE_CHECKING :
17- from pathlib import Path
18-
1916PY_LANGUAGE = Language (tspython .language ())
2017
2118app = typer .Typer (
You can’t perform that action at this time.
0 commit comments