Skip to content

Commit

Permalink
pylint: fix old import errors that appear as new
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Oct 14, 2024
1 parent 5f25fbc commit 26283c8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cli/tests/test_distgit.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import copr
# pylint: disable=unused-import
from cli_tests_lib import (
f_test_config,
f_test_config, # pylint: disable=unused-variable
mock,
config as mock_config,
fixture,
Expand Down
6 changes: 5 additions & 1 deletion cli/tests/test_mock_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

from copr_cli import main

from cli_tests_lib import mock, f_test_config, fixture
from cli_tests_lib import (
mock,
f_test_config, # pylint: disable=unused-variable
fixture,
)


class TestMockConfig():
Expand Down
10 changes: 5 additions & 5 deletions rpmbuild/copr_rpmbuild/providers/scm.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import os
import re
import logging
import re

from copr_rpmbuild import helpers
from urllib.parse import urlparse

from jinja2 import Environment, FileSystemLoader
from ..helpers import run_cmd, CONF_DIRS, get_mock_uniqueext
from .base import Provider

from urllib.parse import urlparse
from copr_rpmbuild import helpers
from copr_rpmbuild.helpers import run_cmd, CONF_DIRS, get_mock_uniqueext
from copr_rpmbuild.providers.base import Provider



log = logging.getLogger("__main__")
Expand Down
2 changes: 1 addition & 1 deletion rpmbuild/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import pprint
import shlex

from urllib.parse import urlparse, urljoin, urlencode
from urllib.parse import urljoin, urlencode

from copr_common.request import SafeRequest, RequestError
from copr_rpmbuild import providers
Expand Down

0 comments on commit 26283c8

Please sign in to comment.