Skip to content

Commit 558cc1e

Browse files
committed
apply pre-commit
1 parent 25a089e commit 558cc1e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/diffpy/utils/scattering_objects/diffraction_objects.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import datetime
2-
from copy import deepcopy
32
import warnings
3+
from copy import deepcopy
4+
45
import numpy as np
56

67
from diffpy.utils.tools import get_package_info
@@ -24,12 +25,14 @@ class Diffraction_object:
2425
`Diffraction_object` will be removed in diffpy.utils 3.6.0, it is replaced by
2526
`DiffractionObject` to follow the class naming convention.
2627
"""
28+
2729
warnings.warn(
2830
"Diffraction_object` will be removed in diffpy.utils 3.6.0, it is replaced by "
2931
"DiffractionObject` to follow the class naming convention.",
3032
DeprecationWarning,
3133
stacklevel=2,
3234
)
35+
3336
def __init__(self, name="", wavelength=None):
3437
self.name = name
3538
self.wavelength = wavelength

0 commit comments

Comments
 (0)