From 7035aed700a463fd171807526475baf84c1434e7 Mon Sep 17 00:00:00 2001 From: Eli Halych Date: Wed, 2 Sep 2020 13:10:35 +0000 Subject: onaplogging: Docstrings, refactor, type hinting Identify and document functionalities. Describe parameters and their types, exception descriptions and types, extensions, return types and descriptions. Preserve Python 2.7 and 3.x compatibility. Add Python 2.7 to Tox testing. Extract code to utility files. Add properties for readability and maintainability, fix naming conventions. Deprecate old methods and attributes. Issue-ID: REQ-420 Signed-off-by: Eli Halych Change-Id: I19297e40fad743ec68aa04612ecbb11f61f2abec --- pylog/tox.ini | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pylog/tox.ini') diff --git a/pylog/tox.ini b/pylog/tox.ini index b5f2dd3..355385c 100644 --- a/pylog/tox.ini +++ b/pylog/tox.ini @@ -1,5 +1,6 @@ [tox] envlist = + py27 py36 py37 py38 @@ -18,6 +19,9 @@ deps = -r{toxinidir}/test_requirements.txt setenv = PYTHONPATH={toxinidir}/ commands = pytest +[flake8] +ignore = E271, E125, E128, E127 + [testenv:pep8] basepython = python3 deps=flake8 -- cgit 1.2.3-korg