Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 15, 2024
1 parent 279b1f0 commit c79cd5b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 12 deletions.
1 change: 0 additions & 1 deletion .black
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ exclude = '''
)/
)
'''

4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
]

# Add any paths that contain templates here, relative to this directory.
# templates_path = ["_templates"] # NOQA ERA001
# templates_path = ["_templates"] # NOQA: ERA001

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand All @@ -62,7 +62,7 @@
master_doc = "index"

# Treat everything in single ` as a Python reference.
default_role = 'py:obj'
default_role = "py:obj"

# -- Options for hoverxref -----------------------------------------------------
if os.environ.get("READTHEDOCS"):
Expand Down
1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ Python library for accessing HMI, AIA and MDI data from the Joint Science Operat
generated/gallery/index
citation
whatsnew/index

12 changes: 6 additions & 6 deletions drms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
datefmt="%Y-%m-%d %H:%M:%S",
)

from .client import Client, ExportRequest, SeriesInfo # NOQA: E402
from .config import ServerConfig, register_server # NOQA: E402
from .exceptions import DrmsError, DrmsExportError, DrmsOperationNotSupported, DrmsQueryError # NOQA: E402
from .json import HttpJsonClient, HttpJsonRequest, JsocInfoConstants # NOQA: E402
from .utils import to_datetime # NOQA: E402
from .version import version as __version__ # NOQA: E402
from .client import Client, ExportRequest, SeriesInfo
from .config import ServerConfig, register_server
from .exceptions import DrmsError, DrmsExportError, DrmsOperationNotSupported, DrmsQueryError
from .json import HttpJsonClient, HttpJsonRequest, JsocInfoConstants
from .utils import to_datetime
from .version import version as __version__


def _get_bibtex():
Expand Down
1 change: 0 additions & 1 deletion drms/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import pandas as pd

from drms import logger

from .exceptions import DrmsExportError, DrmsOperationNotSupported, DrmsQueryError
from .json import HttpJsonClient
from .utils import _extract_series_name, _pd_to_numeric_coerce, _split_arg
Expand Down
1 change: 0 additions & 1 deletion drms/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from urllib.request import HTTPError, urlopen

from drms import logger

from .config import ServerConfig, _server_configs
from .utils import _split_arg

Expand Down
1 change: 1 addition & 0 deletions examples/plot_synoptic_mr.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"""

import matplotlib.pyplot as plt

from astropy.io import fits

import drms
Expand Down

0 comments on commit c79cd5b

Please sign in to comment.