-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
73 lines (63 loc) · 1.85 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
[tool.poetry]
name = "class-activation-mapping"
version = "0.0.0" # Automatically updated up poetry-dynamic-versioning
description = "CAM, GradCAM, GroupCAM, ..."
authors = ["Tetsutaro Maruyama <[email protected]>"]
repository = "https://github.com/tetutaro/class_activation_mapping"
packages = [{include = "cam"}]
[tool.poetry.dependencies]
python = "^3.10"
numpy = "^1.24.3"
torch = "^2.0.1"
torchvision = "^0.15.1"
scikit-learn = "^1.2.2"
lime = "^0.2.0.1"
pillow = "^9.5.0"
matplotlib = "^3.7.1"
ipython = "^8.13.0"
tabulate = "^0.9.0"
kneed = "^0.8.3"
pandas = "^2.0.1"
seaborn = "^0.12.2"
[tool.poetry.group.dev.dependencies]
black = "^22.12.0"
flake8 = "4.0.1"
mypy = "^0.991"
pytest = "^7.2.1"
pytest-cov = "^4.0.0"
pytest-flake8 = "^1.1.1"
pytest-mypy = "^0.10.3"
sphinx = "^6.1.3"
sphinx-rtd-theme = "1.2.0rc2"
sphinx-pyproject-poetry = {git = "https://github.com/tetutaro/sphinx_pyproject_poetry.git"}
python-lsp-server = "^1.7.1"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
format = "{base}"
style = "pep440"
[tool.poetry-dynamic-versioning.substitution]
files = ["cam/__init__.py"]
# [tool.flake8]
# -> .flake8
[tool.black]
line-length = 79
include = "\\.pyi?$"
[tool.mypy]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "-v --cov --flake8 --mypy"
filterwarnings = """
ignore:SelectableGroups dict interface is deprecated. Use select.
"""
[tool.sphinx-pyproject]
copyright = "2023, Tetsutaro Maruyama <[email protected]>"
extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx.ext.linkcode", "sphinx.ext.githubpages", "sphinx_rtd_theme"]
templates_path = ["_templates"]
exclude_patterns = []
language = "ja"
html_theme = "sphinx_rtd_theme"
html_static_path = ["_static"]