forked from infretis/inftools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (58 loc) · 1.4 KB
/
pyproject.toml
File metadata and controls
69 lines (58 loc) · 1.4 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
[tool.poetry]
name = "inftools"
version = "0.1.0"
description = "Useful tools for AIRETIS simulations"
authors = [
"Daniel Zhang <daniel.t.zhang@ntnu.no>",
"Lukas Baldauf <lukas.baldauf@ntnu.no>",
"Anders Lervik <andersle@gmail.com>",
"Titus Sebastiaan van Erp <titus.van.erp@ntnu.no>"
]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
numpy = "^1.26.0"
matplotlib = "^3.7.2"
tomli = "^2.0.1"
tomli-w = "^1.0.0"
typer = "^0.12.3"
mdanalysis = "^2.7.0"
[tool.poetry.scripts]
inft = "inftools.bin:app"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.group.dev.dependencies]
ruff = "^0.0.282"
black = "^23.7.0"
mypy = "^1.4.1"
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
jupyter-black = "^0.3.4"
flake8 = "^6.1.0"
pytest-randomly = "^3.13.0"
pre-commit = "^3.3.3"
[tool.ruff]
line-length = 79
select = ["F", "E", "W", "I001", "UP"]
ignore-init-module-imports = true
[tool.ruff.pydocstyle]
convention = "google"
[tool.black]
line-length = 79
target-version = ["py310", "py311", "py312"]
[tool.mypy]
warn_unused_ignores = true
show_error_codes = true
plugins = "numpy.typing.mypy_plugin"
[[tool.mypy.overrides]]
module = "matplotlib.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "scipy.optimize.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
markers = [
"heavy: mark test as heavy.",
]