Skip to content

Commit

Permalink
pre-commit code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tkarna committed Nov 7, 2024
1 parent 4520d97 commit 094d94e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 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.6.0
rev: v5.0.0
hooks:
- id: check-ast
- id: check-builtin-literals
Expand All @@ -19,13 +19,13 @@ repos:
- id: trailing-whitespace
exclude: '.*\.patch'
- repo: https://github.com/psf/black
rev: 24.8.0
rev: 24.10.0
hooks:
- id: black
args: ["--line-length", "80"]
language_version: python3
- repo: https://github.com/PyCQA/bandit
rev: '1.7.9'
rev: '1.7.10'
hooks:
- id: bandit
args: ["-c", ".bandit.yml"]
Expand Down
2 changes: 1 addition & 1 deletion test/test_manip.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

import numpy
import pytest
from mpi4py import MPI
from utils import device, runAndCompare

import sharpy as sp
from mpi4py import MPI


class TestManip:
Expand Down
2 changes: 1 addition & 1 deletion test/test_spmd.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import numpy as np
import pytest
from mpi4py import MPI
from utils import device

import sharpy as sp
from mpi4py import MPI
from sharpy import _sharpy_cw


Expand Down

0 comments on commit 094d94e

Please sign in to comment.