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

Merged
merged 2 commits into from
Feb 8, 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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
repos:
# Standard hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-case-conflict
- id: check-docstring-first
Expand All @@ -35,7 +35,7 @@ repos:

# Python formatting
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.7.0
rev: 24.1.1
hooks:
- id: black

Expand All @@ -48,14 +48,14 @@ repos:

# Python linter (Flake8)
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
exclude: ^(docs/.*|tests/.*)$

# C++ formatting
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v16.0.6
rev: v17.0.6
hooks:
- id: clang-format

Expand All @@ -70,7 +70,7 @@ repos:

# Python type checking
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.5.1'
rev: 'v1.8.0'
hooks:
- id: mypy
# additional_dependencies: [numpy]
Expand Down
1 change: 1 addition & 0 deletions src/pyhepmc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
processing the current event in the main thread.
"""

from pyhepmc._core import (
Units,
FourVector,
Expand Down
1 change: 1 addition & 0 deletions src/pyhepmc/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
supported file and will auto-detect the format. It can be used for
reading and writing.
"""

from __future__ import annotations
from ._core import (
GenEvent,
Expand Down
1 change: 1 addition & 0 deletions src/pyhepmc/view.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Visualization for GenEvent.
"""

from __future__ import annotations
from pyhepmc._graphviz import Digraph
from pyhepmc._prettify import db as prettify
Expand Down
Loading