-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add basic ruff config and use ruff for import sortting * More ruff * ruff pyupgrade * no pre-commit flake8 * clean up template * More ruff fixes * ruff C4 * ruff PT * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * No X | Y in isinstance and no ruff isort * Ruff ICN * G and INP * Ruff Q: Convert all ' to " * Ruff RSE * Ruff TID * NPY and RUF rules * Enable PTH * Ruff RET rule * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
d6b9f78
commit 3faa8d3
Showing
59 changed files
with
665 additions
and
673 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
import matplotlib | ||
import matplotlib as mpl | ||
|
||
matplotlib.use("Agg") | ||
mpl.use("Agg") | ||
|
||
|
||
def pytest_configure(config): | ||
# pre-cache the IERS file for astropy to prevent downloads | ||
# which will cause errors with remote_data off | ||
from astropy.utils.iers import IERS_Auto; IERS_Auto.open() | ||
from astropy.utils.iers import IERS_Auto | ||
IERS_Auto.open() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
from astropy.config import ConfigItem as _AstropyConfigItem | ||
from astropy.config import ConfigNamespace as _AstropyConfigNamespace | ||
|
||
__all__ = ['ConfigItem', 'ConfigNamespace'] | ||
__all__ = ["ConfigItem", "ConfigNamespace"] | ||
|
||
|
||
class ConfigNamespace(_AstropyConfigNamespace): | ||
rootname = 'dkist' | ||
rootname = "dkist" | ||
|
||
|
||
class ConfigItem(_AstropyConfigItem): | ||
rootname = 'dkist' | ||
rootname = "dkist" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.