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

yapftests: Remove unused imports #1260

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 yapftests/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"""Tests for yapf.__init__.main."""

import sys
import unittest
from contextlib import contextmanager
from io import StringIO

Expand Down
1 change: 0 additions & 1 deletion yapftests/reformatter_basic_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.
"""Basic tests for yapf.reformatter."""

import sys
import textwrap
import unittest

Expand Down
1 change: 0 additions & 1 deletion yapftests/reformatter_python3_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.
"""Python 3 tests for yapf.reformatter."""

import sys
import textwrap
import unittest

Expand Down
1 change: 0 additions & 1 deletion yapftests/subtype_assigner_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import unittest

from yapf.pytree import pytree_utils
from yapf.yapflib import format_token
from yapf.yapflib import subtypes

from yapftests import yapf_test_helper
Expand Down
5 changes: 0 additions & 5 deletions yapftests/yapf_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,12 @@
"""Tests for yapf.yapf."""

import io
import logging
import os
import shutil
import subprocess
import sys
import tempfile
import textwrap
import unittest
from io import StringIO

from yapf_third_party._ylib2to3.pgen2 import tokenize

from yapf.yapflib import errors
from yapf.yapflib import style
Expand Down