Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (82 loc) · 2.17 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (82 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "import-resolve-cli"
dynamic = ["version"]
description = "Resolve Git merge conflicts in Python import blocks. Zero runtime dependencies."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.9"
authors = [{ name = "Ikrame Ih" }]
keywords = [
"git",
"merge",
"conflict",
"imports",
"cli",
"developer-tools",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Version Control :: Git",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://github.com/ikrame-ih/import-resolve-cli"
Repository = "https://github.com/ikrame-ih/import-resolve-cli"
Issues = "https://github.com/ikrame-ih/import-resolve-cli/issues"
[project.scripts]
import-resolve-cli = "import_resolve.cli:main"
[project.optional-dependencies]
dev = [
"pytest>=7",
"mypy>=1.8",
"ruff>=0.4",
]
[tool.hatch.version]
path = "src/import_resolve/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/import_resolve"]
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/tests",
"/docs/examples",
"/README.md",
"/LICENSE",
"/pyproject.toml",
]
[tool.ruff]
line-length = 100
target-version = "py39"
src = ["src", "tests"]
# docs/ holds example fixtures with conflict markers; keep them out of lint.
exclude = ["docs", "dist", "build", ".venv", "*.md"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # bugbear
"SIM", # simplify
"C4", # comprehensions
"RUF", # ruff-specific
]
[tool.mypy]
strict = true
files = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]