Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#70)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 →
v4.5.0](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0)
- [github.com/psf/black-pre-commit-mirror: 23.7.0 →
24.1.1](psf/black-pre-commit-mirror@23.7.0...24.1.1)
- [github.com/pycqa/flake8: 6.1.0 →
7.0.0](PyCQA/flake8@6.1.0...7.0.0)
- [github.com/pre-commit/mirrors-clang-format: v16.0.6 →
v17.0.6](pre-commit/mirrors-clang-format@v16.0.6...v17.0.6)
- [github.com/pre-commit/mirrors-mypy: v1.5.1 →
v1.8.0](pre-commit/mirrors-mypy@v1.5.1...v1.8.0)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 8, 2024
1 parent 11f4694 commit e054ca9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
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

0 comments on commit e054ca9

Please sign in to comment.