-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
127 lines (117 loc) · 2.93 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
[build-system]
requires = ["pip>=19.1.1", "setuptools", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "fmu-dataio"
description = "Facilitate data io in FMU with rich metadata"
readme = "README.md"
requires-python = ">=3.8"
license = { text = "Apache 2.0" }
authors = [{ name = "Equinor", email = "[email protected]" }]
keywords = ["fmu", "sumo"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
]
dynamic = ["version"]
dependencies = [
"fmu-config>=1.1.0",
"numpy",
"pandas",
"pyarrow",
"pydantic < 2.10",
"PyYAML",
"xtgeo>=2.16",
]
[project.urls]
Homepage = "https://github.com/equinor/fmu-dataio"
Repository = "https://github.com/equinor/fmu-dataio"
Issues = "https://github.com/equinor/fmu-dataio/issues"
Documentation = "https://fmu-dataio.readthedocs.io"
[project.optional-dependencies]
dev = [
"coverage>=4.1",
"ert",
"hypothesis",
"mypy",
"pandas-stubs",
"pyarrow-stubs",
"pydocstyle",
"pytest-cov",
"pytest-mock",
"pytest-runner",
"pytest",
"rstcheck",
"ruff",
"types-PyYAML",
]
docs = [
"autoapi",
"autodoc-pydantic>=2.0.0",
"myst-parser",
"pydocstyle",
"sphinx-autodoc-typehints<1.23",
"sphinx-rtd-theme",
"sphinx-togglebutton",
"Sphinx",
"sphinxcontrib-apidoc",
"urllib3<1.27",
]
[project.entry-points.ert]
dataio_case_metadata = "fmu.dataio.scripts.create_case_metadata"
dataio_copy_preprocessed = "fmu.dataio.scripts.copy_preprocessed"
[tool.setuptools_scm]
write_to = "src/fmu/dataio/version.py"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = "tests"
[tool.pydocstyle]
convention = "google"
match = '(?!(test_|_)).*\.py'
[tool.ruff]
line-length = 88
exclude = ["version.py"]
[tool.ruff.lint]
ignore = ["C901"]
select = [
"C",
"E",
"F",
"I",
"PIE",
"Q",
"RET",
"RSE",
"SIM",
"W",
# "C90",
# "NPY",
# "PD",
# "PL",
]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.mypy]
disallow_untyped_defs = true
exclude = "^((tests|docs|examples|build|tools)/|conftest.py?)"
extra_checks = true
ignore_missing_imports = true
python_version = 3.8
strict_equality = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true