From 065f53e5771e8f70bf836143c47eb3f944570314 Mon Sep 17 00:00:00 2001 From: Ludy Date: Wed, 31 Jul 2024 19:49:52 +0200 Subject: [PATCH] Optimize Editor and Git Ignore Settings for Improved Consistency and Security (#1611) --- .github/labels.yml | 4 +++- .gitignore | 47 ++++++++++++++++++++++++++++++++------ .vscode/settings.json | 53 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+), 8 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.github/labels.yml b/.github/labels.yml index c7f23973..1d717e6f 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -88,4 +88,6 @@ description: "API-related issues or pull requests" - name: "Test" color: "FF9E1F" - description: "Testing-related issues or pull requests" \ No newline at end of file + description: "Testing-related issues or pull requests" +- name: "Stale" + color: "000000" diff --git a/.gitignore b/.gitignore index 1a241d6f..ba9d755d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ - - ### Eclipse ### .metadata bin/ @@ -22,7 +20,6 @@ customFiles/ configs/ watchedFolders/ - # Gradle .gradle .lock @@ -119,12 +116,48 @@ watchedFolders/ *.db /build -/.vscode -/.idea +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*.pyo + +# Virtual environments +.env* +.venv* +env*/ +venv*/ +ENV/ +env.bak/ +venv.bak/ + +# VS Code +/.vscode/**/* +!/.vscode/settings.json + +# IntelliJ IDEA +.idea/ +*.iml +out/ # Ignore Mac DS_Store files .DS_Store **/.DS_Store -#cucumber -/cucumber/reports/** \ No newline at end of file +# cucumber +/cucumber/reports/** + +# Certs +*.p12 +*.pem +*.crt +*.cer +*.der +*.key +*.csr + +# cache +.ruff_cache +.mypy_cache +.pytest_cache +.ipynb_checkpoints + diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..b0d31dae --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,53 @@ +{ + "java.compile.nullAnalysis.mode": "automatic", + "files.eol": "auto", + "java.configuration.updateBuildConfiguration": "interactive", + "black-formatter.args": ["--line-length", "127"], + "flake8.args": ["--max-line-length", "127"], + "pylint.args": ["max-line-length", "127"], + "[java]": { + "editor.tabSize": 4, + "editor.detectIndentation": false, + "editor.rulers": [127] + }, + "[python]": { + "editor.tabSize": 2, + "editor.detectIndentation": false, + "editor.rulers": [127] + }, + "[gradle-build]": { + "editor.tabSize": 4, + "editor.detectIndentation": false, + "editor.rulers": [127] + }, + "[gradle]": { + "editor.tabSize": 4, + "editor.detectIndentation": false, + "editor.rulers": [127] + }, + "[html]": { + "editor.tabSize": 2, + "editor.rulers": [127], + "files.trimFinalNewlines": false, + "files.insertFinalNewline": false + }, + "[javascript]": { + "editor.tabSize": 2, + "editor.rulers": [127] + }, + "[yaml]": { + "files.trimFinalNewlines": false, + "files.insertFinalNewline": false + }, + "diffEditor.maxComputationTime": 0, + "editor.wordSegmenterLocales": null, + "editor.guides.bracketPairs": "active", + "editor.guides.bracketPairsHorizontal": "active", + "files.insertFinalNewline": true, + "files.trimFinalNewlines": true, + "files.trimTrailingWhitespace": true, + "editor.indentSize": "tabSize", + "editor.stickyScroll.enabled": false, + "editor.minimap.enabled": false, + "editor.formatOnSave": true +}