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 #35

Merged
merged 2 commits into from
Aug 5, 2024
Merged
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
@@ -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
Loading