From 80a1ab522e7a49f3ea1168d8658fbff293c866f1 Mon Sep 17 00:00:00 2001 From: martmists Date: Mon, 5 Feb 2018 20:26:54 +0100 Subject: 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 --- .snekrc | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to '.snekrc') 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 -- cgit v1.2.3