Skip to content

Commit fc014a2

Browse files
committed
cleanup
1 parent d7c6746 commit fc014a2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/conf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,6 @@ def setup(app: Sphinx) -> None:
261261
"scanpy.plotting._matrixplot.MatrixPlot": "scanpy.pl.MatrixPlot",
262262
"scanpy.plotting._dotplot.DotPlot": "scanpy.pl.DotPlot",
263263
"scanpy.plotting._stacked_violin.StackedViolin": "scanpy.pl.StackedViolin",
264-
"scanpy._param_sets.HVGFlavor": "tuple",
265-
"scanpy._param_sets.FilterCellsCutoffs": "tuple",
266-
"scanpy._param_sets.FilterGenesCutoffs": "tuple",
267264
"pandas.core.series.Series": "pandas.Series",
268265
# https://github.com/pandas-dev/pandas/issues/63810
269266
"pandas.api.typing.aliases.AnyArrayLike": ("doc", "pandas:reference/aliases"),

src/scanpy/_settings/presets.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def get(self: Preset) -> NT:
9797
return get_map()[self]
9898

9999
prop = cached_property(get)
100-
preset_postprocessors.append(partial(postprocess_preset_prop, prop, get_map))
100+
preset_postprocessors.append(partial(postprocess_preset_prop, prop, get_map)) # noqa: F821
101101
return prop
102102

103103

@@ -195,3 +195,4 @@ def override(self, preset: Preset) -> Generator[Preset, None, None]:
195195

196196
for postprocess in preset_postprocessors:
197197
postprocess()
198+
del postprocess, preset_postprocessors

0 commit comments

Comments
 (0)