Yanked before_script in pylint region
This commit is contained in:
parent
30d284a406
commit
2aaaca9e6e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user