Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#304)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 1, 2024
1 parent 2706ac1 commit 9402e53
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ repos:
args: ["--py38-plus"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.1.13'
rev: 'v0.1.14'
hooks:
- id: ruff
args: ["--fix"]
Expand All @@ -53,12 +53,12 @@ repos:
- id: isort

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black

- repo: https://github.com/PyCQA/bandit
rev: 1.7.6
rev: 1.7.7
hooks:
- id: bandit
args: ["-r", "-ll"]
1 change: 1 addition & 0 deletions src/roman_datamodels/datamodels/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
used for Roman. This dataclass is intended to be subclassed to form all of the actual
working datamodels.
"""

import abc
import copy
import datetime
Expand Down
1 change: 1 addition & 0 deletions src/roman_datamodels/datamodels/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This module contains the utility functions for the datamodels sub-package. Mainly
the open/factory function for creating datamodels
"""

import warnings
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions src/roman_datamodels/stnode/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
The STNode classes and supporting objects generated dynamically at import time
from RAD's manifest.
"""

from ._converters import * # noqa: F403
from ._mixins import * # noqa: F403
from ._node import * # noqa: F403
Expand Down
1 change: 1 addition & 0 deletions src/roman_datamodels/stnode/_converters.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The ASDF Converters to handle the serialization/deseialization of the STNode classes to ASDF.
"""

from asdf.extension import Converter, ManifestExtension
from astropy.time import Time

Expand Down
1 change: 1 addition & 0 deletions src/roman_datamodels/stnode/_mixins.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Mixin classes for additional functionality for STNode classes
"""

__all__ = ["WfiModeMixin"]


Expand Down
1 change: 1 addition & 0 deletions src/roman_datamodels/stnode/_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Base node classes for all STNode classes.
These are the base classes for the data objects used by the datamodels package.
"""

import datetime
import re
import warnings
Expand Down
1 change: 1 addition & 0 deletions src/roman_datamodels/stnode/_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
These will be dynamically populated at import time by the subclasses
whenever they generated.
"""

OBJECT_NODE_CLASSES_BY_TAG = {}
LIST_NODE_CLASSES_BY_TAG = {}
SCALAR_NODE_CLASSES_BY_TAG = {}
Expand Down
1 change: 1 addition & 0 deletions src/roman_datamodels/stnode/_tagged.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Each tagged object will be dynamically created at runtime by _stnode.py
from RAD's manifest.
"""

import copy

import asdf
Expand Down

0 comments on commit 9402e53

Please sign in to comment.