Skip to content

Commit f613647

Browse files
[pre-commit.ci] auto fixes from pre-commit hooks
1 parent bfbc249 commit f613647

File tree

16 files changed

+42
-26
lines changed

16 files changed

+42
-26
lines changed

devutils/makesdist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import os
1010
import subprocess
1111
import sys
1212
import tarfile
13+
1314
from setup import FALLBACK_VERSION, versiondata
1415

1516
BASEDIR = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))

src/diffpy/structure/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929

3030
from diffpy.structure.atom import Atom
3131
from diffpy.structure.lattice import Lattice
32+
from diffpy.structure.parsers import getParser
3233
from diffpy.structure.pdffitstructure import PDFFitStructure
3334
from diffpy.structure.structure import Structure
3435
from diffpy.structure.structureerrors import LatticeError, StructureFormatError, SymmetryError
35-
from diffpy.structure.parsers import getParser
3636

3737
# package version
3838
from diffpy.structure.version import __version__

src/diffpy/structure/parsers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
outputFormats -- list of available output formats
3232
"""
3333

34-
from diffpy.structure.structureerrors import StructureFormatError
3534
from diffpy.structure.parsers.parser_index_mod import parser_index
3635
from diffpy.structure.parsers.structureparser import StructureParser
36+
from diffpy.structure.structureerrors import StructureFormatError
3737

3838
# silence pyflakes checker
3939
assert StructureParser

src/diffpy/structure/parsers/p_auto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
import os
2222

23-
from diffpy.structure.structureerrors import StructureFormatError
2423
from diffpy.structure.parsers import StructureParser, parser_index
24+
from diffpy.structure.structureerrors import StructureFormatError
2525

2626

2727
class P_auto(StructureParser):

src/diffpy/structure/parsers/p_cif.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
import six
2727

2828
from diffpy.structure import Atom, Lattice, Structure
29-
from diffpy.structure.structureerrors import StructureFormatError
3029
from diffpy.structure.parsers import StructureParser
30+
from diffpy.structure.structureerrors import StructureFormatError
3131

3232
# ----------------------------------------------------------------------------
3333

src/diffpy/structure/parsers/p_discus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
import six
2323

2424
from diffpy.structure import Lattice, PDFFitStructure
25-
from diffpy.structure.structureerrors import StructureFormatError
2625
from diffpy.structure.parsers import StructureParser
26+
from diffpy.structure.structureerrors import StructureFormatError
2727

2828

2929
class P_discus(StructureParser):

src/diffpy/structure/parsers/p_pdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
from numpy import pi
2929

3030
from diffpy.structure import Structure
31-
from diffpy.structure.structureerrors import StructureFormatError
3231
from diffpy.structure.parsers import StructureParser
32+
from diffpy.structure.structureerrors import StructureFormatError
3333

3434

3535
class P_pdb(StructureParser):

src/diffpy/structure/parsers/p_pdffit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
import six
2424

2525
from diffpy.structure import Lattice, PDFFitStructure
26-
from diffpy.structure.structureerrors import StructureFormatError
2726
from diffpy.structure.parsers import StructureParser
27+
from diffpy.structure.structureerrors import StructureFormatError
2828

2929

3030
class P_pdffit(StructureParser):

src/diffpy/structure/parsers/p_rawxyz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
import six
2424

2525
from diffpy.structure import Structure
26-
from diffpy.structure.structureerrors import StructureFormatError
2726
from diffpy.structure.parsers import StructureParser
27+
from diffpy.structure.structureerrors import StructureFormatError
2828
from diffpy.structure.utils import isfloat
2929

3030

src/diffpy/structure/parsers/p_xcfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
import six
2323

2424
from diffpy.structure import Structure
25-
from diffpy.structure.structureerrors import StructureFormatError
2625
from diffpy.structure.parsers import StructureParser
26+
from diffpy.structure.structureerrors import StructureFormatError
2727
from diffpy.structure.utils import isfloat
2828

2929
# Constants ------------------------------------------------------------------

0 commit comments

Comments
 (0)