-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
96 lines (87 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
[tool.poetry]
name = "tanabesugano"
version = "1.4.3"
description = "A python-solver for Tanabe-Sugano and Energy-Correlation diagrams"
authors = ["Anselm Hahn <[email protected]>"]
maintainers = ["Anselm Hahn <[email protected]>"]
readme = "README.md"
license = "MIT"
keywords = [
"terminal",
"data-visualization",
"tanabe-sugano",
"energy-correlation",
"complex-ions",
]
repository = "https://github.com/Anselmoo/TanabeSugano"
homepage = "https://pypi.org/project/TanabeSugano"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Unix",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Shells",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Utilities",
]
include = ["LICENSE"]
exclude = ["test/**/*.py", "example/**", "ts-diagrams/**"]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
pandas = ">=1.2.4,<4.0.0"
numpy = [
{ version = "^1.24.4", python = ">=3.8,<3.9" },
{ version = "^1.26.4", python = ">=3.9,<3.10" },
{ version = "^2.0.2", python = ">=3.10,<3.13" },
]
matplotlib = "^3.4.2"
prettytable = ">=2.1,<4.0"
plotly = { version = "^5.13.1", optional = true }
update = "^0.0.1"
[tool.poetry.group.dev.dependencies]
pytest = ">=7.2,<9.0"
pytest-clarity = "^1.0.1"
pytest-cov = ">=4,<6"
flake8 = ">=6,<8"
black = ">=22.12,<25.0"
isort = "^5.11.4"
pytest-console-scripts = "^1.3.1"
ruff = "^0.7.0"
[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
tanabesugano = "tanabesugano.cmd:cmd_line"
[tool.poetry.extras]
plotly = ["plotly"]
[tool.ruff]
lint.select = ["ALL"]
lint.ignore = ["UP006", "UP007", "N801", "N802", "N803", "N806"]
target-version = "py38"
src = ["tanabesugano"]
[tool.ruff.lint.per-file-ignores]
"tanabesugano/test/*" = ["PT006", "ANN001", "ANN201", "D103", "PLR2004", "S101"]
[tool.ruff.lint.isort]
known-first-party = ["umf"]
force-single-line = true
lines-between-types = 1
lines-after-imports = 2
known-third-party = ["poetry.core"]
required-imports = ["from __future__ import annotations"]
[tool.pytest.ini_options]
markers = """
xfail: mark test as expecting to fail
skip: mark test as skipped
"""
addopts = "-v --cov=tanabesugano"