-
Notifications
You must be signed in to change notification settings - Fork 90
/
pyproject.toml
105 lines (95 loc) · 2.82 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
[build-system]
requires = [
"setuptools>=42",
"wheel",
"pybind11>=2.4"
]
build-backend = "setuptools.build_meta"
[project]
name = 'dscribe'
version = '2.1.1'
description = 'A Python package for creating feature transformations in applications of machine learning to materials science.'
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.8"
dependencies = [
"numpy",
"scipy",
"ase>=3.19.0",
"scikit-learn",
"joblib>=1.0.0",
"sparse",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS",
"Operating System :: Unix",
"Programming Language :: C",
"Programming Language :: C++",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
]
keywords = ['descriptor', 'machine learning', 'atomistic structure', 'materials science']
[project.urls]
Documentation = 'https://singroup.github.io/dscribe/latest/'
Source = "https://singroup.github.io/dscribe"
[project.optional-dependencies]
dev = [
"coverage",
"ruff",
"coveralls",
"pymatgen>=2023.3.23",
"sphinx",
"sphinx_rtd_theme",
"sphinxcontrib-bibtex",
"pytest",
]
[tool.setuptools.packages.find]
include = ["dscribe*"]
exclude = ["tests*"]
[tool.ruff]
include = ["dscribe/*.py", "tests/*.py"]
# Same as Black
line-length = 88
indent-width = 4
[tool.ruff.lint]
select = [
"E", # pycodestyle
"W", # pycodestyle
"PL", # pylint
]
ignore = [
"E501", # Line too long ({width} > {limit} characters)
"E701", # Multiple statements on one line (colon)
"E731", # Do not assign a lambda expression, use a def
"E402", # Module level import not at top of file
"E741", # Ambiguous variable name
"W605", # Invalid escape sequence
"PLR0911", # Too many return statements
"PLR0912", # Too many branches
"PLR0913", # Too many arguments in function definition
"PLR0915", # Too many statements
"PLR2004", # Magic value used instead of constant
"PLW0603", # Using the global statement
"PLW2901", # redefined-loop-name
"PLR1714", # consider-using-in
"PLR5501", # else-if-used
]
fixable = ["ALL"]
[tool.ruff.format]
# indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"