Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlatr committed Dec 9, 2024
1 parent 5398175 commit 7086b30
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion pydoctor/epydoc/markup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

from typing import Callable, ContextManager, List, Optional, Sequence, Iterator, TYPE_CHECKING
import abc
import sys
import re
from importlib import import_module
from inspect import getmodulename
Expand Down
1 change: 0 additions & 1 deletion pydoctor/epydoc/markup/_pyval_repr.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import re
import ast
import functools
import sys
from inspect import signature
from typing import Any, AnyStr, Union, Callable, Dict, Iterable, Sequence, Optional, List, Tuple, cast

Expand Down
1 change: 0 additions & 1 deletion pydoctor/extensions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from __future__ import annotations

import importlib
import sys
from typing import Any, Callable, Dict, Iterable, Iterator, List, Optional, Tuple, Type, Union, TYPE_CHECKING, cast

# In newer Python versions, use importlib.resources from the standard library.
Expand Down
1 change: 0 additions & 1 deletion pydoctor/test/test_astbuilder.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from typing import Optional, Tuple, Type, List, overload, cast
import ast
import sys

from pydoctor import astbuilder, astutils, model
from pydoctor import epydoc2stan
Expand Down
3 changes: 1 addition & 2 deletions pydoctor/test/test_templatewriter.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from io import BytesIO
import re
from typing import Callable, Union, Any, cast, Type, TYPE_CHECKING
from typing import Callable, Union, cast, Type, TYPE_CHECKING
import pytest
import warnings
import sys
import tempfile
import os
from pathlib import Path, PurePath
Expand Down
1 change: 0 additions & 1 deletion pydoctor/themes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
>>> template_lookup = TemplateLookup(importlib_resources.files('pydoctor.themes') / 'base')
"""
import sys
from typing import Iterator

# In newer Python versions, use importlib.resources from the standard library.
Expand Down

0 comments on commit 7086b30

Please sign in to comment.