-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
62 lines (50 loc) · 1.14 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "fmu-sumo-sim2sumo"
requires-python = ">=3.9"
dynamic = ["version"]
dependencies = [
"sumo-wrapper-python>=1.0.3",
"fmu-dataio",
"opm>=2020.10.2",
"res2df",
"xtgeo",
"pandas",
"arrow",
]
[project.optional-dependencies]
test = ["pytest"]
dev = ["pytest", "ruff", "pre-commit"]
nokomodo = ["ert"]
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.hook_implementations.jobs"
[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"]