From 44f72f579fbb28e24d2777fdb4b464eaf56e1af6 Mon Sep 17 00:00:00 2001
From: Michal Heppler <72906@mail.muni.cz>
Date: Thu, 31 May 2018 23:51:42 +0200
Subject: [PATCH] Update README.md

---
 README.md | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 312db99..8739bf6 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,28 @@
-
 [![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.
 
+## 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
-- 
GitLab