From 37c54b043f781ba6f578749bcc826117b9cb5deb Mon Sep 17 00:00:00 2001 From: Daniel Bartley Date: Sat, 19 Oct 2024 12:08:22 +1100 Subject: [PATCH] add conventional style guardrails --- .editorconfig | 15 +++++++++++++++ .gitattributes | 1 + 2 files changed, 16 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4ea6065 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# Check http://editorconfig.org for more information +# This is the main config file for this project: +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_size = 2 +indent_style = space +max_line_length = 100 +trim_trailing_whitespace = true + +[*.{py,pyi}] +indent_size = 4 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf