forked from equinor/fmu-sumo-sim2sumo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (55 loc) · 1.39 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (55 loc) · 1.39 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "fmu-sumo-sim2sumo"
requires-python = ">=3.11"
dynamic = ["version"]
dependencies = [
"sumo-wrapper-python>=1.0.24",
"fmu-dataio",
"opm>=2020.10.2",
"res2df",
"xtgeo",
"pandas",
"pyarrow",
]
[project.optional-dependencies]
test = ["pytest"]
dev = ["pytest", "ruff", "pre-commit"]
all = [
"ert",
# Note: sim2sumo is dependent on fmu-sumo-uploader, but it is not installed by default.
# The uploader version is specified by Komodo and sim2sumo should not override this.
"fmu-sumo-uploader @ git+https://git@github.com/equinor/fmu-sumo-uploader",
]
docs = [
"sphinx==6.2.1",
"sphinx-rtd-theme",
"autoapi",
"sphinx-autodoc-typehints",
"sphinxcontrib-apidoc",
]
[tool.setuptools.packages.find]
where = ["src"]
[project.scripts]
sim2sumo = "fmu.sumo.sim2sumo.main:main"
[project.entry-points.ert]
fmu_sumo_sim2sumo_jobs = "fmu.sumo.sim2sumo.forward_models"
[tool.ruff]
exclude = [".env", ".git", ".github", ".venv", "venv"]
line-length = 79
[tool.ruff.lint]
ignore = ["E501", "N802"]
extend-select = [
"C4", # Flake8-comprehensions
"I", # isort
"SIM", # Flake8-simplify
"TC", # Flake8-type-checking
"TID", # Flake8-tidy-imports
"N", # pep8-naming
"PD", # Pandas
"NPY", # NumPy
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]