Skip to content

Commit

Permalink
Merge pull request #30 from theochem/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
tovrstra authored Aug 23, 2024
2 parents 1613ba0 + ab49da9 commit 10305b7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
hooks:
- id: remove-crlf
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.6
rev: v0.6.1
hooks:
- id: ruff-format
- id: ruff
Expand Down
1 change: 1 addition & 0 deletions examples/psi4/runpsi4.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"""Example of the PSI4 interface, by writing out PSI4's quadrature grids."""

import psi4

from denspart.adapters.psi4 import write_density_npz

psi4.core.set_output_file("output.txt", False)
Expand Down
1 change: 1 addition & 0 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

import numpy as np
import pytest

from denspart.__main__ import main
from denspart.vh import ProModel

Expand Down
5 changes: 3 additions & 2 deletions tests/test_mbis.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@

import numpy as np
import pytest
from denspart.mbis import ExponentialFunction, MBISProModel, connected_vertices
from denspart.vh import ProModel, optimize_reduce_pro_model
from grid.basegrid import Grid
from numpy.testing import assert_allclose

from denspart.mbis import ExponentialFunction, MBISProModel, connected_vertices
from denspart.vh import ProModel, optimize_reduce_pro_model


def test_connected_vertices_simple():
assert connected_vertices([[0, 1], [1, 2]], [0, 1, 2, 3]) == set(
Expand Down
3 changes: 2 additions & 1 deletion tests/test_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@

import numpy as np
import pytest
from denspart.properties import spherical_harmonics
from numpy.testing import assert_allclose
from scipy.special import sph_harm

from denspart.properties import spherical_harmonics


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

0 comments on commit 10305b7

Please sign in to comment.