add pylint and travis CI configuration

This commit is contained in:
Martin Sehnoutka 2019-07-17 12:57:14 +02:00 committed by Lars Karlitski
parent 6e8eb23e12
commit 082bb267df
2 changed files with 11 additions and 0 deletions

3
.pylintrc Normal file
View file

@ -0,0 +1,3 @@
[MASTER]
disable=missing-docstring,too-few-public-methods,invalid-name,duplicate-code,superfluous-parens,too-many-locals
max-line-length=120

8
.travis.yml Normal file
View file

@ -0,0 +1,8 @@
dist: xenial # required for Python >= 3.7
language: python
python:
- "3.7"
install:
- pip install pylint
# command to run tests
script: pylint osbuild assemblers/* stages/*