Skip to content

Commit

Permalink
Merge pull request #14 from ConservationInternational/pre-commit-ci-u…
Browse files Browse the repository at this point in the history
…pdate-config

[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
azvoleff authored Jan 22, 2025
2 parents 8db75f7 + 0722070 commit a7c90d6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion te_schemas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
)
Expand Down
3 changes: 1 addition & 2 deletions te_schemas/aoi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a7c90d6

Please sign in to comment.