-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
87 lines (74 loc) · 2.11 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
81
82
83
84
85
86
87
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "diff-shades"
authors = [
{name = "Richard Si", email = "[email protected]"}
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Intended Audience :: Developers",
"Topic :: Software Development :: Testing",
"Typing :: Typed",
]
license = {file = "LICENSE.txt"}
readme = "README.md"
requires-python = ">=3.7"
dependencies = [
"click >= 8.0.0",
"packaging >= 21.0",
"platformdirs >= 2.4.0",
"rich >= 10.13.0",
# Very odd bug: https://github.com/Textualize/rich/issues/2053
"rich != 12.0.0; sys_platform == 'win32'",
"typing-extensions >= 3.7.4; python_version < '3.8'",
]
dynamic = ["version", "description"]
[project.optional-dependencies]
test = [
"pytest >= 6.0.0",
"pytest-cov",
]
[project.scripts]
diff-shades = "diff_shades.cli:entrypoint"
[project.urls]
Repository = "https://github.com/ichard26/diff-shades"
Changelog = "https://github.com/ichard26/diff-shades#readme"
[tool.flit.module]
name = "diff_shades"
[tool.black]
line-length = 95
target-version = ["py37", "py38", "py39", "py310"]
extend-exclude = '''
/tests/data/.*
'''
[tool.isort]
profile = "black"
line_length = 95
skip_gitignore = true
py_version = "37"
known_third_party = ["click", "packaging", "rich", "black", "nox", "platformdirs"]
known_first_party = ["diff_shades"]
[tool.coverage.run]
source = ["diff_shades", "test_suite"]
relative_files = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
'@(?:abc\.)?abstract(?:method|property|classmethod|staticmethod)',
'@(?:typing\.)?overload',
'\.\.\.',
"if TYPE_CHECKING"
]
[tool.coverage.html]
show_contexts = true
[tool.pytest.ini_options]
addopts = "--strict-markers --strict-config"