type hinting

pull/30/head
deadc0de6 1 year ago
parent 8659bfb348
commit 047c9bf4ab

@ -1,4 +1,5 @@
docopt; python_version >= '3.0'
types-docopt; python_version >= '3.0'
anytree; python_version >= '3.0'
pyfzf; python_version >= '3.0'
fusepy; python_version >= '3.0'

@ -4,3 +4,4 @@ nose2; python_version >= '3.0'
coverage; python_version >= '3.0'
coveralls; python_version >= '3.0'
pylint; python_version > '3.0'
mypy; python_version > '3.0'

@ -22,6 +22,7 @@ pyflakes tests/
# R0911: Too many return statements
# R0903: Too few public methods
# R0801: Similar lines in 2 files
# R0902: Too many instance attributes
pylint --version
pylint \
--disable=R0914 \
@ -31,6 +32,7 @@ pylint \
--disable=R0911 \
--disable=R0903 \
--disable=R0801 \
--disable=R0902 \
catcli/
pylint \
--disable=W0212 \
@ -39,6 +41,10 @@ pylint \
--disable=R0801 \
tests/
mypy \
--strict \
catcli/
nosebin="nose2"
PYTHONPATH=catcli ${nosebin} --with-coverage --coverage=catcli

Loading…
Cancel
Save