Commit c61e07ff authored by Swann Perarnau's avatar Swann Perarnau
Browse files

Merge branch 'style-ci' into 'master'

Add style checks to CI

See merge request !16
parents b0594527 de108bd0
Pipeline #3626 canceled with stages
- test
- style
stage: test
- pipenv install --dev
- pipenv run py.test
stage: style
- pipenv install --dev
- pipenv run flake8
......@@ -8,6 +8,7 @@ name = "pypi"
pytest = "*"
"flake8" = "*"
python_version = "2.7"
......@@ -125,6 +125,7 @@ class Container(SpecField):
"""Load container information."""
return super(Container, self).load(data)
class PerfWrapper(SpecField):
"""Information on whether to use perf for a container."""
......@@ -147,6 +148,7 @@ class PerfWrapper(SpecField):
return False
return True
class IsolatorList(SpecField):
"""Represent the list of isolator in a Manifest."""
......@@ -74,7 +74,8 @@ class PowerActuator(object):
return actions
def execute(self, action):"changing power limit: %r, %r", action.command,"changing power limit: %r, %r", action.command,
self.sensor_manager.set_powerlimit(, action.command)
def update(self, action):
exclude = .git, doc, nrm/coolr
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