-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (109 loc) · 2.96 KB
/
Copy pathpyproject.toml
File metadata and controls
121 lines (109 loc) · 2.96 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "kinisi"
dynamic = ["version"]
description = "Efficient estimation of diffusion processes from molecular dynamics."
readme = "README.md"
authors = [
{name = "Andrew R. McCluskey", email = "andrew.mccluskey@bristol.ac.uk"},
{name = "Benjamin J. Morgan", email="b.j.morgan@bath.ac.uk"}
]
maintainers = [
{name = "Andrew R. McCluskey", email = "andrew.mccluskey@bristol.ac.uk"},
{name = "Benjamin J. Morgan", email="b.j.morgan@bath.ac.uk"}
]
license = "MIT"
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Physics'
]
requires-python = ">=3.10"
dependencies = [
'numpy>=2.0.0',
'scikit-learn>=1.5.0',
'scipy>=1.9.3',
'tqdm',
'statsmodels>=0.14.0',
'scipp>=24.8.0',
'uncertainties>=3.2.3',
'bs4>=0.0.2',
'emcee>=3.1.6',
'dynesty>=2.1.5'
]
[project.optional-dependencies]
dev = [
'pymatgen',
'MDAnalysis>=2.8.0',
'pytest',
'pytest-cov',
'ase',
'h5py',
'ruff',
'pre-commit',
]
docs = [
'pymatgen',
'MDAnalysis>=2.8.0',
'ase',
'ipykernel',
'nbsphinx',
'corner',
'sphinx_autodoc_typehints',
'h5py',
'pymatgen-analysis-diffusion',
'pydata_sphinx_theme',
'myst_parser',
'tidynamics'
]
[project.urls]
homepage = 'https://github.com/bjmorgan/kinisi'
documentation = 'https://kinisi.rtfd.io'
[tool.hatch.build]
include = ['kinisi']
[tool.hatch.version]
path = "kinisi/__init__.py"
[tool.coverage.run]
source = ['kinisi']
[tool.ruff]
line-length = 120
extend-exclude = ["docs"]
# Assume Python 3.10 or higher
target-version = "py310"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# isort
"I"]
ignore = ["E501"] # ignore line length violations
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # unused-import
"analyze.py" = ["F401", "I001"] # unused-import
"parser.py" = ["F821"] # unimported modules in type hints
"mdanalysis.py" = ["F821"] # unimported modules in type hints
"pymatgen.py" = ["F821"] # unimported modules in type hints
"ase.py" = ["F821"] # unimported modules in type hints
"analyzer.py" = ["F821"] # unimported modules in type hints
"conductivity_analyzer.py" = ["F821"] # unimported modules in type hints
"diffusion_analyzer.py" = ["F821"] # unimported modules in type hints
"jump_diffusion_analyzer.py" = ["F821"] # unimported modules in type hints
[tool.ruff.format]
quote-style = "single"