aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.snekrc22
-rw-r--r--app.py6
2 files changed, 5 insertions, 23 deletions
diff --git a/.snekrc b/.snekrc
index 07aaf091..d8b7be64 100644
--- a/.snekrc
+++ b/.snekrc
@@ -1,23 +1,5 @@
[all]
-linters = flake8, isort, yapf, safety, dodgy, vulture
+linters = flake8, safety, dodgy
[flake8]
-max-line-length=100
-
-[isort]
-line_length=100
-indent=' '
-multi_line_output=0
-length_sort=1
-use_parentheses=true
-sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
-import_heading_stdlib=Stdlib
-import_heading_thirdparty=External Libraries
-import_heading_firstparty=Snekchek
-force_sort_within_sections=true
-
-[vulture]
-min-confidence=60
-exclude=index.py
-
-[style]
+max-line-length=100 \ No newline at end of file
diff --git a/app.py b/app.py
index 575f6568..0ef2605f 100644
--- a/app.py
+++ b/app.py
@@ -10,15 +10,15 @@ from flask import redirect
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():
+def index():
return "Robots are taking over. doot."
@app.route("/invite")
-def _invite():
+def invite():
return redirect("https://invite.pythondiscord.com/")
@app.route("/healthcheck")