aboutsummaryrefslogtreecommitdiffstats
path: root/.pylintrc
AgeCommit message (Collapse)AuthorFilesLines
2018-01-11Run tests in yardstick/tests/Emma Foley1-0/+1
* Edit .testr.conf and tools/run_tests.sh * Run functional and unit tests in tests/ and yardstick/tests/ * Add yardstick/tests/unit/__init__.py and yardstick/tests/__init__.py * Update pylintrc rules to disable: * missing-docstring * fixme * protected-access Test will run in both tests/ and yardstick/tests/ initially Change-Id: Iccd0df0d1b85b5d08f7faa56669bc32687925f7e JIRA: YARDSTICK-837 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-01-03Remove 'inconsistent-return-statements' check from PylintRodolfo Alonso Hernandez1-0/+1
There are several bugs in Pylint [1] [2] affecting 'inconsistent-return-statements' check. It will be temporarily removed. [1] https://github.com/PyCQA/pylint/issues/1782 [2] https://github.com/PyCQA/pylint/issues/1794 JIRA: YARDSTICK-911 Change-Id: Ib655ef1befdc734c646cdfb9b48f1db0ccdf676d Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2017-12-12Avoid pylint warning for "protected-access"Rodolfo Alonso Hernandez1-0/+1
This warning should be disabled in order to access protected methods during testing. Any access to protected methods done outside the testing classes, must be catched during the reviewing process. Change-Id: I2127b41edf704d0cb4f68b33d98705039e058d1a Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2017-12-12Avoid pylint warning for "missing-docstring"Rodolfo Alonso Hernandez1-0/+1
Disabled pylint message for missing doctring in methods, classes and modules. Modules must be auto-explanatory, and some methods are trivial an doesn't need an explanation. Change-Id: I01d80737d92a7345bc6a2a6f607eb35cbf28da67 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2017-11-17Tox: add a pep8 targetEmma Foley1-0/+152
Adds a pep8, pep8-full targets to tox: * pep8 target: runs pylint on the changed files * pep8-full target: runs pylint on whole repo Adds scripts to run pylint: * stored in tools/ Documentation: changeed the command for running tests (run_tests.sh -> tox). This runs the same set of tests as before. JIRA: YARDSTICK-832 Change-Id: I652da87723682d958f3fcbc2eb4cd88422636a3b Signed-off-by: Emma Foley <emma.l.foley@intel.com>