-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (60 loc) · 1.56 KB
/
pyproject.toml
File metadata and controls
73 lines (60 loc) · 1.56 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "python_lung_morphometrics"
version = "0.4.1"
description = "A set of tools for measuring MLI and the like."
readme = "README.rst"
authors = [
{name = "Sylvia N. Michki", email = "sylvia.michki@gmail.com"}
]
maintainers = [
{name = "Sylvia N. Michki", email = "sylvia.michki@gmail.com"}
]
classifiers = [
"Programming Language :: Python",
"Development Status :: 4 - Beta",
]
license = {text = "GNU General Public License v3"}
dynamic = ["dependencies"]
[project.optional-dependencies]
dev = [
"coverage", # testing
"mypy", # linting
"pytest", # testing
"ruff" # linting
]
cellpose = [
"cellpose"
]
[project.urls]
bugs = "https://github.com/sylviamic/python_lung_morphometrics/issues"
changelog = "https://github.com/sylviamic/python_lung_morphometrics/blob/master/changelog.md"
homepage = "https://github.com/sylviamic/python_lung_morphometrics"
[project.scripts]
python-lung-morphometrics = "python_lung_morphometrics.cli:app"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
"*" = ["*.*"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.pytest.ini_options]
pythonpath = "src"
addopts = [
"--import-mode=importlib",
]
# Mypy
# ----
[tool.mypy]
files = "."
# Use strict defaults
strict = true
warn_unreachable = true
warn_no_return = true
[[tool.mypy.overrides]]
# Don't require test functions to include types
module = "tests.*"
allow_untyped_defs = true
disable_error_code = "attr-defined"