.codeclimate, .editorconfig, .gitignore

This commit is contained in:
Oscar Krause 2022-12-16 13:50:34 +01:00
parent 918129a811
commit 9cddb549af
3 changed files with 38 additions and 0 deletions

7
.codeclimate.yml Normal file
View File

@ -0,0 +1,7 @@
plugins:
bandit:
enabled: true
sonar-python:
enabled: true
pylint:
enabled: true

28
.editorconfig Normal file
View File

@ -0,0 +1,28 @@
root = true
[*]
insert_final_newline = true
# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py}]
charset = utf-8
# 4 space indentation
[*.py]
indent_style = space
indent_size = 4
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
# Indentation override for all JS under lib directory
[lib/**.js]
indent_style = space
indent_size = 2
# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.DS_Store
venv/
.idea/