-
Notifications
You must be signed in to change notification settings - Fork 22
/
pyproject.toml
80 lines (71 loc) · 1.71 KB
/
pyproject.toml
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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "usort"
description = "Safe, minimal import sorting"
readme = "README.md"
requires-python = ">=3.8"
license = {file="LICENSE"}
authors = [
{name="Tim Hatch", email="[email protected]"},
{name="Amethyst Reese", email="[email protected]"},
{name="Meta"},
]
keywords = ["imports", "usort", "isort"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development",
"Topic :: Utilities",
"Typing :: Typed",
]
dependencies = [
"attrs >= 21.2.0",
"click >= 7.0.0",
"LibCST >= 0.3.7",
"moreorless >= 0.3.0",
"stdlibs >= 2021.4.1",
"toml >= 0.10.0",
"trailrunner >= 1.0, < 2.0",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"click==8.1.7", # pinning until mypy issues blow over
"black==24.4.2",
"coverage==7.5.4",
"flake8==7.1.0",
"hatch==1.12.0",
"mypy==1.10.1",
"pessimist==0.9.3",
"ufmt==2.7.0",
"volatile==2.1.0",
]
docs = [
"sphinx==7.3.7",
"sphinx-mdinclude==0.6.1",
]
[project.scripts]
usort = "usort.__main__:main"
[project.urls]
Changelog="https://usort.readthedocs.io/en/latest/changelog.html"
Documentation="https://usort.readthedocs.io"
Github="https://github.com/facebook/usort"
[tool.hatch.build.hooks.vcs]
version-file = "usort/version.py"
[tool.hatch.version]
source = "vcs"
[tool.coverage.run]
branch = true
include = ["usort/*"]
omit = ["usort/tests/*"]
[tool.coverage.report]
fail_under = 92
precision = 0
show_missing = true
skip_covered = true
[tool.mypy]
ignore_missing_imports = true
strict = true