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

CLN: Remove unused six imports #1070

Merged
merged 1 commit into from
Mar 1, 2022
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
3 changes: 0 additions & 3 deletions asv/commands/publish.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import os
import shutil
import multiprocessing
import datetime
from collections import defaultdict

import six

from . import Command
from ..benchmarks import Benchmarks
from ..console import log
Expand Down
3 changes: 0 additions & 3 deletions asv/commands/rm.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import six

from fnmatch import fnmatchcase
import sys

Expand Down
3 changes: 0 additions & 3 deletions asv/commands/run.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import os
import sys
import logging
Expand All @@ -10,8 +9,6 @@

from collections import defaultdict

import six

from . import Command
from ..benchmarks import Benchmarks
from ..console import log
Expand Down
5 changes: 1 addition & 4 deletions asv/plugins/conda.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import re
import os
import tempfile
import contextlib
import multiprocessing

import six

from .. import environment
from ..console import log
Expand All @@ -22,6 +18,7 @@

util.new_multiprocessing_lock("conda_lock")


def _conda_lock():
# function; for easier monkeypatching
return util.get_multiprocessing_lock("conda_lock")
Expand Down
2 changes: 0 additions & 2 deletions asv/plugins/regressions.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import os
import re
import itertools
import datetime
import six

from six.moves.urllib.parse import urlencode

Expand Down
3 changes: 0 additions & 3 deletions asv/plugins/summarylist.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import os
import itertools
import six

from ..console import log
from ..publishing import OutputPublisher
Expand All @@ -11,7 +9,6 @@
from .. import util



def benchmark_param_iter(benchmark):
"""
Iterate over all combinations of parameterized benchmark parameters.
Expand Down
3 changes: 0 additions & 3 deletions asv/plugins/virtualenv.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

from distutils.version import LooseVersion
import sys
import re
import os

import six

from .. import environment
from ..console import log
from .. import util
Expand Down
2 changes: 0 additions & 2 deletions test/test_compare.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import os
from os.path import abspath, dirname, join

import six
import pytest
import shutil

Expand Down
2 changes: 0 additions & 2 deletions test/test_environment.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import os
import sys
import six
import pytest
import json
from collections import defaultdict
Expand Down
2 changes: 0 additions & 2 deletions test/test_gh_pages.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import os
import six
import pytest

from . import tools
Expand Down
3 changes: 0 additions & 3 deletions test/test_machine.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

from os.path import join

import six

from asv import machine


Expand Down
2 changes: 0 additions & 2 deletions test/test_publish.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import datetime
import os
from os.path import abspath, dirname, join, isfile, isdir
import shutil

import six
import pytest
import xml.etree.ElementTree as etree
try:
Expand Down
2 changes: 0 additions & 2 deletions test/test_repo.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import os
from os.path import join

import six
import pytest
import tempfile
import shutil
Expand Down
3 changes: 0 additions & 3 deletions test/test_rm.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

from os.path import dirname, join
import shutil

import six

from asv import config
from asv import results

Expand Down
2 changes: 0 additions & 2 deletions test/test_show.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import os
from os.path import abspath, dirname, join

import six
import textwrap

from asv import config
Expand Down
2 changes: 0 additions & 2 deletions test/test_util.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import io
import locale
import os
Expand All @@ -11,7 +10,6 @@
import traceback
import time
import datetime
import six
import pytest

from asv import console
Expand Down
2 changes: 0 additions & 2 deletions test/test_web.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import os
import re
import shutil
Expand All @@ -8,7 +7,6 @@
import contextlib
from os.path import join, abspath, dirname

import six
from six.moves.urllib.parse import parse_qs, splitquery, splittag

import pytest
Expand Down