Learn more about these different git repos.
Other Git URLs
@@ -73,7 +73,7 @@
Reimplement this method in your own BackendThread subclass.
This method is called every `timeout` seconds.
- raise NotImplemented("do_work() method not implemented")
+ raise NotImplementedError("do_work() method not implemented")
@@ -32,7 +32,7 @@
basepython = python3
skip_install = true
deps = flake8
- commands = flake8 --ignore E501,E731 --exclude server/odcs/server/migrations/*,.tox/*,build/*,.env
+ commands = flake8 --ignore E501,E731,W504 --exclude server/odcs/server/migrations/*,.tox/*,build/*,.env
The following error is fixed:
F901 'raise NotImplemented' should be 'raise NotImplementedError'
The following error is now ignored:
W504 line break after binary operator
It is ignored because moving the line break to before the binary operator
causes W503 error (line break before binary operator). With this change
we get closer to consistency throughout the project.
Signed-off-by: Luiz Carvalho email@example.com
Pull-Request has been merged by jkaluza