From e7223417e00495869d23f06b39bc633276a07a93 Mon Sep 17 00:00:00 2001
From: lixiaoqity <59097971+lixiaoqity@users.noreply.github.com>
Date: Sat, 10 Oct 2020 19:34:23 -0400
Subject: [PATCH 1/2] add .editorconfig

---
 .editorconfig | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..bc298d6d4
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,12 @@
+# http://editorconfig.org
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.md]
+trim_trailing_whitespace = false
\ No newline at end of file

From 2ed7432348b21eaddd1e33cceb4e92c67c7a8b42 Mon Sep 17 00:00:00 2001
From: lixiaoqity <59097971+lixiaoqity@users.noreply.github.com>
Date: Fri, 6 Nov 2020 11:40:16 -0500
Subject: [PATCH 2/2] modify edit style

---
 .editorconfig | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.editorconfig b/.editorconfig
index bc298d6d4..601f81e0d 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -8,5 +8,9 @@ charset = utf-8
 trim_trailing_whitespace = true
 insert_final_newline = true
 
+[*.py]
+indent_size = 4
+
 [*.md]
-trim_trailing_whitespace = false
\ No newline at end of file
+trim_trailing_whitespace = false
+insert_final_newline = false