Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#2235)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 →
v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0)
- [github.com/astral-sh/ruff-pre-commit: v0.4.4 →
v0.8.4](astral-sh/ruff-pre-commit@v0.4.4...v0.8.4)
- [github.com/tox-dev/tox-ini-fmt: 1.3.1 →
1.4.1](tox-dev/tox-ini-fmt@1.3.1...1.4.1)
- [github.com/pre-commit/mirrors-clang-format: v18.1.5 →
v19.1.5](pre-commit/mirrors-clang-format@v18.1.5...v19.1.5)
- [github.com/MarcoGorelli/cython-lint: v0.16.2 →
v0.16.6](MarcoGorelli/cython-lint@v0.16.2...v0.16.6)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and njzjz authored Jan 5, 2025
1 parent ec3ccff commit 08f9a6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exclude: ^reacnetgenerator/static/webpack/\.yarn/releases/.*$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -17,15 +17,15 @@ repos:
- id: mixed-line-ending
# Python
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.4
rev: v0.8.4
hooks:
- id: ruff
args: ["--fix"]
types_or: [python, pyi, jupyter]
- id: ruff-format
types_or: [python, pyi, jupyter]
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: "1.3.1"
rev: "1.4.1"
hooks:
- id: tox-ini-fmt
# numpydoc
Expand All @@ -36,12 +36,14 @@ repos:
args: ["--write"]
# C++
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.5
rev: v19.1.5
hooks:
- id: clang-format
exclude: \.ipynb$

# Cython
- repo: https://github.com/MarcoGorelli/cython-lint
rev: v0.16.2
rev: v0.16.6
hooks:
- id: cython-lint
- id: double-quote-cython-strings
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# -- Project information -----------------------------------------------------

project = "ReacNetGenerator"
copyright = "2019-%d, DeepModeling" % datetime.now().year
copyright = f"2019-{datetime.now().year}, DeepModeling"
author = "Jinzhe Zeng"

# The full version, including alpha/beta/rc tags
Expand Down

0 comments on commit 08f9a6b

Please sign in to comment.