diff options
author | Michael Deyaso <mdeyaso@fusioniq.io> | 2023-03-25 13:34:30 +0300 |
---|---|---|
committer | Michael Deyaso <mdeyaso@fusioniq.io> | 2023-03-25 13:34:30 +0300 |
commit | 98d1c65b404e77756289e32d1ef718318a36ece7 (patch) | |
tree | 498c8884e6506ba465c3903dc9a58599d7f8eba6 /.pre-commit-config.yaml | |
parent | 276c5f3ff69aa829548baab0469454096ec407ec (diff) |
Installed and configured pre-commit to lint and format code. Fixes #7476
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000..bea95b42b --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,10 @@ +repos: +- repo: https://github.com/psf/black + rev: 22.10.0 + hooks: + - id: black +- repo: https://github.com/pycqa/flake8 + rev: 6.0.0 + hooks: + - id: flake8 + files: '(src|scripts|conftest.py)' |