From 5df3077a74c8b8b61b83b98714557ff76b1349c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Odd=20Str=C3=A5b=C3=B8?= <oddstr13@openshell.no>
Date: Mon, 8 Jul 2019 00:39:19 +0200
Subject: [PATCH] Added .editorconfig and tox.ini (flake8)

---
 .editorconfig | 25 +++++++++++++++++++++++++
 tox.ini       |  3 +++
 2 files changed, 28 insertions(+)
 create mode 100644 .editorconfig
 create mode 100644 tox.ini

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..0e9268c0
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,25 @@
+# With more recent updates Visual Studio 2017 supports EditorConfig files out of the box
+# Visual Studio Code needs an extension: https://github.com/editorconfig/editorconfig-vscode
+# For emacs, vim, np++ and other editors, see here: https://github.com/editorconfig
+###############################
+# Core EditorConfig Options   #
+###############################
+root = true
+
+# All files
+[*]
+indent_style = space
+indent_size = 4
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+end_of_line = lf
+max_line_length = null
+
+# YAML indentation
+[*.{yml,yaml}]
+indent_size = 2
+
+# XML indentation
+[*.xml]
+indent_size = 2
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 00000000..423d8859
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,3 @@
+[flake8]
+max-line-length = 9999
+import-order-style = pep8