Repository : http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
>---------------------------------------------------------------
commit 5f82d6db32e91b31d8648a57653483e0ef3f5cbb
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Mon Nov 12 11:30:18 2012 +0100
Disabling Error E1103 from pylint in the flask unit-tests
pylint seems to not be able to infer the output type from the flask test
client. This leads to a number of false-positive error in the pylint
output. With this commit we remove them.
>---------------------------------------------------------------
fedocal/tests/test_flask.py | 1 +
fedocal/tests/test_flask_api.py | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fedocal/tests/test_flask.py b/fedocal/tests/test_flask.py
index 0d2e139..3d49716 100644
--- a/fedocal/tests/test_flask.py
+++ b/fedocal/tests/test_flask.py
@@ -44,6 +44,7 @@ import fedocal.fedocallib as fedocallib
from fedocal.tests import Modeltests, DB_PATH
+# pylint: disable=E1103
class Flasktests(Modeltests):
""" Flask application tests. """
diff --git a/fedocal/tests/test_flask_api.py b/fedocal/tests/test_flask_api.py
index 0f40c0a..6f43542 100644
--- a/fedocal/tests/test_flask_api.py
+++ b/fedocal/tests/test_flask_api.py
@@ -44,6 +44,7 @@ import fedocal.fedocallib as fedocallib
from fedocal.tests import Modeltests, DB_PATH, TODAY
+# pylint: disable=E1103
class FlaskApitests(Modeltests):
""" Flask application API tests. """
Repository : http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
>---------------------------------------------------------------
commit 47c7e56afd22f211bcad4f7e0a22dab00805ac17
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Fri Nov 9 17:59:14 2012 +0100
pep8 run on exceptions
>---------------------------------------------------------------
fedocal/fedocallib/exceptions.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fedocal/fedocallib/exceptions.py b/fedocal/fedocallib/exceptions.py
index 68587d0..d8cb0b6 100644
--- a/fedocal/fedocallib/exceptions.py
+++ b/fedocal/fedocallib/exceptions.py
@@ -14,6 +14,7 @@ See http://www.gnu.org/copyleft/gpl.html for the full text of the
license.
"""
+
# pylint: disable=R0903
class FedocalException(Exception):
""" Exception thrown when a user is not allowed to perform a specific