Skip to content

Commit

Permalink
♻️ pass linting
Browse files Browse the repository at this point in the history
  • Loading branch information
frank1010111 committed Mar 16, 2024
1 parent 75010db commit 51043d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ have been used to make forecasts from the individual well level up to the basin
and play level, depending on the availability of fluid property and bottomhole
pressure data.

Compare to the most common unconventional production analysis tool. Emprical
Compare to the most common unconventional production analysis tool. Empirical
decline curve analysis (DCA) provides very fast answers, but lack physical
meaning. Bluebonnet fits include estimates of the resource within the drainage
volume and of permeability divided by interfracture spacing. A completion
Expand Down
4 changes: 3 additions & 1 deletion src/bluebonnet/flow/flowproperties.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ def __init__(self, pvt_props: Mapping[str, ndarray], p_i: float):
pvt_props["pressure"], 1 / pvt_props["pseudopressure"]
)
warnings.warn(
"warning: scaling pseudopressure, using user's hydraulic diffusivity"
"warning: scaling pseudopressure, using user's hydraulic diffusivity",
RuntimeWarning,
stacklevel=2,
)
m_scaling_factor = m_scale_func(p_i)
else:
Expand Down
2 changes: 1 addition & 1 deletion src/bluebonnet/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def set_default_locators_and_formatters(self, axis):
axis.set_minor_locator(ticker.NullLocator())
axis.set_minor_formatter(ticker.NullFormatter())

def limit_range_for_scale(self, vmin, vmax, minpos): # noqa: ARG
def limit_range_for_scale(self, vmin, vmax, minpos): # noqa: ARG002
"""Do not allow negative values."""
return max(0.0, vmin), vmax

Expand Down

0 comments on commit 51043d4

Please sign in to comment.