Skip to content
Open
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
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
pass_filenames: false

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.11.0
rev: 26.1.0
hooks:
- id: black # Run Black - the uncompromising Python code formatter
- id: black-jupyter # Run Black - the uncompromising Python code formatter (Jupyter version)
Expand All @@ -45,12 +45,12 @@ repos:
- id: mixed-line-ending # Ensure consistent line endings

- repo: https://github.com/rhysd/actionlint
rev: v1.7.8
rev: v1.7.11
hooks:
- id: actionlint # GitHub Actions Workflow linter

- repo: https://github.com/kynan/nbstripout
rev: 0.8.2
rev: 0.9.0
hooks:
- id: nbstripout # Make sure that Jupyter notebooks under version control have their outputs stripped before committing
files: ".ipynb"
Expand All @@ -64,15 +64,15 @@ repos:
- id: cmake-lint # Apply linting to CMake files

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v21.1.5
rev: v21.1.8
hooks:
- id: clang-format # Format C++ code with Clang-Format - automatically applying the changes
types_or: [c++, c, c#, cuda, objective-c]
args:
- --style=Mozilla

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v3.1.0
rev: v3.2.0
hooks:
- id: setup-cfg-fmt # Automatically format/sanitize setup.cfg

Expand All @@ -87,12 +87,12 @@ repos:
- id: shell-fmt-go # Format Bash scripts

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.24.1
rev: v0.25
hooks:
- id: validate-pyproject # Validate the contents of pyproject.toml

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.35.0
rev: 0.36.2
hooks:
- id: check-readthedocs # Validate the given .readthedocs.yml file
- id: check-dependabot # Validate the given dependabot.yml file
Expand Down
14 changes: 7 additions & 7 deletions precommend/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
pass_filenames: false

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.11.0
rev: 26.1.0
hooks:
- id: black # Run Black - the uncompromising Python code formatter
- id: black-jupyter # Run Black - the uncompromising Python code formatter (Jupyter version)
Expand All @@ -45,12 +45,12 @@ repos:
- id: mixed-line-ending # Ensure consistent line endings

- repo: https://github.com/rhysd/actionlint
rev: v1.7.8
rev: v1.7.11
hooks:
- id: actionlint # GitHub Actions Workflow linter

- repo: https://github.com/kynan/nbstripout
rev: 0.8.2
rev: 0.9.0
hooks:
- id: nbstripout # Make sure that Jupyter notebooks under version control have their outputs stripped before committing
files: ".ipynb"
Expand All @@ -64,15 +64,15 @@ repos:
- id: cmake-lint # Apply linting to CMake files

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v21.1.5
rev: v21.1.8
hooks:
- id: clang-format # Format C++ code with Clang-Format - automatically applying the changes
types_or: [c++, c, c#, cuda, objective-c]
args:
- --style=Mozilla

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v3.1.0
rev: v3.2.0
hooks:
- id: setup-cfg-fmt # Automatically format/sanitize setup.cfg

Expand All @@ -87,12 +87,12 @@ repos:
- id: shell-fmt-go # Format Bash scripts

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.24.1
rev: v0.25
hooks:
- id: validate-pyproject # Validate the contents of pyproject.toml

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.35.0
rev: 0.36.2
hooks:
- id: check-readthedocs # Validate the given .readthedocs.yml file
- id: check-dependabot # Validate the given dependabot.yml file
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from setuptools import setup


setup()
1 change: 0 additions & 1 deletion sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import os
import shutil


# Check whether we need to copy the config file
if (
not os.path.exists("precommend/.pre-commit-config.yaml")
Expand Down