From 988f566e7ea0a24c44ea25c45df1c65eb11f0f46 Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Fri, 14 Jan 2022 22:23:16 +0300 Subject: [PATCH] maint: tweak .gitignore and remove redundant files combine code/.gitignore and the one at the root of the repo .bandit was part of codacy checks suite, current python code should probably be updated to use either pylint directly and (/ or) through the codeql python workflow --- .bandit | 3 --- .gitignore | 30 ++++++++++++++++++------------ code/.gitignore | 15 --------------- 3 files changed, 18 insertions(+), 30 deletions(-) delete mode 100644 .bandit diff --git a/.bandit b/.bandit deleted file mode 100644 index eec99a94..00000000 --- a/.bandit +++ /dev/null @@ -1,3 +0,0 @@ -# Ignore B404 "Avoid importing subprocess" -# Ignore B603 "Subprocess without shell equals true" -skips: ['B404', 'B603'] diff --git a/.gitignore b/.gitignore index 45820bab..26abd66b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,19 +1,25 @@ -*.s#? *.b#? -.modgit -firmware* *.gch -.pio* +*.py[cod] +*.s#? +.DS_Store .clang_complete +.env .gcc-flags.json -.sconsign.dblite -credentials.h -node_modules -code/utils -custom.h +.modgit +.pio .python -.env -.DS_Store +.python-version +.sconsign.dblite .vscode +.vscode/.browse.c_cpp.db* +.vscode/c_cpp_properties.json +.vscode/launch.json _pycache_/ -*.py[cod] +code/.cache/ +code/espurna/config/custom.h +code/libraries/ +code/node_modules +code/test/unit/cache +compile_commands.json +firmware* diff --git a/code/.gitignore b/code/.gitignore index e1ca4994..e69de29b 100644 --- a/code/.gitignore +++ b/code/.gitignore @@ -1,15 +0,0 @@ -.clang_complete -core_version.h -custom.h -.DS_Store -.gcc-flags.json -.python-version -.travis.yml -.vscode -.vscode/.browse.c_cpp.db* -.vscode/c_cpp_properties.json -.vscode/launch.json -.pio -test/unit/cache -libraries/ -espurna/espurna.ino.cpp