diff --git a/build_helpers/build_helpers.py b/build_helpers/build_helpers.py index 25b057055..6609bfd19 100644 --- a/build_helpers/build_helpers.py +++ b/build_helpers/build_helpers.py @@ -148,7 +148,7 @@ def run(self) -> None: # type: ignore class SDistCommand(sdist.sdist): # pragma: no cover def run(self) -> None: - if not self.dry_run: # type: ignore + if not self.dry_run: self.run_command("clean") run_antlr(self) sdist.sdist.run(self) diff --git a/noxfile.py b/noxfile.py index db547cb30..9b4d4bfdf 100644 --- a/noxfile.py +++ b/noxfile.py @@ -90,9 +90,6 @@ def test_jupyter_notebook(session: Session) -> None: # Ignore deprecation warnings raised by jupyter_client in Python 3.10 # https://github.com/jupyter/jupyter_client/issues/713 "-Wdefault:There is no current event loop:DeprecationWarning", - # Block warning issued by nbval - # https://github.com/computationalmodelling/nbval/issues/180 - "-Wdefault::pytest.PytestRemovedIn8Warning", ] ) session.run(