Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #50

Merged
merged 3 commits into from
Sep 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 23 additions & 116 deletions docs/bayesian_fitting.ipynb

Large diffs are not rendered by default.

41 changes: 10 additions & 31 deletions docs/flow.ipynb

Large diffs are not rendered by default.

15 changes: 7 additions & 8 deletions docs/fluids.ipynb

Large diffs are not rendered by default.

40 changes: 19 additions & 21 deletions docs/forecast.ipynb

Large diffs are not rendered by default.

33 changes: 18 additions & 15 deletions docs/forecast_varying.ipynb

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions docs/getting_started.ipynb

Large diffs are not rendered by default.

59 changes: 26 additions & 33 deletions docs/oil_flow.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,4 @@ isort.required-imports = ["from __future__ import annotations"]
"__init__.py" = ["F401"]
"noxfile.py" = ["T", "T201"]
"tests/**.py" = ["D101", "D102", "D103"]
"docs/**.ipynb" = ["T", "I002"]
9 changes: 7 additions & 2 deletions src/bluebonnet/fluids/fluid.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ def build_pvt_gas(
]
)
compressibility = np.array(
[compressibility_DAK(temperature, p, temperature_pc, pressure_pc) for p in pressure]
[
compressibility_DAK(temperature, p, temperature_pc, pressure_pc)
for p in pressure
]
)
pvt_gas = pd.DataFrame(
data={
Expand Down Expand Up @@ -145,7 +148,9 @@ class Fluid:
water_saturation_initial: float = 0.0
"""Initial water saturation"""

def water_FVF(self, pressure: NDArray[np.float] | float) -> NDArray[np.float] | float:
def water_FVF(
self, pressure: NDArray[np.float] | float
) -> NDArray[np.float] | float:
"""Water formation volume factor (B-factor) from McCain.

Parameters
Expand Down
Loading