summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2020-05-13 23:46:18 +0200
committerGitHub <noreply@github.com>2020-05-13 23:46:18 +0200
commit270688c441c613bd4d9f7250ea93f67ca17d45b4 (patch)
tree5f8bbb156d1bf565c02505bd9719bbcf7a9cb6d2
parente749b576bdb9bbec3bcef7e4e389e7fbbf916c84 (diff)
downloadfatcat-270688c441c613bd4d9f7250ea93f67ca17d45b4.tar.gz
fatcat-270688c441c613bd4d9f7250ea93f67ca17d45b4.zip
Travis CI: Lint Python code for syntax errors and undefined names
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..bb3ac0da
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,4 @@
+dist: focal
+language: python
+install: pip install flake8
+script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics