aboutsummaryrefslogtreecommitdiffstats
path: root/.snekrc
diff options
context:
space:
mode:
authorGravatar martmists <[email protected]>2018-02-05 20:26:54 +0100
committerGravatar martmists <[email protected]>2018-02-05 20:26:54 +0100
commit80a1ab522e7a49f3ea1168d8658fbff293c866f1 (patch)
tree206a45b1a68c273db43ad04b105bcd3e7c48f565 /.snekrc
parentDynamic route loader; proper application structure (diff)
Major update
- Switch to Japronto - More linters - Rewrite route handling - Rewrite error handling - Rewrite static handling - Error when no `Index` propery is found - Probably some more stuff? idk Code needs testing; Maybe we could use pytest? Signed-off-by: martmists <[email protected]>
Diffstat (limited to '.snekrc')
-rw-r--r--.snekrc19
1 files changed, 17 insertions, 2 deletions
diff --git a/.snekrc b/.snekrc
index 3f26eea5..1d18fb0c 100644
--- a/.snekrc
+++ b/.snekrc
@@ -1,6 +1,21 @@
[all]
-linters = flake8, safety, dodgy
+linters = flake8, safety, dodgy, yapf, isort
[flake8]
max-line-length=120
-application_import_names=pysite \ No newline at end of file
+application_import_names=pysite
+ignore=I100
+
+[isort]
+line_length=120
+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=Site Internals
+force_sort_within_sections=true
+
+[style] # yapf \ No newline at end of file