-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (63 loc) · 1.57 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "pgaco"
version = "0.1.0"
description = "ACO with policy gradient"
readme = "README.rst"
authors = [
{name = "Will Jardee", email = "[email protected]"}
]
maintainers = [
{name = "Will Jardee", email = "[email protected]"}
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: Linux",
]
license = {text = "MIT license"}
requires-python = ">=3.9"
dependencies = [
"numpy>=1.26", # matrices
]
[project.optional-dependencies]
tuning = [
"optuna==4.0.0", # for tuning
"optuna-dashboard>=0.16", # for viewing optuna while running
"plotly>=5.24.1", # graphing functionality of optuna
]
analysis = [
"matplotlib>=3.9", # plotting
]
dev = [
"networkx>=3.3", # graph generation
"coverage", # testing
"mypy", # linting
"pytest", # testing
"ruff" # linting
]
[project.urls]
bugs = "https://github.com/willjardee/pgaco/issues"
changelog = "https://github.com/willjardee/pgaco/blob/master/changelog.md"
homepage = "https://github.com/willjardee/pgaco"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
"*" = ["*.*"]
[tool.pyright]
typeCheckingMode = "basic"
# 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"