diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6a083e3..a08a7ea 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ repos: # - id: pretty-format-json # args: ["--autofix", "--no-sort-keys"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.3 + rev: v0.9.2 hooks: - id: ruff args: ["check", "--select", "I", "--fix"] diff --git a/tasks.py b/tasks.py index 475e3ed..5eac586 100644 --- a/tasks.py +++ b/tasks.py @@ -40,7 +40,7 @@ def query_yes_no(question, default="yes"): elif choice in valid: return valid[choice] else: - sys.stdout.write("Please respond with 'yes' or 'no' " "(or 'y' or 'n').\n") + sys.stdout.write("Please respond with 'yes' or 'no' (or 'y' or 'n').\n") def get_version(c): diff --git a/te_schemas/__init__.py b/te_schemas/__init__.py index 37349ad..f104fb5 100644 --- a/te_schemas/__init__.py +++ b/te_schemas/__init__.py @@ -35,7 +35,7 @@ def validate_matrix(legend, transitions): ] if len(trans) == 0: raise ValidationError( - "Meaning of transition from {} to " "{} is undefined for {}".format( + "Meaning of transition from {} to {} is undefined for {}".format( c_initial, c_final, transitions ) ) diff --git a/te_schemas/aoi.py b/te_schemas/aoi.py index 3848f01..0a1fe9e 100644 --- a/te_schemas/aoi.py +++ b/te_schemas/aoi.py @@ -109,8 +109,7 @@ def meridian_split(self, as_extent=False, out_format="geojson"): out = unsplit_out else: logger.info( - "AOI appears to cross 180th meridian " - "- splitting AOI into two geojsons." + "AOI appears to cross 180th meridian - splitting AOI into two geojsons." ) out = split_out