-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (59 loc) · 1.75 KB
/
pyproject.toml
File metadata and controls
69 lines (59 loc) · 1.75 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 = "optimade-maker"
description = "Tools for making OPTIMADE APIs from raw structural data."
readme = "README.md"
requires-python = ">= 3.10, < 3.13"
license = { text = "MIT" }
keywords = ["optimade", "jsonapi", "materials"]
dynamic = ["version"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Intended Audience :: Science/Research",
"Topic :: Database",
"Topic :: Scientific/Engineering",
]
dependencies = [
"pydantic>=2,<3",
"optimade[server]~=1.4",
"pymongo>=4,<5",
"pyyaml~=6.0",
"tqdm~=4.65",
"requests~=2.31",
"click~=8.1",
"pandas>=1.5,<3",
"ase~=3.22",
]
[project.scripts]
optimake = "optimade_maker.cli:cli"
[build-system]
requires = ["setuptools >= 62", "setuptools_scm >= 8.1,< 11.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
fallback_version = "0.1.0"
version_scheme = "post-release"
[project.optional-dependencies]
pymatgen = ["pymatgen >= 2023.9"]
aiida = ["aiida-core ~= 2.6"]
ingest = ["optimade-maker[pymatgen,aiida]"]
tests = ["pytest~=8.3", "pytest-cov~=6.0", "numpy >= 1.22, < 3"]
dev = ["optimade-maker[tests]", "ruff", "pre-commit", "mypy"]
[tool.ruff]
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "W", "Q"]
ignore = ["E501", "E402"]
fixable = ["A", "B", "C", "D", "E", "F", "I"]
unfixable = []
per-file-ignores = {}
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.isort]
known-first-party = ["optimade_maker"]
[tool.mypy]
plugins = "pydantic.mypy"
ignore_missing_imports = true
follow_imports = "skip"