-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
77 lines (63 loc) · 1.48 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
[build-system]
requires = ["setuptools", "setuptools-scm", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_file = "src/fmu/sumo/uploader/_version.py"
[project]
name = "fmu-sumo-uploader"
requires-python = ">=3.9"
dynamic = ["version"]
dependencies = [
"sumo-wrapper-python>=1.0.3",
"azure.storage.blob",
"fmu-dataio",
"httpx>=0.24.1",
"OpenVDS; sys_platform != 'darwin' and python_version < '3.12'",
"ert; sys_platform != 'win32'",
]
[project.optional-dependencies]
dev = ["ruff", "pytest", "pre-commit"]
test = ["pytest", "pytest-timeout", "fmu-sumo"]
docs = [
"sphinx==6.2.1",
"sphinx-rtd-theme",
"autoapi",
"sphinx-autodoc-typehints",
"sphinxcontrib-apidoc",
]
[tool.setuptools]
package-dir = { "" = "src" }
include-package-data = true
platforms = ["any"]
[tool.setuptools.packages.find]
where = ["src"]
[project.scripts]
sumo_upload = "fmu.sumo.uploader.scripts.sumo_upload:main"
[project.entry-points.ert]
fmu_sumo_uploader_jobs = "fmu.sumo.uploader.hook_implementations.jobs"
sumo_upload = "fmu.sumo.uploader.scripts.sumo_upload"
[tool.ruff]
exclude = [
".env",
".git",
".github",
".venv",
"venv",
]
line-length = 79
[tool.ruff.lint]
ignore = [
"E501",
"PD901",
]
extend-select = [
"C4", # Flake8-comprehensions
"I", # isort
"SIM", # Flake8-simplify
"TC", # Flake8-type-checking
"TID", # Flake8-tidy-imports
"N", # pep8-naming
"PD", # Pandas
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]