From 5c8e7073824acd60e1eea9fcd91653a03af345d6 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sun, 30 Jun 2024 21:39:24 +0200 Subject: [PATCH 1/2] Add editorconfig file --- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..9c2f900 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# 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_style = space +indent_size = 2 +trim_trailing_whitespace = true + +[*.{py, pyi}] +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false From e4ae358bd36569c032b9a4bbdf5bb4c976544032 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sun, 30 Jun 2024 21:48:43 +0200 Subject: [PATCH 2/2] Update gitignore --- .gitignore | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 630cbe6..430cf74 100644 --- a/.gitignore +++ b/.gitignore @@ -2,13 +2,15 @@ __pycache__/ *.py[cod] *$py.class + +# Cache directories from various tools .pytest_cache/ .mypy_cache/ # Virtual environments .venv/ -# Python packaging files +# Python packaging / distribution files dist/ # Pytest coverage reports @@ -30,8 +32,14 @@ docs/_build/ .replit .neoconf.json -# Auto-generated folder attributes for MacOS +# Folder attributes / configuration files on various platforms .DS_STORE +[Dd]esktop.ini +.directory + +# Trash directories +.Trash-* +$RECYCLE.BIN/ # Environmental, backup and personal files .env