0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 11:41:49 +02:00

ci: testing ci

This commit is contained in:
2023-07-11 18:16:33 +02:00
parent 0b7a659d88
commit 78fd26ad8d
2 changed files with 1 additions and 2 deletions

View File

@ -25,7 +25,7 @@ pylint:
- pip install pylint pylint-exit anybadge - pip install pylint pylint-exit anybadge
- pip install -e .[dev] - pip install -e .[dev]
- mkdir ./pylint - mkdir ./pylint
- pylint ./bec_widgets --output-format=text . | tee ./pylint/pylint.log || pylint-exit $? - pylint ./bec_widgets --output-format=text --output=./pylint/pylint.log | tee ./pylint/pylint.log || pylint-exit $?
- PYLINT_SCORE=$(sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' ./pylint/pylint.log) - PYLINT_SCORE=$(sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' ./pylint/pylint.log)
- anybadge --label=Pylint --file=pylint/pylint.svg --value=$PYLINT_SCORE 2=red 4=orange 8=yellow 10=green - anybadge --label=Pylint --file=pylint/pylint.svg --value=$PYLINT_SCORE 2=red 4=orange 8=yellow 10=green
- echo "Pylint score is $PYLINT_SCORE" - echo "Pylint score is $PYLINT_SCORE"

View File

@ -1 +0,0 @@
import bec_widgets.config_plotter as config_plotter