From b08e4f886ca37410119fce8fed16e00258e75259 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 22 Jun 2020 23:34:08 -0500 Subject: [PATCH 1/2] Require Py3.6 --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 2687d7e09..31358bd86 100644 --- a/setup.py +++ b/setup.py @@ -85,6 +85,7 @@ setup(name="loo.py", 'Topic :: Utilities', ], + python_requires="~=3.6", install_requires=[ "pytools>=2020.2", "pymbolic>=2019.2", -- GitLab From 4277a680e6a9cd9d0f618a9c8cf61bc58a140808 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 22 Jun 2020 23:34:08 -0500 Subject: [PATCH 2/2] Add .editorconfig --- .editorconfig | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..dcbc21d86 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,32 @@ +# https://editorconfig.org/ +# https://github.com/editorconfig/editorconfig-vim +# https://github.com/editorconfig/editorconfig-emacs + +root = true + +[*] +indent_style = space +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.py] +indent_size = 4 + +[*.rst] +indent_size = 4 + +[*.cpp] +indent_size = 2 + +[*.hpp] +indent_size = 2 + +# There may be one in doc/ +[Makefile] +indent_style = tab + +# https://github.com/microsoft/vscode/issues/1679 +[*.md] +trim_trailing_whitespace = false -- GitLab