Skip to content
Snippets Groups Projects
Commit 44f72f57 authored by Michal Heppler's avatar Michal Heppler
Browse files

Update README.md

parent e7f29cd4
No related branches found
No related tags found
No related merge requests found
Pipeline #17708 passed
[![pipeline status](https://gitlab.ics.muni.cz/72906/docker-pylint/badges/master/pipeline.svg)](https://gitlab.ics.muni.cz/72906/docker-pylint/commits/master) [![pipeline status](https://gitlab.ics.muni.cz/72906/docker-pylint/badges/master/pipeline.svg)](https://gitlab.ics.muni.cz/72906/docker-pylint/commits/master)
Build Docker image pro testování python projektů pomocí pylint. Build Docker image pro testování python projektů pomocí pylint.
## Použití:
Do souboru .gitlab-ci.yml přidejte řádky dle vzoru
### Použití pro Python:
image: registry.gitlab.ics.muni.cz:443/72906/docker-pylint
before_script:
- pip3 install -r requirements.txt
test:
script:
- pylint --rcfile=pylintrc -E src/*.py
### Použití pro Ansible:
image: registry.gitlab.ics.muni.cz:443/72906/docker-pylint
test:
script:
- ansible-lint setup-linux.yml
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment