Skip to content

ci(pre-commit.ci): autoupdate #8

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
Expand Up @@ -7,31 +7,31 @@ default_install_hook_types: [pre-commit, commit-msg]

repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.1.1
rev: v4.1.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: check-docstring-first
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.256
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.8
hooks:
- id: ruff
args: [--fix]

- repo: https://github.com/psf/black
rev: 23.1.0
rev: 25.1.0
hooks:
- id: black

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.12.1
rev: v0.24.1
hooks:
- id: validate-pyproject

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,4 @@ def linkcode_resolve(domain, info):

fn = os.path.relpath(fn, start=os.path.dirname("../mpl_arrow"))

return f"https://github.com/mpl-extensions/mpl-arrow/blob/main/mpl_arrow/{fn}{linespec}" # noqa
return f"https://github.com/mpl-extensions/mpl-arrow/blob/main/mpl_arrow/{fn}{linespec}"
1 change: 1 addition & 0 deletions src/mpl_arrow/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Easily plot nice-looking arrows with matplotlib."""

from importlib.metadata import PackageNotFoundError, version

try:
Expand Down
1 change: 1 addition & 0 deletions tests/test_mpl_arrow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import numpy as np
from matplotlib import pyplot as plt

from mpl_arrow import arrow, arrow_absolute, vector


Expand Down