Skip to content

Commit 9b9918a

Browse files
[pre-commit.ci] auto fixes from pre-commit hooks
1 parent 6940a1a commit 9b9918a

File tree

5 files changed

+5
-28
lines changed

5 files changed

+5
-28
lines changed

devutils/sgtbx_extra_groups.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,7 @@
1616
import numpy
1717
from cctbx import sgtbx
1818

19-
from diffpy.structure.spacegroups import (
20-
IsSpaceGroupIdentifier,
21-
SpaceGroup,
22-
SymOp,
23-
mmLibSpaceGroupList,
24-
)
19+
from diffpy.structure.spacegroups import IsSpaceGroupIdentifier, SpaceGroup, SymOp, mmLibSpaceGroupList
2520

2621

2722
def tupleToSGArray(tpl):

src/diffpy/structure/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@
4242
from diffpy.structure.parsers import getParser
4343
from diffpy.structure.pdffitstructure import PDFFitStructure
4444
from diffpy.structure.structure import Structure
45-
from diffpy.structure.structureerrors import (
46-
LatticeError,
47-
StructureFormatError,
48-
SymmetryError,
49-
)
45+
from diffpy.structure.structureerrors import LatticeError, StructureFormatError, SymmetryError
5046

5147
# package version
5248
from diffpy.structure.version import __version__

src/diffpy/structure/parsers/p_cif.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -550,12 +550,7 @@ def _parse_space_group_symop_operation_xyz(self, block):
550550
block : CifBlock
551551
Instance of `CifBlock`.
552552
"""
553-
from diffpy.structure.spacegroups import (
554-
FindSpaceGroup,
555-
GetSpaceGroup,
556-
IsSpaceGroupIdentifier,
557-
SpaceGroup,
558-
)
553+
from diffpy.structure.spacegroups import FindSpaceGroup, GetSpaceGroup, IsSpaceGroupIdentifier, SpaceGroup
559554

560555
self.asymmetric_unit = list(self.stru)
561556
sym_synonyms = (

src/diffpy/structure/structure.py

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

2323
from diffpy.structure.atom import Atom
2424
from diffpy.structure.lattice import Lattice
25-
from diffpy.structure.utils import (
26-
_linkAtomAttribute,
27-
atomBareSymbol,
28-
isiterable,
29-
)
25+
from diffpy.structure.utils import _linkAtomAttribute, atomBareSymbol, isiterable
3026

3127
# ----------------------------------------------------------------------------
3228

tests/test_spacegroups.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@
1818

1919
import unittest
2020

21-
from diffpy.structure.spacegroups import (
22-
FindSpaceGroup,
23-
GetSpaceGroup,
24-
SpaceGroupList,
25-
_hashSymOpList,
26-
)
21+
from diffpy.structure.spacegroups import FindSpaceGroup, GetSpaceGroup, SpaceGroupList, _hashSymOpList
2722

2823
# ----------------------------------------------------------------------------
2924

0 commit comments

Comments
 (0)