Skip to content

Commit

Permalink
ENH: black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfidan committed Aug 28, 2024
1 parent b6ef747 commit ac93543
Show file tree
Hide file tree
Showing 61 changed files with 33,614 additions and 24,273 deletions.
3 changes: 0 additions & 3 deletions ci/parse_pyrad_processes.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# %%
import pandas as pd
from pathlib import Path
import os
import inspect
import yaml
import re
from pyrad import proc

Expand Down
1 change: 0 additions & 1 deletion ci/parse_pyrad_products.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# %%
import pandas as pd
from pathlib import Path
import os
import re
Expand Down
3 changes: 0 additions & 3 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
#
import pyrad
import os
import sys
from pathlib import Path

# cwd = Path.cwd().resolve()
# sys.path.insert(0, os.path.abspath('../../pyart'))
Expand All @@ -34,7 +32,6 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
import os
import re

extensions = [
Expand Down
2 changes: 1 addition & 1 deletion src/pyart
Submodule pyart updated 204 files
18 changes: 11 additions & 7 deletions src/pyrad_proc/pyrad/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
=====================================
"""

# Detect if we're being called as part of Pyrad's setup procedure
try:
__PYRAD_SETUP__
Expand All @@ -11,24 +12,27 @@

if __PYRAD_SETUP__:
import sys as _sys

_sys.stderr.write("Running from Pyrad source directory.\n")
del _sys
else:

# Make sure that deprecation warnings get printed by default
import warnings as _warnings

_warnings.simplefilter("always", DeprecationWarning)

# print out helpful message if build fails or importing from source tree
# fvj built not checked for the moment
# from . import __check_build

# import subpackages
from . import graph #noqa
from . import io #noqa
from . import proc #noqa
from . import prod #noqa
from . import util #noqa
from . import flow #noqa
from . import graph # noqa
from . import io # noqa
from . import proc # noqa
from . import prod # noqa
from . import util # noqa
from . import flow # noqa

# root level functions
# non at the moment
7 changes: 4 additions & 3 deletions src/pyrad_proc/pyrad/flow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"""

from .flow_control import main, main_rt # noqa
from .flow_control import main_gecsx # noqa
__all__ = [s for s in dir() if not s.startswith('_')]
from .flow_control import main, main_rt # noqa
from .flow_control import main_gecsx # noqa

__all__ = [s for s in dir() if not s.startswith("_")]
Loading

0 comments on commit ac93543

Please sign in to comment.