-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (83 loc) · 3.07 KB
/
pyproject.toml
File metadata and controls
97 lines (83 loc) · 3.07 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
[build-system]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"
[project]
name = "dbstep"
dynamic = ["version"]
description = "DFT-Based Steric Parameters"
readme = "README.md"
license = "MIT"
requires-python = ">=3.9"
authors = [
{ name = "Guilian Luchini" },
{ name = "Toby Patterson" },
{ name = "Robert Paton", email = "patonlab@colostate.edu" },
]
keywords = ["compchem", "steric", "sterimol", "informatics"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Chemistry",
]
dependencies = [
"numpy",
"scipy",
"cclib",
]
[project.optional-dependencies]
graph2d = ["rdkit", "pandas"]
dev = ["pytest", "ruff", "pre-commit"]
test = ["pytest"]
[project.urls]
Homepage = "https://github.com/patonlab/DBSTEP"
Repository = "https://github.com/patonlab/DBSTEP"
Issues = "https://github.com/patonlab/DBSTEP/issues"
[project.scripts]
dbstep = "dbstep.Dbstep:main"
[tool.setuptools]
packages = ["dbstep"]
[tool.setuptools.dynamic]
version = { attr = "dbstep.__version__" }
[tool.setuptools.package-data]
dbstep = ["data/*.xyz"]
# ── Ruff ─────────────────────────────────────────────────────────────
[tool.ruff]
line-length = 200
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "UP", "B"]
ignore = [
"W191", "W2", "W3", # tabs, trailing whitespace, blank lines
"E101", "E111", "E114", "E117", # indentation
"E501", # line length
"E2", # all whitespace rules
"E3", # blank line rules
"E401", # multiple imports on one line
"E402", # module-level import order
"E7", # statement rules
"B006", "B007", # mutable default, unused loop var
"UP010", # unnecessary __future__ imports
"UP031", "UP032", # %-format and .format() → f-string
]
[tool.ruff.lint.per-file-ignores]
# TODO: remove these per-file-ignores as code gets cleaned up
"dbstep/*.py" = ["F401", "F841", "UP015", "UP030", "B904"]
"examples/**" = ["F401", "F841"]
"tests/**" = ["F841"]
[tool.ruff.lint.isort]
known-first-party = ["dbstep"]
[tool.ruff.format]
indent-style = "tab"
# ── Pytest ───────────────────────────────────────────────────────────
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v"
[dependency-groups]
dev = [
"matplotlib>=3.9.4",
]