-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
107 lines (96 loc) · 2.09 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "cgexplore"
maintainers = [{ name = "Andrew Tarzia", email = "[email protected]" }]
dependencies = [
"scipy",
"matplotlib",
"pandas",
"scikit-learn",
"stk",
"stko",
"atomlite",
"chemiscope>0.7.3",
"rustworkx",
"bbprepared",
]
requires-python = ">=3.11"
dynamic = ["version"]
readme = "README.rst"
[project.optional-dependencies]
dev = [
"ruff",
"mypy",
"pip-tools",
# TODO: Remove pin when https://github.com/TvoroG/pytest-lazy-fixture/issues/65 is resolved.
# pytest-lazy-fixture 0.6.0 is incompatible with pytest 8.0.0
"pytest<8",
"pytest-datadir",
"pytest-lazy-fixture",
"pytest-cov",
"sphinx",
"sphinx-copybutton",
"twine",
"sphinx_rtd_theme",
"furo",
]
[project.scripts]
delete-property = "cgexplore._internal.scripts.delete_property:main"
get-energies = "cgexplore._internal.scripts.get_energies:main"
get-values = "cgexplore._internal.scripts.get_values:main"
[project.urls]
github = "https://github.com/andrewtarzia/CGExplore"
[tool.setuptools_scm]
write_to = "src/cgexplore/_version.py"
[tool.setuptools.packages.find]
where = [
# list of folders that contain the packages (["."] by default)
"src",
]
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = ["ALL"]
ignore = ["ANN401", "COM812", "ISC001", "FBT001", "FBT002"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"S101",
"INP001",
"T201",
"PLR0913",
]
"first_paper_example/*" = [
"C901",
"INP001",
"ERA001",
"ANN001",
"PLR0912",
"PLR0913",
"PLR0915",
]
"optimisation_example/*" = [
"D103",
"C901",
"INP001",
"ERA001",
"PLR0912",
"PLR0913",
"PLR0915",
]
"docs/source/conf.py" = ["D100", "INP001"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_functions = ["test_*"]