Skip to content

Commit 5fd10c9

Browse files
committed
fix: ignore mypy attr-defined error for SDistCommand.dry_run
1 parent bb7b9b9 commit 5fd10c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build_helpers/build_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def run(self) -> None: # type: ignore
147147

148148
class SDistCommand(sdist.sdist): # pragma: no cover
149149
def run(self) -> None:
150-
if not self.dry_run:
150+
if not self.dry_run: # type: ignore[attr-defined]
151151
self.run_command("clean")
152152
run_antlr(self)
153153
sdist.sdist.run(self)

0 commit comments

Comments
 (0)