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 11language : python
2+ dist : xenial
23
34matrix :
4- fast_finish : true
55 include :
66 - python : 3.6
7- - python : 3.7
8- dist : xenial
9- sudo : true
7+ - python : 3.7.3
108
119
1210before_install :
Original file line number Diff line number Diff line change 88 Callable ,
99 Coroutine ,
1010 Generic ,
11+ NoReturn ,
1112 Optional ,
1213 TypeVar ,
1314 Union ,
@@ -224,7 +225,7 @@ def Some(inner_value: Optional[_ValueType]) -> Maybe[_ValueType]: # noqa: N802
224225
225226
226227#: Public unit value of protected `_Nothing` type.
227- Nothing : Maybe [Any ] = _Nothing ()
228+ Nothing : Maybe [NoReturn ] = _Nothing ()
228229
229230
230231@overload
Original file line number Diff line number Diff line change 22# Read more about `setup.cfg`:
33# https://docs.python.org/3/distutils/configfile.html
44
5- [bdist_wheel]
6- universal = 1
7-
85
96[coverage:run]
10- branch = True
117omit =
128 # We test mypy plugins with `pytest-mypy-plugins`,
139 # which does not work with coverage:
@@ -53,7 +49,7 @@ per-file-ignores =
5349
5450[tool:pytest]
5551# 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__
5753
5854# You will need to measure your tests speed with `-n auto` and without it,
5955# so you can see whether it gives you any performance gain, or just gives
@@ -63,6 +59,7 @@ addopts =
6359 --cov =returns
6460 --cov-report =term:skip-covered
6561 --cov-report =html
62+ --cov-branch
6663 --cov-fail-under =100
6764 --mypy-ini-file =setup.cfg
6865
@@ -77,8 +74,7 @@ line_length = 79
7774
7875
7976[mypy]
80- # The mypy configurations: http://bit.ly/2zEl9WI
81- python_version = 3.6
77+ # mypy configurations: http://bit.ly/2zEl9WI
8278
8379# Plugins, includes custom:
8480plugins =
You can’t perform that action at this time.
0 commit comments