Skip to content

Commit

Permalink
fix: fix formating of precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
yoctoyotta1024 committed Aug 30, 2024
1 parent 25679d6 commit 84cd542
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
23 changes: 11 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ repos:
- id: trailing-whitespace
name: Trim trailing whitespaces
description: Trailing whitespaces are trimmed
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.4
hooks:
- id: ruff
args: ["--ignore=E402"] # Ignore E402 error "Module level import not at top of file"
description: python linter
- id: ruff-format
description: python formatter
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.4
hooks:
- id: ruff
args: ["--ignore=E402"] # Ignore E402 error "Module level import not at top of file"
description: python linter
- id: ruff-format
description: python formatter
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.3.0
hooks:
Expand All @@ -40,9 +40,8 @@ repos:
- id: cpplint
args: [--linelength=100, "--filter=-runtime/references,-readability/braces,-build/include,-build/c++11"]
types_or: [c, c++, cuda]
- repo: https://github.com/compilerla/conventional-pre-commit
rev: <git sha or tag>
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.4.0
hooks:
- id: conventional-pre-commit
- id: conventional-pre-commit
stages: [commit-msg]
args: []
4 changes: 2 additions & 2 deletions docs/source/usage/pybind11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ To delete the C++ parts of the repository:

.. code-block:: console
$ rm -rf libs/src_cxx docs/doxygen CMakeLists.txt test_mock_cxx.py
$ rm -rf libs/src_cxx docs/doxygen CMakeLists.txt test_mock_cxx.py
#. In the file ``.github/workflows/CI.yaml`` delete:

Expand All @@ -41,7 +41,7 @@ To delete the C++ parts of the repository:
cmake -S ./ -B ./build
cd build && make
and
and

.. code-block:: yaml
Expand Down

0 comments on commit 84cd542

Please sign in to comment.