Skip to content

Commit 1f28104

Browse files
Apply automatic formatting
1 parent 151603a commit 1f28104

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

requirements/make_base.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ def as_nightly(repo: str) -> str:
7070

7171

7272
nightly = tuple(args.nightly.split(",") if args.nightly else [])
73-
nightly_dependencies = [dep for dep in dependencies + test_dependencies if not dep.startswith(nightly)]
73+
nightly_dependencies = [
74+
dep for dep in dependencies + test_dependencies if not dep.startswith(nightly)
75+
]
7476
nightly_dependencies += [as_nightly(arg) for arg in nightly]
7577

7678
write_dependencies("nightly", nightly_dependencies)

src/ess/dream/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
del importlib
2020

2121
__all__ = [
22-
'__version__',
2322
'DreamGeant4Workflow',
23+
'__version__',
2424
'default_parameters',
2525
'instrument_view',
2626
'load_geant4_csv',

src/ess/dream/io/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"""Input/output for DREAM."""
55

66
from . import nexus
7-
from .geant4 import load_geant4_csv
87
from .cif import prepare_reduced_tof_cif
8+
from .geant4 import load_geant4_csv
99

1010
providers = (prepare_reduced_tof_cif,)
1111

12-
__all__ = ["nexus", "load_geant4_csv", "prepare_reduced_tof_cif", "providers"]
12+
__all__ = ["load_geant4_csv", "nexus", "prepare_reduced_tof_cif", "providers"]

src/ess/powder/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
smoothing,
1717
transform,
1818
)
19-
from .masking import with_pixel_mask_filenames
2019
from .correction import RunNormalization
20+
from .masking import with_pixel_mask_filenames
2121

2222
try:
2323
__version__ = importlib.metadata.version("essdiffraction")
@@ -38,15 +38,15 @@
3838
"""Sciline providers for powder diffraction."""
3939

4040
__all__ = [
41-
"__version__",
4241
"RunNormalization",
42+
"__version__",
4343
"conversion",
4444
"correction",
4545
"filtering",
4646
"grouping",
4747
"masking",
48-
"transform",
4948
"providers",
5049
"smoothing",
50+
"transform",
5151
"with_pixel_mask_filenames",
5252
]

0 commit comments

Comments
 (0)