-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
114 lines (102 loc) · 2.23 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
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
[build-system]
requires = [
"setuptools>=45.0",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/fmu/config/version.py"
[project]
name = "fmu-config"
description = "Library for various config scripts in FMU scopes"
readme = "README.md"
requires-python = ">=3.8"
license = { file = "LICENSE" }
authors = [
{ name = "Equinor", email = "[email protected]" },
]
keywords = ["fmu", "config"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = ["version"]
dependencies = ["pyyaml"]
[project.optional-dependencies]
dev = [
"astroid",
"autoapi",
"coverage",
"mypy",
"myst-parser",
"pylint",
"pytest-runner",
"pytest",
"rstcheck",
"ruff",
"sphinx_rtd_theme",
"Sphinx",
"types-PyYAML",
]
[project.urls]
Homepage = "https://github.com/equinor/fmu-config"
Repository = "https://github.com/equinor/fmu-config"
[project.scripts]
fmuconfig = "fmu.config.fmuconfigrunner:main"
[tool.mypy]
disallow_untyped_defs = true
exclude = "^((tests|docs|examples|build|tools)/|conftest.py?)"
extra_checks = true
ignore_missing_imports = true
python_version = 3.8
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",
]
addopts = "-ra --strict-markers --ignore=docs/conf.py --ignore=.eggs"
markers = [
"integration: Marks a test as an integration test",
]
[tool.rstcheck]
ignore_directives = ["argparse", "automodule"]
[tool.ruff]
line-length = 88
exclude = ["docs/"]
[tool.ruff.lint]
ignore = [
"C901",
]
select = [
"B",
"C",
"E",
"F",
"I",
"PIE",
"Q",
"RET",
"RSE",
"SIM",
"W",
"TCH",
"TID",
]
[tool.ruff.lint.isort]
combine-as-imports = true