Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 1, 2024
1 parent 8a58821 commit 316b7de
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
8 changes: 5 additions & 3 deletions gml_application_schema_toolbox/core/gmlas_xpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,11 @@ def resolve_xpath(self, ogr_layer_name, ogr_layer_pkid_name, pkid_value, xpath):

where = " and ".join(
[
"{}.{} = {}.{}".format(lyr[0], lyr[1], rec[0], rec[1])
if isinstance(rec, tuple)
else "{}.{} = {}".format(lyr[0], lyr[1], rec)
(
"{}.{} = {}.{}".format(lyr[0], lyr[1], rec[0], rec[1])
if isinstance(rec, tuple)
else "{}.{} = {}".format(lyr[0], lyr[1], rec)
)
for lyr, rec in sql_wheres
]
)
Expand Down
1 change: 0 additions & 1 deletion gml_application_schema_toolbox/creation_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
"""


import os
from builtins import range, str

Expand Down
8 changes: 5 additions & 3 deletions gml_application_schema_toolbox/toolbelt/network_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,9 +448,11 @@ def replyFinished(self):
% (
self.http_call_result.status_code,
self.http_call_result.status_message,
self.reply.url().toString()
if self.reply
else "reply has been deleted",
(
self.reply.url().toString()
if self.reply
else "reply has been deleted"
),
)
)
for k, v in list(self.http_call_result.headers.items()):
Expand Down
1 change: 1 addition & 0 deletions gml_application_schema_toolbox/viewers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
"""

from gml_application_schema_toolbox.viewers.geology_logs import ( # noqa: F401
GeologyLogViewer,
)
Expand Down

0 comments on commit 316b7de

Please sign in to comment.