Skip to content

Commit

Permalink
Merge pull request #35 from xpublish-community/pre-commit-ci-update-c…
Browse files Browse the repository at this point in the history
…onfig

[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
jhamman authored Aug 5, 2024
2 parents f08a810 + f966c1a commit 09b8740
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
exclude: tests/data
Expand All @@ -14,7 +14,7 @@ repos:
files: requirements-dev.txt

- repo: https://github.com/econchick/interrogate
rev: 1.5.0
rev: 1.7.0
hooks:
- id: interrogate
exclude: ^(docs|setup.py|tests)
Expand All @@ -26,27 +26,27 @@ repos:
- id: blackdoc

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.1.1
hooks:
- id: flake8
exclude: docs/source/conf.py
args: [--max-line-length=105]

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
additional_dependencies: [toml]
args: ["--profile", "black", "--filter-files"]

- repo: https://github.com/psf/black
rev: 23.11.0
rev: 24.8.0
hooks:
- id: black
language_version: python3

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.0
rev: v1.11.1
hooks:
- id: mypy
exclude: docs/source/conf.py
Expand All @@ -55,14 +55,14 @@ repos:
[typing_extensions>=4.2.0, types-setuptools, types-PyYAML]

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
args:
- --quiet-level=2

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.17.0
hooks:
- id: pyupgrade
args:
Expand Down
1 change: 1 addition & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test against the same matrix as Github Actions"""

import nox
import yaml

Expand Down
1 change: 1 addition & 0 deletions xpublish_edr/formats/to_covjson.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Generate CoverageJSON responses for xarray Dataset for EDR queries
"""

import sys
from typing import Dict, List

Expand Down
1 change: 1 addition & 0 deletions xpublish_edr/formats/to_csv.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Generate CSV responses for an xarray dataset for EDR queries
"""

import xarray as xr
from fastapi import Response

Expand Down
1 change: 1 addition & 0 deletions xpublish_edr/formats/to_netcdf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Generate a NetCDF from an xarray Dataset for EDR queries
"""

from pathlib import Path
from tempfile import TemporaryDirectory

Expand Down
1 change: 1 addition & 0 deletions xpublish_edr/plugin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
OGC EDR router for datasets with CF convention metadata
"""

import importlib
import logging
from typing import List, Optional
Expand Down
1 change: 1 addition & 0 deletions xpublish_edr/query.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
OGC EDR Query param parsing
"""

from typing import Optional

from fastapi import Query
Expand Down

0 comments on commit 09b8740

Please sign in to comment.