Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 8195160a authored by Nicolas M. Thiéry's avatar Nicolas M. Thiéry
Browse files

Check nbgrader version + PEP 8 + mypy config

parent fb85308f
Pipeline #102538 passed with stage
in 10 minutes and 9 seconds
[mypy]
warn_return_any = True
warn_unused_configs = True
disallow_untyped_defs = True
disallow_untyped_calls = True
disallow_incomplete_defs = True
check_untyped_defs = True
no_implicit_optional = True
scripts_are_modules = True
def test_python_version():
def test_python_version() -> None:
import sys
assert sys.version_info.major == 3
assert sys.version_info.minor == 8
def test_tensorflow():
import tensorflow
def test_tensorflow() -> None:
import tensorflow # type: ignore
tensorflow
def test_nbgrader() -> None:
import nbgrader # type: ignore
assert nbgrader.version_info == (0, 7, 0, 'dev')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment