Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #52

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,32 @@ default_install_hook_types: [pre-commit, commit-msg]

repos:
- repo: "https://github.com/psf/black"
rev: "22.3.0"
rev: "24.2.0"
hooks:
- id: black
stages: [commit]

- repo: "https://github.com/commitizen-tools/commitizen"
rev: "v2.18.0"
rev: "v3.15.0"
hooks:
- id: commitizen
stages: [commit-msg]

- repo: "https://github.com/kynan/nbstripout"
rev: "0.5.0"
rev: "0.7.1"
hooks:
- id: nbstripout
stages: [commit]

- repo: "https://github.com/pre-commit/mirrors-prettier"
rev: "v2.7.1"
rev: "v4.0.0-alpha.8"
hooks:
- id: prettier
stages: [commit]
exclude: tests\/test_.+\.

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.215"
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.2.2"
hooks:
- id: ruff
stages: [commit]
Expand All @@ -39,13 +39,13 @@ repos:
stages: [commit]

- repo: https://github.com/FHPythonUtils/LicenseCheck
rev: "2023.1.1"
rev: "2024"
hooks:
- id: licensecheck
stages: [commit]

- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.2.6
hooks:
- id: codespell
stages: [commit]
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
autoapi_python_class_content = "init"
autoapi_member_order = "groupwise"


# -- Script to authenticate to Earthengine using a token -----------------------
def gee_configure() -> None:
"""Initialize earth engine according to the environment.
Expand Down
1 change: 1 addition & 0 deletions pygaul/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

This lib provides access to FAO GAUL 2015 datasets from a Python script. it is the best boundary dataset available for GEE at this point. We provide access to The current version (2015) administrative areas till level 2.
"""

import json
import warnings
from difflib import get_close_matches
Expand Down
1 change: 1 addition & 0 deletions tests/test_continent.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests of the continents submanagement."""

import json
from pathlib import Path

Expand Down
1 change: 0 additions & 1 deletion tests/test_get_items.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Tests of the ``AdmItems`` function."""


import pytest

import pygaul
Expand Down
Loading