scripts: add Python development tools

Add some useful development tools like the flake8 linter and black
autoformatter.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2020-09-05 12:52:16 +02:00 committed by Kumar Gala
parent a59c7ce6d8
commit a92cd408d8
2 changed files with 8 additions and 0 deletions

6
scripts/.flake8 Normal file
View File

@ -0,0 +1,6 @@
[flake8]
exclude =
# these scripts do not comply with PEP8 styleguide
make_stm32_module.py
update_stm32_package.py
max-line-length = 88

View File

@ -0,0 +1,2 @@
flake8
black