aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.snekrc3
-rw-r--r--app.py8
-rw-r--r--readme.md3
3 files changed, 10 insertions, 4 deletions
diff --git a/.snekrc b/.snekrc
index ccb040fb..07aaf091 100644
--- a/.snekrc
+++ b/.snekrc
@@ -1,5 +1,5 @@
[all]
-linters = flake8, isort, yapf, safety, dodgy
+linters = flake8, isort, yapf, safety, dodgy, vulture
[flake8]
max-line-length=100
@@ -18,5 +18,6 @@ force_sort_within_sections=true
[vulture]
min-confidence=60
+exclude=index.py
[style]
diff --git a/app.py b/app.py
index 876c7e0f..9e9cdc4e 100644
--- a/app.py
+++ b/app.py
@@ -1,17 +1,19 @@
#!/usr/bin/env python3
+# Stdlib
import os
+# Snekchek
from flask import Flask
app = Flask(__name__)
-app.secret_key = os.environ.get("WEBPAGE_SECRET_KEY")
+app._secret_key = os.environ.get("WEBPAGE_SECRET_KEY")
@app.route("/")
-def index():
- return "Shrek is a good movie"
+def _index():
+ return "Robots are taking over"
if __name__ == '__main__':
diff --git a/readme.md b/readme.md
new file mode 100644
index 00000000..dad6b8ae
--- /dev/null
+++ b/readme.md
@@ -0,0 +1,3 @@
+# Python Discord website
+
+[![Build Status](https://travis-ci.org/discord-python/site.svg?branch=master)](https://travis-ci.org/discord-python/site)