Skip to content

Commit

Permalink
chore: only require flake8 for lint-python job
Browse files Browse the repository at this point in the history
  • Loading branch information
erikmd committed Jun 28, 2020
1 parent 727db07 commit 52b5ef4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@ stages:
image: python:3
before_script:
- python --version
- pip install --no-cache-dir -r requirements.txt

lint-python:
stage: lint
extends: .python
script:
- pip install --no-cache-dir -r requirements_lint.txt
- flake8 *.py

test-python:
stage: test
extends: .python
script:
- pip install --no-cache-dir -r requirements.txt
- ./keeper.py --version
- pytest *.py
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
flake8
pytest
pyyaml
requests
1 change: 1 addition & 0 deletions requirements_lint.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
flake8

0 comments on commit 52b5ef4

Please sign in to comment.