diff --git a/docs/conf.py b/docs/conf.py index 982bd484c..f27d86d5b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,17 +14,12 @@ import importlib import os import sys +import tomllib from distutils.version import LooseVersion from pathlib import Path import sphinx import stsci_rtd_theme - -if sys.version_info < (3, 11): - import tomli as tomllib -else: - import tomllib - from sphinx.ext.autodoc import AttributeDocumenter from romancal.stpipe import RomanStep diff --git a/pyproject.toml b/pyproject.toml index fe13fd158..8ae30ed73 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,6 @@ docs = [ "sphinx-rtd-theme", "stsci-rtd-theme", "sphinx-autobuild", - "tomli; python_version <=\"3.11\"", ] test = [ "ci-watson >=0.5.0", diff --git a/romancal/pipeline/exposure_pipeline.py b/romancal/pipeline/exposure_pipeline.py index 815c17d2d..11b19351f 100644 --- a/romancal/pipeline/exposure_pipeline.py +++ b/romancal/pipeline/exposure_pipeline.py @@ -2,7 +2,6 @@ from __future__ import annotations import logging -from os.path import basename from typing import TYPE_CHECKING import numpy as np diff --git a/romancal/step.py b/romancal/step.py index 94344ecf1..64a4bf79b 100644 --- a/romancal/step.py +++ b/romancal/step.py @@ -36,6 +36,5 @@ "SaturationStep", "SkyMatchStep", "SourceCatalogStep", - "SourceDetectionStep", "TweakRegStep", ]