Skip to content

Commit 094d94e

Browse files
committed
pre-commit code formatting
1 parent 4520d97 commit 094d94e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.6.0
5+
rev: v5.0.0
66
hooks:
77
- id: check-ast
88
- id: check-builtin-literals
@@ -19,13 +19,13 @@ repos:
1919
- id: trailing-whitespace
2020
exclude: '.*\.patch'
2121
- repo: https://github.com/psf/black
22-
rev: 24.8.0
22+
rev: 24.10.0
2323
hooks:
2424
- id: black
2525
args: ["--line-length", "80"]
2626
language_version: python3
2727
- repo: https://github.com/PyCQA/bandit
28-
rev: '1.7.9'
28+
rev: '1.7.10'
2929
hooks:
3030
- id: bandit
3131
args: ["-c", ".bandit.yml"]

test/test_manip.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
import numpy
55
import pytest
6-
from mpi4py import MPI
76
from utils import device, runAndCompare
87

98
import sharpy as sp
9+
from mpi4py import MPI
1010

1111

1212
class TestManip:

test/test_spmd.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import numpy as np
22
import pytest
3-
from mpi4py import MPI
43
from utils import device
54

65
import sharpy as sp
6+
from mpi4py import MPI
77
from sharpy import _sharpy_cw
88

99

0 commit comments

Comments
 (0)