Skip to content

Commit

Permalink
JP-3862: Apply code style to pixel_replace module (#9107)
Browse files Browse the repository at this point in the history
  • Loading branch information
tapastro authored Jan 29, 2025
1 parent 689f722 commit 89136ba
Show file tree
Hide file tree
Showing 5 changed files with 225 additions and 165 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ repos:
jwst/persistence/.* |
jwst/photom/.* |
jwst/pipeline/.* |
jwst/pixel_replace/.* |
jwst/ramp_fitting/.* |
jwst/refpix/.* |
jwst/regtest/.* |
Expand Down
4 changes: 2 additions & 2 deletions .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ exclude = [
"jwst/persistence/**.py",
"jwst/photom/**.py",
"jwst/pipeline/**.py",
"jwst/pixel_replace/**.py",
# "jwst/pixel_replace/**.py",
"jwst/ramp_fitting/**.py",
"jwst/refpix/**.py",
"jwst/regtest/**.py",
Expand Down Expand Up @@ -194,7 +194,7 @@ ignore-fully-untyped = true # Turn of annotation checking for fully untyped cod
"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/pipeline/**.py" = ["D", "N", "A", "ARG", "B", "C4", "ICN", "INP", "ISC", "LOG", "NPY", "PGH", "PTH", "S", "SLF", "SLOT", "T20", "TRY", "UP", "YTT", "E501"]
"jwst/pixel_replace/**.py" = ["D", "N", "A", "ARG", "B", "C4", "ICN", "INP", "ISC", "LOG", "NPY", "PGH", "PTH", "S", "SLF", "SLOT", "T20", "TRY", "UP", "YTT", "E501"]
# "jwst/pixel_replace/**.py" = ["D", "N", "A", "ARG", "B", "C4", "ICN", "INP", "ISC", "LOG", "NPY", "PGH", "PTH", "S", "SLF", "SLOT", "T20", "TRY", "UP", "YTT", "E501"]
"jwst/ramp_fitting/**.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"]
"jwst/regtest/**.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/pixel_replace/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Estimate missing pixel values in spectral data."""

from .pixel_replace_step import PixelReplaceStep

__all__ = ["PixelReplaceStep"]
Loading

0 comments on commit 89136ba

Please sign in to comment.