-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (72 loc) · 2.26 KB
/
pyproject.toml
File metadata and controls
83 lines (72 loc) · 2.26 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
74
75
76
77
78
79
80
81
82
83
[build-system]
requires = [
"setuptools >= 52.0.0",
"wheel >= 0.36.2",
]
build-backend = "setuptools.build_meta"
[project]
name = "fides"
dynamic = ["version"]
description = "python-based Trust Region Optimization toolbox"
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.9"
license = {text = "BSD-3-Clause"}
authors = [
{name = "The fides developers", email = "frohlichfab@gmail.com"}
]
maintainers = [
{name = "Fabian Fröhlich", email = "frohlichfab@gmail.com"}
]
keywords = ["optimization", "trust-region", "systems biology"]
classifiers = [
"Development Status :: 4 - Beta",
"Topic :: Software Development :: Libraries",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"numpy>=1.19.2",
"scipy>=1.5.2",
"h5py>=3.5.0",
]
[project.urls]
Homepage = "https://github.com/fides-dev/fides"
Download = "https://github.com/fides-dev/fides/releases"
"Bug Tracker" = "https://github.com/fides-dev/fides/issues"
Documentation = "https://fides-optimizer.readthedocs.io/"
Changelog = "https://github.com/fides-dev/fides/releases"
[project.optional-dependencies]
test = [
"pytest>=5.4.2",
"pytest-cov>=4.0.0",
"flake8>=3.7.2",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["fides*"]
[tool.setuptools.dynamic]
version = {attr = "fides.version.__version__"}
[tool.ruff]
line-length = 79
target-version = "py313"
[tool.ruff.lint]
# Enable pycodestyle (E, W), pyflakes (F), isort (I), and other useful rules
select = ["E", "W", "F", "I", "N", "UP", "B", "A", "C4", "PT", "SIM"]
ignore = ["PT011"] # pytest.raises() without match parameter is acceptable
[tool.ruff.lint.per-file-ignores]
"fides/subproblem.py" = ["W605"]
[tool.ruff.lint.isort]
# Use black-compatible import sorting
force-single-line = false
force-wrap-aliases = false
[tool.ruff.format]
# Use single quotes to match black's skip-string-normalization
quote-style = "single"
indent-style = "space"