-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (115 loc) · 2.65 KB
/
pyproject.toml
File metadata and controls
127 lines (115 loc) · 2.65 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
[build-system]
requires = [
"setuptools>=45.0",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/fmu/settings/_version.py"
[project]
name = "fmu-settings"
description = "A library for managing 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 = [
"PyYAML",
"annotated_types", # Dependency in Pydantic also
"fmu-config",
"fmu-datamodels",
"pandas",
"pydantic",
]
[project.optional-dependencies]
dev = [
"mypy",
"pandas-stubs",
"pytest",
"pytest-cov",
"pytest-mock",
"pytest-xdist",
"ruff",
"types-PyYAML",
]
[project.urls]
Homepage = "https://github.com/equinor/fmu-settings"
Repository = "https://github.com/equinor/fmu-settings"
Documentation = "https://github.com/equinor/fmu-settings"
[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",
]
[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
[tool.ruff.lint.pydocstyle]
convention = "google"