Skip to content

Commit

Permalink
Remove lint
Browse files Browse the repository at this point in the history
  • Loading branch information
swainn committed Jan 5, 2024
1 parent 4707fac commit 6ed7012
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tethys_apps/management/commands/syncstores.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def add_arguments(self, parser):
default=False,
help="When called with this option, the database will be dropped prior to syncing "
"resulting in a refreshed database.",
),
)
parser.add_argument(
"-f",
"--firsttime",
Expand All @@ -40,7 +40,7 @@ def add_arguments(self, parser):
default=False,
help="Call with this option to force the initializer functions to be executed with "
'"first_time" parameter True.',
),
)
parser.add_argument("-d", "--database", help="Name of database to sync.")

def handle(self, *args, **options):
Expand Down
4 changes: 2 additions & 2 deletions tethys_layouts/views/map_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def get_context(self, request, context, *args, **kwargs):
# Add layers to the Map
log.debug("Composing layers...")
layer_groups = self.compose_layers(
request=request, map_view=map_view, *args, **kwargs
*args, request=request, map_view=map_view, **kwargs
)
# Add layers to map view if not already added
for layer_group in layer_groups:
Expand Down Expand Up @@ -484,7 +484,7 @@ def _build_map_view(self, request, view, extent, *args, **kwargs):

# Configure initial basemap visibility
map_view.disable_basemap = self.should_disable_basemap(
request=request, *args, **kwargs
*args, request=request, **kwargs
)

# Configure feature selection
Expand Down
4 changes: 2 additions & 2 deletions tethys_portal/views/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def get_app(request, app):
metadata["customSettings"] = {
s.name: {
"type": s.type,
"value": s.get_value(),
}
"value": s.get_value(),
}
for s in app.custom_settings
}

Expand Down

0 comments on commit 6ed7012

Please sign in to comment.