File tree 6 files changed +11
-4
lines changed
6 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -49,3 +49,6 @@ ignore_missing_imports = True
49
49
[mypy-urllib3]
50
50
; https://github.com/urllib3/urllib3/issues/867
51
51
ignore_missing_imports = True
52
+
53
+ [mypy-tests.*]
54
+ ignore_errors = True
Original file line number Diff line number Diff line change 3
3
import pretend
4
4
import pytest
5
5
6
- import helpers
7
6
from twine import cli
8
7
from twine import exceptions
9
8
from twine .commands import register
10
9
10
+ from . import helpers
11
+
11
12
12
13
@pytest .fixture ()
13
14
def register_settings (make_settings ):
Original file line number Diff line number Diff line change 15
15
import pytest
16
16
import requests
17
17
18
- import helpers
19
18
from twine import cli
20
19
from twine import exceptions
21
20
from twine import package as package_file
22
21
from twine .commands import upload
23
22
23
+ from . import helpers
24
+
24
25
SDIST_FIXTURE = "tests/fixtures/twine-1.5.0.tar.gz"
25
26
WHEEL_FIXTURE = "tests/fixtures/twine-1.5.0-py2.py3-none-any.whl"
26
27
RELEASE_URL = "https://pypi.org/project/twine/1.5.0/"
Original file line number Diff line number Diff line change 19
19
import pytest
20
20
import requests
21
21
22
- import helpers
23
22
from twine import exceptions
24
23
from twine import utils
25
24
25
+ from . import helpers
26
+
26
27
27
28
def test_get_config (tmpdir ):
28
29
pypirc = os .path .join (str (tmpdir ), ".pypirc" )
Original file line number Diff line number Diff line change 17
17
import pretend
18
18
import pytest
19
19
20
- import helpers
21
20
from twine import exceptions
22
21
from twine import wheel
23
22
23
+ from . import helpers
24
+
24
25
25
26
@pytest .fixture (
26
27
params = [
You can’t perform that action at this time.
0 commit comments