-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
83 lines (70 loc) · 1.91 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
[build-system]
# setuptools version with auto inclusion of 'py.typed'
requires = ["setuptools>=69.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "py-unused-deps"
version = "0.4.2"
authors = [
{ name = "Matthew Hughes", email = "[email protected]" },
]
description = "Find unused dependencies in your python project"
readme = "README.md"
classifiers = [
"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",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
]
requires-python = ">= 3.9"
dependencies = [
"tomli;python_version<='3.11'",
"packaging"
]
[project.scripts]
py-unused-deps = "unused_deps.main:main"
[project.urls]
homepage = "https://github.com/matthewhughes934/py-unused-deps"
[project.optional-dependencies]
test = [
# version required for pyproject.toml support
"pytest>=6.0",
"coverage[toml]",
"covdefaults>=2.2",
# for building local dependencies in tests
"setuptools",
"poetry",
"wheel",
"tomli-w"
]
lint = ["pre-commit"]
[tool.setuptools.packages.find]
namespaces = false
include = ["unused_deps"]
[tool.mypy]
strict = true
show_error_codes = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_calls = false
disallow_untyped_defs = false
warn_return_any = false
strict_equality = false
[tool.pytest.ini_options]
addopts = "--strict-markers --ignore tests/end_to_end --ignore tests/end_to_end/data"
filterwarnings = "error"
[tool.isort]
profile = "black"
[tool.coverage.run]
plugins = ["covdefaults"]
branch = true
omit = ["tests/end_to_end/*"]
source = ["unused_deps/", "tests/"]
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 100