Skip to content
Snippets Groups Projects
Commit 7c5d62bf authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Make lint jobs only run on merge requests

parent a77bbcf5
No related branches found
No related tags found
1 merge request!28Update gitlab CI
......@@ -25,6 +25,8 @@ black:
stage: lint
script:
- black --check --diff .
only:
- merge_requests
flake8:
tags:
......@@ -32,6 +34,8 @@ flake8:
stage: lint
script:
- flake8 .
only:
- merge_requests
pylint:
tags:
......@@ -39,3 +43,5 @@ pylint:
stage: lint
script:
- pylint app *.py
only:
- merge_requests
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