-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
128 lines (119 loc) · 2.89 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[build-system]
requires = [
"setuptools>=45",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/xtgeoviz/version.py"
[project]
name = "xtgeoviz"
description = "Plotting library for xtgeo objects"
readme = "README.md"
requires-python = ">=3.9"
license = { file = "LICENSE" }
authors = [
{ name = "Equinor", email = "[email protected]" },
]
keywords = [
"energy",
"subsurface",
"reservoir",
"scientific",
"engineering",
"maps",
"xtgeo",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Natural Language :: English",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
]
dynamic = ["version"]
dependencies = [
"PyYAML",
"matplotlib>=3.3.2",
"numpy",
"scipy>=1.5.3",
"xtgeo",
]
[project.optional-dependencies]
tests = [
"coverage>=4.1",
"mypy",
"pylint",
"pytest",
"pytest-cov",
"pytest-mock",
"pytest-runner",
"pytest-xdist",
"rstcheck",
"ruff",
"types-PyYAML",
]
docs = [
"autoapi",
"myst-parser",
"sphinx",
"sphinx-argparse",
"sphinx-autodoc-typehints<2.4",
"sphinx-copybutton",
"sphinx-togglebutton",
"sphinx_rtd_theme",
"sphinxcontrib-apidoc",
]
[project.urls]
Homepage = "https://github.com/equinor/xtgeoviz"
Repository = "https://github.com/equinor/xtgeoviz"
Documentation = "https://github.com/equinor/xtgeoviz"
Issues = "https://github.com/equinor/xtgeoviz/issues"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
ignore = [
"C901",
]
select = [
# "B", # flake-8-bugbear
"C", # pylint-convention
"E", # pycodestyle-error
"F", # pyflakes
"I", # isort
"NPY", # numpy
"PIE", # flake8-pie
"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.mypy]
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--verbose"
log_cli = "False"
log_cli_format = "%(levelname)8s (%(relativeCreated)6.0fms) %(filename)44s [%(funcName)40s()] %(lineno)4d >> %(message)s"
log_cli_level = "INFO"
testpaths = "tests"
markers = [
"integration: Integration tests",
]