Yanked before_script in pylint region

This commit is contained in:
Price Hiller 2021-10-06 06:55:36 -05:00
parent 30d284a406
commit 2aaaca9e6e

View File

@ -22,9 +22,8 @@ stages: # List of stages for jobs, and their order of execution
pylint:
stage: Test
before_script:
- python3.9 -m pip install pylint pylint-exit anybadge
script:
- python3.9 -m pip install pylint pylint-exit anybadge
- mkdir ./pylint
- python3.9 -m pylint --output-format=text asyncdb | tee ./pylint/pylint.log || pylint-exit "${?}"
- PYLINT_SCORE=$(sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' ./pylint/pylint.log)