Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ ci:
autofix_commit_msg: "style: pre-commit fixes"

repos:
- repo: https://github.com/psf/black
rev: "25.1.0"
- repo: https://github.com/psf/black-pre-commit-mirror
rev: "26.1.0"
hooks:
- id: black-jupyter
args: ["--line-length", "100"]

- repo: https://github.com/asottile/blacken-docs
rev: "1.19.1"
rev: "1.20.0"
hooks:
- id: blacken-docs
additional_dependencies: [black==23.7.0]
Expand Down Expand Up @@ -57,7 +57,7 @@ repos:
# args: ["--fix", "--show-fixes"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.17.1"
rev: "v1.19.1"
hooks:
- id: mypy
files: src
Expand All @@ -76,7 +76,7 @@ repos:
# )$

- repo: https://github.com/kynan/nbstripout
rev: 0.8.1
rev: 0.9.1
hooks:
- id: nbstripout
args: [--extra-keys=metadata.kernelspec metadata.language_info.version]
Expand Down
1 change: 0 additions & 1 deletion astrophot/fit/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

from .. import AP_config


__all__ = ["BaseOptimizer"]


Expand Down
1 change: 0 additions & 1 deletion astrophot/models/galaxy_model_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from .model_object import Component_Model
from ._shared_methods import select_target


__all__ = ["Galaxy_Model"]


Expand Down
1 change: 0 additions & 1 deletion astrophot/models/psf_model_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from ..param import Parameter_Node
from ..errors import SpecificationConflict


__all__ = ["PSF_Model"]


Expand Down
1 change: 0 additions & 1 deletion astrophot/models/sersic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from ..utils.parametric_profiles import sersic_np
from ..utils.conversions.functions import sersic_Ie_to_flux_torch


__all__ = [
"Sersic_Galaxy",
"Sersic_PSF",
Expand Down
1 change: 0 additions & 1 deletion astrophot/plots/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from ..utils.conversions.units import flux_to_sb
from .visuals import *


__all__ = ["target_image", "psf_image", "model_image", "residual_image", "model_window"]


Expand Down
1 change: 0 additions & 1 deletion tests/test_window_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import numpy as np
import torch


######################################################################
# Window List Object
######################################################################
Expand Down
Loading