-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
59 lines (54 loc) · 1.35 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
[project]
name = "egsis"
version = "0.1.0"
description = "Exploratory Graph-based Semi-Supervised Image Segmentation"
authors = [
{name = "Manoel Vilela", email = "manoel_vilela@engineer.com"},
]
dependencies = [
"scikit-image>=0.21.0rc0",
"typer>=0.6.1",
"matplotlib>=3.7.1",
"networkx>=2.8.6",
"scipy>=1.10.1",
"loguru>=0.6.0",
"ipycanvas>=0.13.1",
]
requires-python = ">=3.9,<3.12"
readme = "README.md"
license = {text = "MIT"}
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[tool]
[tool.black]
line_length = 120
target_version = ["py310"]
[tool.mypy]
ignore_missing_imports = true
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"black-macchiato>=1.3.0",
"black>=22.8.0",
"coverage>=7.2.5",
"flake8>=5.0.4",
"jupyterlab>=3.4.6",
"mypy==0.981",
"pytest-cov>=4.0.0",
"pytest-mock>=3.8.2",
"pytest>=7.3.1",
"pandas>=2.1.3",
]
[tool.pdm.scripts]
lint = {composite = ["flake8", "mypy"]}
test = "pytest -vv -p no:cacheprovider --cov=egsis --cov-report xml:tests/coverage.xml --cov-report term -k"
tests = {composite = ["test tests/", "coverage json"]}
format = "black egsis/ tests/"
check = {composite = ["lint egsis/", "test tests/"]}
egsis = {call = "egsis.main:cli"}
notebook = "jupyter lab"
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning",
]