forked from Auto-Mech/autochem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (63 loc) · 1.6 KB
/
pyproject.toml
File metadata and controls
69 lines (63 loc) · 1.6 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
[project]
name = "autochem"
version = "2025.7.21"
description = "Cheminformatics libraries used by the AutoMech project"
readme = "README.md"
authors = [
{ name = "Andreas Copan", email = "avcopan@gmail.com" }
]
requires-python = ">= 3.11"
dependencies = [
"altair",
"ipython>=8.15",
"more-itertools",
"networkx>=3.3",
"numpy>=1.26",
"pint",
"py3dmol",
"pyparsing",
"pyyaml",
"qcelemental",
"rdkit",
"scipy>=1.12",
"xarray>=2023.8",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = ["autochem", "automol", "autoreact", "phydat", "molsym"]
[tool.hatch.build.targets.wheel]
include = ["autochem", "automol", "autoreact", "phydat", "molsym"]
[dependency-groups]
dev = [
"jupyter",
"lefthook",
"mypy",
"myst-parser",
"pylint",
"pytest",
"pytest-xdist[psutil]",
"ruff",
"sphinx",
"sphinx-autodoc-typehints",
"sphinx-book-theme",
]
# Ruff configurations
[tool.ruff]
target-version = "py311"
exclude = ["automol", "autoreact", "molsym", "phydat", "tests", "docs"]
output-format = "concise"
fix = true
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"COM812", # missing trailing comma (handled by format)
"RUF022", # `__all__` is not sorted
"PLR2004", # magic value in comparison
"S101", # assert statement (may want to remove this eventually)
"TID252", # relative import
# resolve rule conflicts:
"D203", # incorrect blank line before class (uses D211 instead)
"D213", # multi-line summary second line (uses D212 instead)
]