Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ repos:
args: [--py37-plus, --keep-runtime-typing]

- repo: https://github.com/pycqa/isort
rev: 9.0.2
rev: 10.0.0b1
hooks:
- id: isort
name: isort (python)
Expand All @@ -61,6 +61,6 @@ repos:
args: ["--line-length", "80"]

- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.30.1
rev: v1.31.1
hooks:
- id: zizmor
3 changes: 1 addition & 2 deletions examples/issues/206/missing-reset.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@
from tad_mctc.convert import numpy_to_tensor, tensor_to_numpy
from tad_mctc.units import AA2AU

from dxtb import GFN1_XTB
from dxtb import GFN1_XTB, kill_timer
from dxtb import Calculator as DxtbCalculator
from dxtb import kill_timer

try:
from ase import Atoms
Expand Down
3 changes: 1 addition & 2 deletions examples/issues/206/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@
from tad_mctc.convert import numpy_to_tensor, tensor_to_numpy
from tad_mctc.units import AA2AU

from dxtb import GFN1_XTB
from dxtb import GFN1_XTB, kill_timer
from dxtb import Calculator as DxtbCalculator
from dxtb import kill_timer

try:
from ase import Atoms
Expand Down
3 changes: 1 addition & 2 deletions src/dxtb/_src/calculators/types/analytical.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@
from tad_mctc.convert import any_to_tensor
from tad_mctc.math import einsum

from dxtb import OutputHandler
from dxtb import OutputHandler, labels
from dxtb import integrals as ints
from dxtb import labels
from dxtb._src import ncoord, scf
from dxtb._src.components.interactions.container import Charges, Potential
from dxtb._src.components.interactions.field import efield as efield
Expand Down
3 changes: 1 addition & 2 deletions src/dxtb/_src/calculators/types/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ class and implement the :meth:`calculate` method and the corresponding methods
import torch
from tad_mctc.exceptions import DeviceError, DtypeError

from dxtb import IndexHelper, OutputHandler
from dxtb import IndexHelper, OutputHandler, labels
from dxtb import integrals as ints
from dxtb import labels
from dxtb._src.calculators.properties.vibration import (
IRResult,
RamanResult,
Expand Down
3 changes: 1 addition & 2 deletions test/test_integrals/test_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@
import pytest
import torch

from dxtb import GFN1_XTB, IndexHelper
from dxtb import GFN1_XTB, IndexHelper, labels
from dxtb import integrals as ints
from dxtb import labels
from dxtb._src.constants.labels import INTDRIVER_LIBCINT, INTDRIVER_PYTORCH
from dxtb._src.exlibs.available import has_libcint
from dxtb._src.integral.driver import libcint, pytorch
Expand Down
3 changes: 1 addition & 2 deletions test/test_integrals/test_libcint.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@
import torch
from tad_mctc.batch import pack

from dxtb import GFN1_XTB, IndexHelper
from dxtb import GFN1_XTB, IndexHelper, labels
from dxtb import integrals as ints
from dxtb import labels
from dxtb._src.exlibs.available import has_libcint
from dxtb._src.integral.driver.libcint import IntDriverLibcint
from dxtb._src.integral.driver.manager import DriverManager
Expand Down
Loading