Skip to content

Commit

Permalink
Update pre-commit configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Sep 5, 2024
1 parent 6806c0f commit b0862a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
22 changes: 4 additions & 18 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
- id: check-case-conflict
- id: mixed-line-ending
- repo: https://github.com/asottile/pyupgrade
rev: 'v3.16.0'
rev: 'v3.17.0'
hooks:
- id: pyupgrade
args:
Expand All @@ -25,32 +25,18 @@ repos:
hooks:
- id: actionlint
- repo: https://github.com/glotzerlab/fix-license-header
rev: v0.3.2
rev: v0.4.1
hooks:
- id: fix-license-header
name: Fix license headers (Python)
types_or: [python, cython]
types_or: [c, python, cython, rst]
args:
- --license-file=LICENSE
- --add=Part of GSD, released under the BSD 2-Clause License.
- --keep-before=#!
- id: fix-license-header
name: Fix license headers (C)
types_or: [c]
args:
- --license-file=LICENSE
- --add=Part of GSD, released under the BSD 2-Clause License.
- --comment-prefix=//
- id: fix-license-header
name: Fix license headers (reStructuredText)
types_or: [rst]
args:
- --license-file=LICENSE
- --add=Part of GSD, released under the BSD 2-Clause License.
- --keep-after=.. include
- --comment-prefix=..
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.5.0'
rev: 'v0.6.3'
hooks:
- id: ruff-format
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion gsd/test/test_largefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import gsd.hoomd


@pytest.mark.validate()
@pytest.mark.validate
@pytest.mark.parametrize('N', [2**27, 2**28, 2**29 + 1])
def test_large_n(tmp_path, N):
"""Test data chunks and files larger than 2 GB."""
Expand Down

0 comments on commit b0862a6

Please sign in to comment.