Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#195)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 →
v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)
- [github.com/astral-sh/ruff-pre-commit: v0.1.14 →
v0.3.7](astral-sh/ruff-pre-commit@v0.1.14...v0.3.7)
- [github.com/pre-commit/mirrors-clang-format: v17.0.6 →
v18.1.3](pre-commit/mirrors-clang-format@v17.0.6...v18.1.3)
- [github.com/MarcoGorelli/cython-lint: v0.16.0 →
v0.16.2](MarcoGorelli/cython-lint@v0.16.0...v0.16.2)
<!--pre-commit.ci end-->

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
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 Apr 21, 2024
1 parent 4e92e81 commit ebf8647
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
# there are many log files in tests
# TODO: seperate py files and log files
Expand All @@ -16,7 +16,7 @@ repos:
- id: check-toml
# Python
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.14
rev: v0.3.7
hooks:
- id: ruff
args: ["--fix"]
Expand All @@ -29,12 +29,12 @@ repos:
args: ["--write"]
# C++
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.6
rev: v18.1.3
hooks:
- id: clang-format
# Cython
- repo: https://github.com/MarcoGorelli/cython-lint
rev: v0.16.0
rev: v0.16.2
hooks:
- id: cython-lint
- id: double-quote-cython-strings
Expand Down
1 change: 1 addition & 0 deletions mddatasetbuilder/detect.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Detect from trajectory."""

import pickle
from abc import ABCMeta, abstractmethod
from collections import defaultdict
Expand Down
1 change: 1 addition & 0 deletions mddatasetbuilder/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utils."""

import itertools
import pickle
from multiprocessing import Pool, Semaphore
Expand Down
1 change: 1 addition & 0 deletions tests/test_bond.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test detecting bonds."""

import numpy as np
from ase import Atoms

Expand Down
1 change: 0 additions & 1 deletion tests/test_datasetbuilder.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Test."""


import hashlib
import json
import math
Expand Down

0 comments on commit ebf8647

Please sign in to comment.