Skip to content

Commit 3547e3a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4f2ad00 commit 3547e3a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

parcels/tools/warnings.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__all__ = ['FieldSetWarning', 'FileWarning', 'KernelWarning']
1+
__all__ = ["FieldSetWarning", "FileWarning", "KernelWarning"]
22

33

44
class FieldSetWarning(UserWarning):
@@ -7,16 +7,18 @@ class FieldSetWarning(UserWarning):
77
These warnings are often caused by issues in the input data dimensions
88
or options selected when loading data into a FieldSet.
99
"""
10+
1011
pass
1112

1213

1314
class FileWarning(UserWarning):
1415
"""Warning that is raised when there are issues with input or output files.
1516
1617
These warnings can be related to file chunking, naming, or decoding issues.
17-
Chunking issues in particular may negatively impact performance
18+
Chunking issues in particular may negatively impact performance
1819
(see also https://docs.oceanparcels.org/en/latest/examples/documentation_MPI.html#Chunking-the-FieldSet-with-dask)
1920
"""
21+
2022
pass
2123

2224

@@ -26,4 +28,5 @@ class KernelWarning(RuntimeWarning):
2628
These warnings often result from issues in the FieldSet or user-defined Kernel
2729
that are passed into the Parcels Kernel loop.
2830
"""
31+
2932
pass

0 commit comments

Comments
 (0)