From 082bb267df3a558b884a8d688a51630cdc3ec3b1 Mon Sep 17 00:00:00 2001 From: Martin Sehnoutka Date: Wed, 17 Jul 2019 12:57:14 +0200 Subject: [PATCH] add pylint and travis CI configuration --- .pylintrc | 3 +++ .travis.yml | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 .pylintrc create mode 100644 .travis.yml diff --git a/.pylintrc b/.pylintrc new file mode 100644 index 00000000..5a391df6 --- /dev/null +++ b/.pylintrc @@ -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 diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..aa448ca7 --- /dev/null +++ b/.travis.yml @@ -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/*