-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
109 lines (95 loc) · 2.77 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
106
107
108
109
[tool.poetry]
name = "ukaea-multiparser"
version = "1.0.4"
description = "Multiple File Parser for monitoring and processing updates to a given set of output files."
authors = ["Kristian Zarębski <[email protected]>"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Monitoring",
"Typing :: Typed"
]
keywords = [
"parsing",
"monitoring",
"logging"
]
packages = [
{ include = "multiparser" },
]
readme = "README.md"
[tool.poetry.urls]
Documentation = "https://ukaea.github.io/Multiparser/"
Repository = "https://github.com/ukaea/Multiparser"
Issues = "https://github.com/ukaea/Multiparser/issues"
"Change Log" = "https://github.com/ukaea/Multiparser/blob/main/CHANGELOG.md"
[tool.poetry.dependencies]
python = "^3.10,<3.14"
f90nml = {version = "^1.4.3", optional = true}
pandas = {version = "^2.1.1", optional = true}
toml = "^0.10.2"
pyyaml = "^6.0.1"
pyarrow = [
{version = ">=14,<18", optional = true, python="<3.13"},
{version = ">=18", optional = true, python=">=3.13"},
]
flatdict = "^4.0.1"
loguru = "^0.7.2"
[tool.poetry.extras]
arrow = ["pyarrow", "pandas"]
fortran = ["f90nml"]
[tool.poetry.group.testing.dependencies]
pytest = "^8.1.1"
pytest-sugar = "^1.0.0"
pytest-cov = ">=4.1,<7.0"
xeger = "^0.4.0"
pytest-mock = "^3.11.1"
pandas = "^2.1.1"
[tool.poetry.group.quality.dependencies]
bandit = "^1.7.5"
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.5.3"
mkdocs-material = "^9.5.5"
pymdown-extensions = "^10.7"
mkdocs-mermaid2-plugin = "^1.1.1"
mkdocs-git-revision-date-localized-plugin = "^1.2.2"
mktestdocs = "^0.2.1"
mkdocstrings = {extras = ["python"], version = ">=0.24.1,<0.28.0"}
mike = "^2.0.0"
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.29.0"
mypy = "^1.9.0"
pandas-stubs = "^2.2.1.240316"
types-toml = "^0.10.8.20240310"
types-pyyaml = "^6.0.12.20240311"
ruff = ">=0.3.3,<0.8.0"
interrogate = "^1.5.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
lint.extend-select = ["C901"]
lint.mccabe.max-complexity = 11
[tool.pytest.ini_options]
addopts = "-p no:warnings --cov=multiparser"
testpaths = [
"tests"
]
markers = [
"parsing: tests of parsing functions for files",
"monitor: tests of the file monitor",
"scenario: tests for scenarios"
]
[tool.interrogate]
ignore-init-method = true
fail-under = 95
verbose = 1
exclude = ["docs", "tests", "multiparser/typing.py"]