-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
158 changed files
with
980 additions
and
1,150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
from setuptools import setup | ||
from setuptools_scm import get_version | ||
|
||
|
||
version = get_version() | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,39 @@ | ||
[build-system] | ||
requires = ["setuptools", "setuptools_scm", "wheel", "scikit-build", "cmake", "conan<2", "ninja"] | ||
|
||
[tool.ruff] | ||
src = ["python/resdata"] | ||
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 | ||
"PD", # pandas-vet | ||
] | ||
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 | ||
"PD901", | ||
"C409", | ||
"PLC0414", | ||
] | ||
|
||
[tool.ruff.lint.pylint] | ||
max-args = 15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from cwrap import BaseCClass | ||
|
||
from resdata import ResdataPrototype | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.