Skip to content

Commit

Permalink
Update style according to recent black versions (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-kiaer authored May 7, 2021
1 parent d59a796 commit d63a380
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/fmu/ensemble/ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ def _get_grid_index(self, active=True):

@property
def init_keys(self):
"""Return all keys available in the Eclipse INIT file """
"""Return all keys available in the Eclipse INIT file"""
warnings.warn(
(
"ensemble.init_keys() is deprecated and "
Expand All @@ -1580,7 +1580,7 @@ def init_keys(self):

@property
def unrst_keys(self):
"""Return keys availaible in the Eclipse UNRST file """
"""Return keys availaible in the Eclipse UNRST file"""
warnings.warn(
(
"ensemble.unrst_keys() is deprecated and "
Expand All @@ -1600,7 +1600,7 @@ def unrst_keys(self):
return all_keys

def get_unrst_report_dates(self):
"""Returns UNRST report step and the corresponding date """
"""Returns UNRST report step and the corresponding date"""
warnings.warn(
(
"ensemble.get_unrst_report_dates() is deprecated and "
Expand Down
2 changes: 1 addition & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
black>=20.8b0
black>=21.4b0
flake8>=2.6.0
pylint
pytest>=2.9.2
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ def rms_vol2df(kwargs):


def test_manifest(tmpdir):
"""Test initializing ensembles with manifest """
"""Test initializing ensembles with manifest"""

if "__file__" in globals():
# Easen up copying test code into interactive sessions
Expand Down

0 comments on commit d63a380

Please sign in to comment.