-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
85 lines (75 loc) · 2.14 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
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "resfo"
description="A (lazy) parser and writer for reservoir simulator fortran output format."
readme = "README.md"
classifiers=[
"Development Status :: 1 - Planning",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Programming Language :: Python",
"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",
]
dependencies = ["numpy"]
dynamic=["version"]
authors = [
{name="Equinor", email="fg_sib-scout@equinor.com"},
]
maintainers = [
{name="Eivind Jahren", email="ejah@equinor.com"},
]
[project.license]
text = "LGPL-3.0"
[project.urls]
"Homepage" = "https://github.com/equinor/resfo"
"Repository" = "https://github.com/equinor/resfo"
"Documentation" = "https://resfo.readthedocs.io/en/stable/"
"Bug Tracker" = "https://github.com/equinor/resfo/issues"
[project.optional-dependencies]
doc = [
"sphinx",
"sphinx-rtd-theme",
]
dev = [
"pytest",
"hypothesis",
"tox",
"pre-commit"
]
[tool.setuptools_scm]
[tool.ruff]
src = ["src"]
line-length = 88
[tool.ruff.lint]
select = [
"W", # pycodestyle
"I", # isort
"B", # flake-8-bugbear
"SIM", # flake-8-simplify
"F", # pyflakes
"PL", # pylint
"NPY", # numpy specific rules
"C4", # flake8-comprehensions
]
preview = true
ignore = ["PLW2901", # redefined-loop-name
"PLR2004", # magic-value-comparison
"PLR0915", # too-many-statements
"PLR0912", # too-many-branches
"PLR0911", # too-many-return-statements
"PLC2701", # import-private-name
"PLR6201", # literal-membership
"PLR0914", # too-many-locals
"PLR6301", # no-self-use
"PLW1641", # eq-without-hash
"PLR0904", # too-many-public-methods
"PLR1702", # too-many-nested-blocks
"PLW3201", # bad-dunder-method-name
]
[tool.ruff.lint.pylint]
max-args = 10