Skip to content

Commit

Permalink
JP-3861: Apply code style changes for pathloss step
Browse files Browse the repository at this point in the history
  • Loading branch information
stscirij committed Feb 20, 2025
1 parent 73eece2 commit a7db6ea
Show file tree
Hide file tree
Showing 5 changed files with 309 additions and 251 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ repos:
jwst/lib/.* |
jwst/linearity/.* |
jwst/mrs_imatch/.* |
jwst/pathloss/.* |
jwst/persistence/.* |
jwst/photom/.* |
jwst/refpix/.* |
Expand Down
2 changes: 0 additions & 2 deletions .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ exclude = [
"jwst/lib/**.py",
"jwst/linearity/**.py",
"jwst/mrs_imatch/**.py",
"jwst/pathloss/**.py",
"jwst/persistence/**.py",
"jwst/photom/**.py",
"jwst/refpix/**.py",
Expand Down Expand Up @@ -142,7 +141,6 @@ ignore-fully-untyped = true # Turn off annotation checking for fully untyped co
"jwst/lib/**.py" = ["D", "N", "A", "ARG", "B", "C4", "ICN", "INP", "ISC", "LOG", "NPY", "PGH", "PTH", "S", "SLF", "SLOT", "T20", "TRY", "UP", "YTT", "E501"]
"jwst/linearity/**.py" = ["D", "N", "A", "ARG", "B", "C4", "ICN", "INP", "ISC", "LOG", "NPY", "PGH", "PTH", "S", "SLF", "SLOT", "T20", "TRY", "UP", "YTT", "E501"]
"jwst/mrs_imatch/**.py" = ["D", "N", "A", "ARG", "B", "C4", "ICN", "INP", "ISC", "LOG", "NPY", "PGH", "PTH", "S", "SLF", "SLOT", "T20", "TRY", "UP", "YTT", "E501"]
"jwst/pathloss/**.py" = ["D", "N", "A", "ARG", "B", "C4", "ICN", "INP", "ISC", "LOG", "NPY", "PGH", "PTH", "S", "SLF", "SLOT", "T20", "TRY", "UP", "YTT", "E501"]
"jwst/persistence/**.py" = ["D", "N", "A", "ARG", "B", "C4", "ICN", "INP", "ISC", "LOG", "NPY", "PGH", "PTH", "S", "SLF", "SLOT", "T20", "TRY", "UP", "YTT", "E501"]
"jwst/photom/**.py" = ["D", "N", "A", "ARG", "B", "C4", "ICN", "INP", "ISC", "LOG", "NPY", "PGH", "PTH", "S", "SLF", "SLOT", "T20", "TRY", "UP", "YTT", "E501"]
"jwst/refpix/**.py" = ["D", "N", "A", "ARG", "B", "C4", "ICN", "INP", "ISC", "LOG", "NPY", "PGH", "PTH", "S", "SLF", "SLOT", "T20", "TRY", "UP", "YTT", "E501"]
Expand Down
2 changes: 2 additions & 0 deletions jwst/pathloss/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Account for signal loss in the optical path of spectroscopic modes."""

from .pathloss_step import PathLossStep

__all__ = ["PathLossStep"]
Loading

0 comments on commit a7db6ea

Please sign in to comment.