Merge pull request #11896 from nicoddemus/isort

Replace reorder-python-imports by isort due to black incompatibility
This commit is contained in:
Bruno Oliveira
2024-01-31 08:04:39 -03:00
committed by GitHub
65 changed files with 142 additions and 147 deletions
+2 -1
View File
@@ -440,9 +440,10 @@ intersphinx_mapping = {
def configure_logging(app: "sphinx.application.Sphinx") -> None:
"""Configure Sphinx's WarningHandler to handle (expected) missing include."""
import sphinx.util.logging
import logging
import sphinx.util.logging
class WarnLogFilter(logging.Filter):
def filter(self, record: logging.LogRecord) -> bool:
"""Ignore warnings about missing include with "only" directive.
+1 -1
View File
@@ -1,12 +1,12 @@
"""Module containing a parametrized tests testing cross-python serialization
via the pickle module."""
import shutil
import subprocess
import textwrap
import pytest
pythonlist = ["python3.9", "python3.10", "python3.11"]