-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
120 lines (106 loc) · 2.34 KB
/
Copy pathpyproject.toml
File metadata and controls
120 lines (106 loc) · 2.34 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
name = "electrace"
version = "0.1.0a5"
description = "Persistent electronic-topology tracking across periodic reaction paths and structure series"
readme = "README.md"
requires-python = ">=3.11,<3.14"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
authors = [
{ name = "Austin Ellis" },
]
keywords = [
"computational-chemistry",
"electronic-structure",
"NEB",
"QTAIM",
"ELF",
"Bader",
"VASP",
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Chemistry",
"Typing :: Typed",
]
dependencies = [
"numpy>=1.26",
"PyYAML>=6.0",
"rich>=13.7",
"typer>=0.20",
]
[project.optional-dependencies]
accelerate = ["scipy>=1.11"]
docs = [
"jsonschema>=4.23,<5",
"mkdocs>=1.6",
"mkdocs-material>=9.5",
]
test = [
"pytest>=8.2",
"pytest-cov>=5.0",
]
dev = [
"build>=1.2",
"mypy>=1.11",
"pytest>=8.2",
"pytest-cov>=5.0",
"ruff>=0.6",
]
all = [
"scipy>=1.11",
]
[project.scripts]
electrace = "electrace.cli:app"
[project.urls]
Repository = "https://github.com/Austin243/ElecTrace"
Issues = "https://github.com/Austin243/ElecTrace/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/electrace"]
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/AGENTS.md",
]
[tool.pytest.ini_options]
addopts = "-ra --strict-config --strict-markers"
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["electrace"]
[tool.coverage.report]
show_missing = true
skip_covered = true
exclude_also = [
"if TYPE_CHECKING:",
"if __name__ == .__main__.:",
"raise NotImplementedError",
]
[tool.ruff]
target-version = "py311"
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "B", "C4", "SIM", "RUF"]
ignore = ["E501"]
allowed-confusables = ["–"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101"]
"src/electrace/cli.py" = ["B008"]
[tool.mypy]
strict = true
packages = ["electrace"]
warn_unreachable = true
show_error_codes = true
[[tool.mypy.overrides]]
module = ["scipy.*"]
ignore_missing_imports = true