From c0d9105ab288157f43ae5b79c4328c9ae7b0f1a7 Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Mon, 22 Jun 2020 23:33:49 -0500 Subject: [PATCH] Add .editorconfig and python_requires=~3.6 --- .editorconfig | 32 ++++++++++++++++++++++++++++++++ setup.py | 1 + 2 files changed, 33 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..dcbc21d --- /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 diff --git a/setup.py b/setup.py index 28e8dd2..26795da 100644 --- a/setup.py +++ b/setup.py @@ -39,6 +39,7 @@ def main(): ], packages=find_packages(), + python_requires="~=3.6", install_requires=[ "numpy>=1.5", "pytools>=2020.1", -- GitLab