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

Merged
merged 2 commits into from
Apr 23, 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
12 changes: 6 additions & 6 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 # Use the ref you want to point at
rev: v4.6.0 # Use the ref you want to point at
hooks:
- id: check-case-conflict
- id: check-docstring-first
Expand All @@ -19,26 +19,26 @@ repos:
types: [python, yaml, markdown]

- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.12.1
rev: v0.13.0
hooks:
- id: markdownlint-cli2
args: []

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.2
hooks:
- id: pyupgrade
args: [--py38-plus]

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.14
rev: v0.4.1
hooks:
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.12.1
rev: 24.4.0
hooks:
- id: black
types: [python]
Expand All @@ -47,7 +47,7 @@ repos:
- id: black-jupyter

- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
rev: 0.7.1
hooks:
- id: nbstripout

Expand Down
1 change: 1 addition & 0 deletions tests/test_asd.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the functioning of loading .asd files."""

from pathlib import Path
import pytest

Expand Down
1 change: 1 addition & 0 deletions topofileformats/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""topofileformats."""

from importlib.metadata import version

release = version("topofileformats")
Expand Down
1 change: 1 addition & 0 deletions topofileformats/asd.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""For decoding and loading .asd AFM file format into Python Numpy arrays."""

from __future__ import annotations
from pathlib import Path
from typing import BinaryIO
Expand Down
Loading