toxygen_wrapper/.pylint.sh
emdee@macaw.me 6deea64979
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
git add .pylint.* .pyanal.sh
2023-12-16 14:59:22 +00:00

23 lines
651 B
Bash

#!/bin/sh
EXE=/var/local/bin/pydev_pylint.bash
ROLE=logging
$EXE --recursive y --verbose --py-version 3.11 \
--output-format colorized --rcfile .pylint.rc \
-E -f text tox_wrapper/*py tox_wrapper/tests/*py > .pylint.err
retval=$?
$EXE --recursive y --verbose --py-version 3.11 \
--output-format colorized --rcfile .pylint.rc \
tox_wrapper/*py tox_wrapper/tests/*py > .pylint.out
sed -e "/Module 'os' has no/d" \
-e "/Undefined variable 'app'/d" \
-e '/tests\//d' \
-e "/Instance of 'Curl' has no /d" \
-e "/No name 'path' in module 'os' /d" \
-e "/ in module 'os'/d" \
-e "/.bak\//d" \
-i .pylint.err .pylint.out