Skip to content

Commit

Permalink
Formatting was failing for some versions of black
Browse files Browse the repository at this point in the history
There was one docstring that was being triggered as a failure with python 3.7.8
and black 20.8b1 but was passing in other environments so it wasn't caught in
the previous round of updating tests.
  • Loading branch information
mnlevy1981 committed Aug 26, 2020
1 parent 5189c9c commit 8582dd0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pop_tools/region_masks.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ def _verify_region_def_schema(region_defs):


def _get_region_defititions(ds, grid_name, mask_name):
"""Return the region mask definition from `region_mask_definitions.yaml`.
"""
"""Return the region mask definition from `region_mask_definitions.yaml`."""
if mask_name == 'default':
grid_attrs = grid_defs[grid_name]

Expand Down

0 comments on commit 8582dd0

Please sign in to comment.