Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused imports #732

Merged
merged 1 commit into from
Mar 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion flit/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

from flit_core import common
from .config import read_flit_config
from .wheel import WheelBuilder
from ._get_dirs import get_dirs

log = logging.getLogger(__name__)
Expand Down
1 change: 0 additions & 1 deletion flit_core/flit_core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import logging
import os
import os.path as osp
from os.path import isabs
from pathlib import Path
import re

Expand Down
2 changes: 1 addition & 1 deletion tests/test_sdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from os.path import join as pjoin
from pathlib import Path
import pytest
from shutil import which, copy, copytree
from shutil import which, copytree
import sys
import tarfile
from tempfile import TemporaryDirectory
Expand Down
2 changes: 0 additions & 2 deletions tests/test_tomlify.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import os
from pathlib import Path
try:
import tomllib
except ImportError:
import tomli as tomllib
from shutil import copy
from testpath import assert_isfile

from flit import tomlify
Expand Down
1 change: 0 additions & 1 deletion tests/test_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import os
import io
import pathlib
import sys

import pytest
import responses
Expand Down
Loading