Skip to content
Snippets Groups Projects
Commit 2a2c646d authored by Albin Stjerna's avatar Albin Stjerna
Browse files

Fix linting errors, move linting to a makefile

parent 7746d6d2
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ lint: ...@@ -9,7 +9,7 @@ lint:
before_script: before_script:
- pip install flake8 - pip install flake8
script: script:
- find . -iname "*.py" | xargs flake8 - make lint
test_2: test_2:
image: python:2 image: python:2
......
...@@ -58,3 +58,7 @@ tag-qa: ...@@ -58,3 +58,7 @@ tag-qa:
tag-stable: tag-stable:
koji tag-build db6-stable $(PKGID)-$(PKGRELEASE).el6 koji tag-build db6-stable $(PKGID)-$(PKGRELEASE).el6
koji tag-build db7-stable $(PKGID)-$(PKGRELEASE).el7.cern koji tag-build db7-stable $(PKGID)-$(PKGRELEASE).el7.cern
lint:
find . -iname "*.py" | xargs flake8
.PHONY: lint
#import cern_sso
# Always prefer setuptools over distutils # Always prefer setuptools over distutils
from setuptools import setup from setuptools import setup
# To use a consistent encoding # To use a consistent encoding
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment