forked from equinor/fmu-settings-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
139 lines (127 loc) · 2.91 KB
/
pyproject.toml
File metadata and controls
139 lines (127 loc) · 2.91 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
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
128
129
130
131
132
133
134
135
136
137
138
139
[build-system]
requires = [
"setuptools>=45.0",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/fmu_settings_api/_version.py"
[project]
name = "fmu-settings-api"
description = "The API for fmu-settings"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "GPL-3.0" }
authors = [
{ name = "Equinor", email = "fg-fmu_atlas@equinor.com" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering",
"Topic :: Utilities",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Natural Language :: English",
]
dynamic = ["version"]
dependencies = [
"fastapi",
"fmu-datamodels",
"fmu-settings>=0.28.0",
"httpx",
"packaging",
"pydantic",
"pyyaml",
"rapidfuzz>=3.0.0",
"runrms>=0.7.3",
"structlog",
"uvicorn",
]
[project.optional-dependencies]
dev = [
"python-dotenv",
"mypy",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-mock",
"pytest-xdist",
"ruff",
"types-PyYAML",
"types-requests",
"watchfiles",
"fmu-settings-cli",
]
[project.urls]
Homepage = "https://github.com/equinor/fmu-settings-api"
Repository = "https://github.com/equinor/fmu-settings-api"
Documentation = "https://github.com/equinor/fmu-settings-api"
[tool.coverage.run]
omit = [
"_version.py",
]
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
disallow_untyped_calls = true
disallow_subclassing_any = true
extra_checks = true
strict_equality = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.pylint]
disable = "missing-module-docstring"
[tool.pytest.ini_options]
norecursedirs = [
".git",
".tox",
".env",
"dist",
"build",
]
markers = [
"integration: Marks a test as an integration test",
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
line-length = 88
exclude = ["_version.py"]
[tool.ruff.lint]
ignore = [
"C901",
]
select = [
"B", # flake-8-bugbear
"C", # pylint-convention
"C90", # mccabe
"D", # pydocstyle
"E", # pycodestyle-error
"F", # pyflakes
"I", # isort
"NPY", # numpy
"PD", # pandas-vet
"PIE", # flake8-pie
"PL", # pylint
"Q", # flake-8 quotes
"Q", # flake8-quotes
"RET", # flake8-return
"RSE", # flake8-raise
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"W", # pylint-warnings
]
[tool.ruff.lint.isort]
combine-as-imports = true
known-third-party = ["fmu.settings"]
[tool.ruff.lint.pydocstyle]
convention = "google"