-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
89 lines (63 loc) · 2.48 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
85
86
87
88
89
# SPDX-FileCopyrightText: 2021 - 2023 Constantine Evans <[email protected]>
#
# SPDX-License-Identifier: EUPL-1.2
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[tool.mypy]
python_version = "3.10"
# warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "--cov src/stickydesign --cov-report term-missing --verbose"
norecursedirs = ["dist", "build", ".tox"]
testpaths = ["tests"]
[tool.setuptools.package-data]
"stickydesign.params" = ["*.csv"]
[project]
name = "stickydesign"
version = "0.9.2"
authors = [{ name = "Constantine Evans", email = "[email protected]" }]
description = "StickyDesign DNA Tile Sticky End Package"
readme = "README.md"
dependencies = ["numpy >= 1.20, < 3.0", "typing_extensions~=4.0"]
[project.urls]
homepage = "https://dna.caltech.edu/StickyDesign"
source = "https://github.com/DNA-and-Natural-Algorithms-Group/stickydesign"
tracker = "https://github.com/DNA-and-Natural-Algorithms-Group/stickydesign/issues"
download = "https://github.com/DNA-and-Natural-Algorithms-Group/stickydesign/releases"
changelog = "https://github.com/DNA-and-Natural-Algorithms-Group/stickydesign/blob/master/docs/changelog.rst"
[tool.setuptools.packages.find]
where = ["src"]
[project.optional-dependencies]
accel = ["stickydesign-accel == 0.9.1"]
tests = ["pytest-cov", "pytest-benchmark", "pytest", "hypothesis"]
# packages = ["stickydesign", "stickydesign.stickydesign2"]
#[options.package_data]
#stickydesign = ["params/dnastackingbig.csv"]
[tool.ruff]
target-version = "py312"
# Same as Black.
line-length = 88
indent-width = 4
[tool.ruff.lint]
fixable = ["ALL"]
select = ["E4", "E7", "E9", "F", "B", "A001", "A002", "C4", "ICN", "PIE", "PYI", "RSE",
"RET501", "SIM", "TID", "TCH", "INT", "PTH", "PD", "PLR", "PLW", "TRY",
"NPY", "PERF", "FURB", "RUF", "UP", "D", "NPY201"]
# 2. Avoid enforcing line-length violations (`E501`)
ignore = ["E501", "TRY003", "D1", "UP007", "D205", "D401", "UP032", "UP", "PLR0913", "PLR2004", "PLR0912"]
# 3. Avoid trying to fix flake8-bugbear (`B`) violations.
unfixable = ["B"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"