Skip to content

Commit 10305b7

Browse files
authored
Merge pull request #30 from theochem/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 1613ba0 + ab49da9 commit 10305b7

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525
hooks:
2626
- id: remove-crlf
2727
- repo: https://github.com/astral-sh/ruff-pre-commit
28-
rev: v0.5.6
28+
rev: v0.6.1
2929
hooks:
3030
- id: ruff-format
3131
- id: ruff

examples/psi4/runpsi4.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"""Example of the PSI4 interface, by writing out PSI4's quadrature grids."""
2121

2222
import psi4
23+
2324
from denspart.adapters.psi4 import write_density_npz
2425

2526
psi4.core.set_output_file("output.txt", False)

tests/test_main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
import numpy as np
2424
import pytest
25+
2526
from denspart.__main__ import main
2627
from denspart.vh import ProModel
2728

tests/test_mbis.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222

2323
import numpy as np
2424
import pytest
25-
from denspart.mbis import ExponentialFunction, MBISProModel, connected_vertices
26-
from denspart.vh import ProModel, optimize_reduce_pro_model
2725
from grid.basegrid import Grid
2826
from numpy.testing import assert_allclose
2927

28+
from denspart.mbis import ExponentialFunction, MBISProModel, connected_vertices
29+
from denspart.vh import ProModel, optimize_reduce_pro_model
30+
3031

3132
def test_connected_vertices_simple():
3233
assert connected_vertices([[0, 1], [1, 2]], [0, 1, 2, 3]) == set(

tests/test_properties.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020

2121
import numpy as np
2222
import pytest
23-
from denspart.properties import spherical_harmonics
2423
from numpy.testing import assert_allclose
2524
from scipy.special import sph_harm
2625

26+
from denspart.properties import spherical_harmonics
27+
2728

2829
def sph_harm_real(m, n, theta, phi):
2930
"""Construct real spherical harmonics, using SciPy's sph_harm function.

0 commit comments

Comments
 (0)