-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
84 lines (75 loc) · 1.58 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
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "sf-visuals"
dynamic = ["version"]
requires-python = ">=3.9"
description = "Toolkit to visualize the reasoning of image classification networks."
authors = [
{ name = "Levin Kobelke", email = "[email protected]" },
{ name = "Till Bungert", email = "[email protected]" },
]
license = { text = "MIT" }
readme = "README.md"
dependencies = [
"dash>=2.7.0",
"loguru",
"matplotlib>=3.6.2",
"numpy>=1.23.5",
"pandas>=1.5.2",
"Pillow",
"plotly>=5.11.0",
"scikit-learn",
"scipy>=1.9.3",
"fd-shifts @ git+https://github.com/iml-dkfz/fd-shifts.git",
"pyyaml",
]
[project.optional-dependencies]
dev = [
"black",
"debugpy",
"ipython",
"ipywidgets",
"isort",
"pre-commit",
"ruff",
"pytest",
]
[project.scripts]
sf-visuals = "sf_visuals.app:main"
[tool.setuptools_scm]
write_to = "sf_visuals/_version.py"
[tool.setuptools.packages]
find = {}
[tool.isort]
profile = "black"
[tool.black]
line-length = 88
exclude = '''
(
/(
\.git
| \.venv
| _build
)/
)
'''
[tool.ruff]
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
# "C90", # mccabe
"D", # pydocstyle errors
"E", # pycodestyle
"F", # pyflakes
"PL", # pylint
"PT", # flake8-pytest-style
"RUF", # ruff
"S", # flake8-bandit
"SIM", # flake8-simplify
"W", # pycodestyle warnings
]
[tool.ruff.pydocstyle]
# Use Google-style docstrings.
convention = "google"