-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
97 lines (90 loc) · 2.01 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
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "spgrep"
description = "On-the-fly generator of space-group irreducible representations"
readme = "README.md"
authors = [
{ name = "Kohei Shinohara", email = "[email protected]" },
]
requires-python = ">=3.9.0"
dynamic = [
'version',
]
license = { text = "BSD" }
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"typing_extensions",
"numpy>=1.20.1",
"spglib>=2.0.2",
]
[project.urls]
homepage = "https://github.com/spglib/spgrep"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pre-commit",
"mypy",
"pyupgrade",
"pydocstyle",
"nbqa",
"phonopy",
"notebook",
"matplotlib",
"seaborn",
"ipython",
"ipykernel",
]
docs = [
"docutils",
"sphinx",
"sphinx-autobuild",
"nbsphinx",
"sphinxcontrib-bibtex>=2.6.2",
"myst-parser",
"sphinx-book-theme>=0.8.0",
"linkify-it-py",
]
# Enable version inference
[tool.setuptools_scm]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 99
[tool.ruff.lint]
extend-select = [
"F", # pyflakes
"E", # pycodestyle-errors
"I", # isort
# "D", # pydocstyle
"UP", # pyupgrade
]
extend-ignore = [
"D100",
"D101",
"D102",
"D103",
"D203", # Conflict with D211
"D205",
"D213", # Conflict with D212
"E501",
]
[tool.mypy]
exclude = [
'docs',
]
warn_no_return = false