diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..94a8a5c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: python +python: + - "3.5" + - "3.6.2" # versions 3.6.0 and 3.6.1 have bugs that affect magneticod + +# We explicitly state that sudo should NOT be required to compile, test, and run magnetico +sudo: false + +install: + - "pip3 install --user ./magneticod" + - "pip3 install --user ./magneticow" + +script: + - "pylint ./magneticod/magneticod" + - "pylint ./magneticow/magneticow" + - "mypy ./magneticod/magneticod" + - "mypy ./magneticow/magneticow" \ No newline at end of file diff --git a/pylintrc b/pylintrc index 14ddf8c..e336cf5 100644 --- a/pylintrc +++ b/pylintrc @@ -291,7 +291,7 @@ no-docstring-rgx=^_ # Minimum line length for functions/classes that require docstrings, shorter # ones are exempt. -docstring-min-length=-1 +docstring-min-length=1000 [ELIF]