File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
+ dist : xenial
2
3
3
4
matrix :
4
- fast_finish : true
5
5
include :
6
6
- python : 3.6
7
- - python : 3.7
8
- dist : xenial
9
- sudo : true
7
+ - python : 3.7.3
10
8
11
9
12
10
before_install :
Original file line number Diff line number Diff line change 8
8
Callable ,
9
9
Coroutine ,
10
10
Generic ,
11
+ NoReturn ,
11
12
Optional ,
12
13
TypeVar ,
13
14
Union ,
@@ -224,7 +225,7 @@ def Some(inner_value: Optional[_ValueType]) -> Maybe[_ValueType]: # noqa: N802
224
225
225
226
226
227
#: Public unit value of protected `_Nothing` type.
227
- Nothing : Maybe [Any ] = _Nothing ()
228
+ Nothing : Maybe [NoReturn ] = _Nothing ()
228
229
229
230
230
231
@overload
Original file line number Diff line number Diff line change 2
2
# Read more about `setup.cfg`:
3
3
# https://docs.python.org/3/distutils/configfile.html
4
4
5
- [bdist_wheel]
6
- universal = 1
7
-
8
5
9
6
[coverage:run]
10
- branch = True
11
7
omit =
12
8
# We test mypy plugins with `pytest-mypy-plugins`,
13
9
# which does not work with coverage:
@@ -53,7 +49,7 @@ per-file-ignores =
53
49
54
50
[tool:pytest]
55
51
# py.test options:
56
- norecursedirs = tests/fixtures *.egg .eggs dist build docs .tox .git __pycache__
52
+ norecursedirs = *.egg .eggs dist build docs .tox .git __pycache__
57
53
58
54
# You will need to measure your tests speed with `-n auto` and without it,
59
55
# so you can see whether it gives you any performance gain, or just gives
@@ -63,6 +59,7 @@ addopts =
63
59
--cov =returns
64
60
--cov-report =term:skip-covered
65
61
--cov-report =html
62
+ --cov-branch
66
63
--cov-fail-under =100
67
64
--mypy-ini-file =setup.cfg
68
65
@@ -77,8 +74,7 @@ line_length = 79
77
74
78
75
79
76
[mypy]
80
- # The mypy configurations: http://bit.ly/2zEl9WI
81
- python_version = 3.6
77
+ # mypy configurations: http://bit.ly/2zEl9WI
82
78
83
79
# Plugins, includes custom:
84
80
plugins =
You can’t perform that action at this time.
0 commit comments