Skip to content

Commit c95f0b9

Browse files
JP-3859: Style updates for flat_field (#9464)
1 parent b38915d commit c95f0b9

File tree

9 files changed

+863
-814
lines changed

9 files changed

+863
-814
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ repos:
3737
- id: numpydoc-validation
3838
exclude: |
3939
(?x)^(
40-
jwst/flatfield/.* |
4140
jwst/fringe/.* |
4241
jwst/ipc/.* |
4342
jwst/mrs_imatch/.* |

.ruff.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ quote-style = "double"
1919
indent-style = "space"
2020
docstring-code-format = true
2121
exclude = [
22-
"jwst/flatfield/**.py",
2322
"jwst/fringe/**.py",
2423
"jwst/ipc/**.py",
2524
"jwst/mrs_imatch/**.py",
@@ -96,7 +95,6 @@ ignore-fully-untyped = true # Turn off annotation checking for fully untyped co
9695
"jwst/associations/tests*" = [
9796
"F841", # unused variable
9897
]
99-
"jwst/flatfield/**.py" = ["D", "N", "A", "ARG", "B", "C4", "ICN", "INP", "ISC", "LOG", "NPY", "PGH", "PTH", "S", "SLF", "SLOT", "T20", "TRY", "UP", "YTT", "E501"]
10098
"jwst/fringe/**.py" = ["D", "N", "A", "ARG", "B", "C4", "ICN", "INP", "ISC", "LOG", "NPY", "PGH", "PTH", "S", "SLF", "SLOT", "T20", "TRY", "UP", "YTT", "E501"]
10199
"jwst/ipc/**.py" = ["D", "N", "A", "ARG", "B", "C4", "ICN", "INP", "ISC", "LOG", "NPY", "PGH", "PTH", "S", "SLF", "SLOT", "T20", "TRY", "UP", "YTT", "E501"]
102100
"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/flatfield/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""Correct rate data for flat field effects."""
2+
13
from .flat_field_step import FlatFieldStep
24

3-
__all__ = ['FlatFieldStep']
5+
__all__ = ["FlatFieldStep"]

0 commit comments

Comments
 (0)