Top Level Namespace

Defined Under Namespace

Modules: BasePythonVersionHook Classes: BasePythonExpectationsHook, BasePythonMetadataHook, BasePythonQueryHook, BasePythonTestHook, Python2ExpectationsHook, Python2MetadataHook, Python2QueryHook, Python2TestHook, Python3ExpectationsHook, Python3MetadataHook, Python3QueryHook, Python3TestHook, Python3TryHook

Constant Summary collapse

Python2VersionHook =
BasePythonVersionHook
PythonVersionHook =
Python2VersionHook
Python3VersionHook =
BasePythonVersionHook
PythonTestHook =
Python2TestHook
PythonQueryHook =
Python2QueryHook
PythonMetadataHook =
Python2MetadataHook
PythonExpectationsHook =
Python2ExpectationsHook

Instance Method Summary collapse

Instance Method Details

#reload_python2_runner!Object



3
4
5
6
7
8
9
10
11
12
# File 'lib/python2_runner.rb', line 3

def reload_python2_runner!
  Mumukit.runner_name = 'python'
  Mumukit.configure do |config|
    config.docker_image = 'mumuki/mumuki-python2-worker:0.2'
    # comment type should be Mumukit::Directives::CommentType::Ruby, but it is
    # Mumukit::Directives::CommentType::Cpp for backward compatibility
    config.stateful = true
    config.structured = true
  end
end

#reload_python3_runner!Object



3
4
5
6
7
8
9
10
11
# File 'lib/python3_runner.rb', line 3

def reload_python3_runner!
  Mumukit.runner_name = 'python3'
  Mumukit.configure do |config|
    config.docker_image = 'mumuki/mumuki-python3-worker:1.0'
    config.comment_type = Mumukit::Directives::CommentType::Ruby
    config.structured = true
    config.stateful = true
  end
end