Skip to content

Commit

Permalink
Revert C416 for python/grass/pygrass/gis/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Oct 5, 2024
1 parent 0977a14 commit f7874f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/grass/pygrass/gis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def mapsets(self, pattern=None, permissions=True):
[...]
"""
mapsets = list(self)
mapsets = [mapset for mapset in self] # noqa: C416
if permissions:
mapsets = [
mapset
Expand Down

0 comments on commit f7874f6

Please sign in to comment.