-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: Perform full linting and fixes to the whole codebase (#124)
* style: Add codespace whitelist and perform spell check (#34) * style: Update line length config and fix E501 errors (#35) * style: Fix eof line .codespell-whitelist * style: Remove * imports, fixes F403 PEP violation (#36) * style: Expand imports for data module * style: Fix undefined variables (F821), etc. (#37) * style: Update pre-commit hooks and last lintings (#38) * style: Revert Doubt to Dout (#39) * style: Lint fix _config.yml
- Loading branch information
Showing
44 changed files
with
458 additions
and
239 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
sie | ||
childs | ||
dout | ||
din |
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,5 +1,5 @@ | ||
ipywidgets | ||
jupyter-book | ||
matplotlib | ||
sphinx | ||
sphinx_rtd_theme | ||
matplotlib | ||
ipywidgets |
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
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,5 +1,5 @@ | ||
# Tutorials | ||
|
||
Here you will find the jupyter notebook tutorials. | ||
It is recommended that you go through the tutorials yourself, | ||
but for quick reference a version of each tutorial is available here. | ||
Here you will find the jupyter notebook tutorials. It is recommended that you go | ||
through the tutorials yourself, but for quick reference a version of each | ||
tutorial is available here. |
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,16 +1,23 @@ | ||
from ._version import version as VERSION # noqa | ||
|
||
from .constants import * | ||
from .lenses import * | ||
from .cosmology import * | ||
from .packed import * | ||
from .parametrized import * | ||
from .light import * | ||
from .utils import * | ||
from .sims import * | ||
from .tests import * | ||
from . import constants, lenses, cosmology, packed, parametrized, light, utils, sims | ||
from .tests import test | ||
|
||
# from .demo import * | ||
|
||
__version__ = VERSION | ||
__author__ = "Ciela" | ||
|
||
__all__ = [ | ||
# Modules | ||
"constants", | ||
"lenses", | ||
"cosmology", | ||
"packed", | ||
"parametrized", | ||
"light", | ||
"utils", | ||
"sims", | ||
# Functions | ||
"test", | ||
] |
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,3 +1,5 @@ | ||
from .hdf5dataset import * | ||
from .illustris_kappa import * | ||
from .probes import * | ||
from .hdf5dataset import HDF5Dataset | ||
from .illustris_kappa import IllustrisKappaDataset | ||
from .probes import PROBESDataset | ||
|
||
__all__ = ["HDF5Dataset", "IllustrisKappaDataset", "PROBESDataset"] | ||
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,13 +1,31 @@ | ||
from .base import * | ||
from .epl import * | ||
from .external_shear import * | ||
from .pixelated_convergence import * | ||
from .multiplane import * | ||
from .nfw import * | ||
from .point import * | ||
from .pseudo_jaffe import * | ||
from .sie import * | ||
from .sis import * | ||
from .singleplane import * | ||
from .mass_sheet import * | ||
from .tnfw import * | ||
from .base import ThinLens, ThickLens | ||
from .epl import EPL | ||
from .external_shear import ExternalShear | ||
from .pixelated_convergence import PixelatedConvergence | ||
from .multiplane import Multiplane | ||
from .nfw import NFW | ||
from .point import Point | ||
from .pseudo_jaffe import PseudoJaffe | ||
from .sie import SIE | ||
from .sis import SIS | ||
from .singleplane import SinglePlane | ||
from .mass_sheet import MassSheet | ||
from .tnfw import TNFW | ||
|
||
|
||
__all__ = [ | ||
"ThinLens", | ||
"ThickLens", | ||
"EPL", | ||
"ExternalShear", | ||
"PixelatedConvergence", | ||
"Multiplane", | ||
"NFW", | ||
"Point", | ||
"PseudoJaffe", | ||
"SIE", | ||
"SIS", | ||
"SinglePlane", | ||
"MassSheet", | ||
"TNFW", | ||
] |
Oops, something went wrong.