Skip to content

Commit 23e0252

Browse files
committed
Fix accidental import from PyCharm
1 parent 6a1dd04 commit 23e0252

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/docstub-stubs/_report.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ from textwrap import indent
88
from typing import Any, ClassVar, Literal, Self, TextIO
99

1010
import click
11-
from pre_commit.envcontext import UNSET
1211

1312
from ._cli_help import should_strip_ansi
1413
from ._utils import naive_natsort_key

src/docstub/_report.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from textwrap import indent
88

99
import click
10-
from pre_commit.envcontext import UNSET
1110

1211
from ._cli_help import should_strip_ansi
1312
from ._utils import naive_natsort_key
@@ -602,7 +601,7 @@ def pop(self, key, *, default=_UNSET):
602601
-------
603602
value : list[Any] or int
604603
"""
605-
if key in self._stats or default is UNSET:
604+
if key in self._stats or default is self._UNSET:
606605
return self._stats.pop(key)
607606
return default
608607

0 commit comments

Comments
 (0)