diff options
| author | David Smith <smithdc@gmail.com> | 2020-12-15 20:32:08 +0000 |
|---|---|---|
| committer | Carlton Gibson <carlton@noumenal.es> | 2020-12-23 11:14:48 +0100 |
| commit | 3bca95cca277a1e205c10d4fd3ea8527c6fcc34a (patch) | |
| tree | c39e0b0309f3a81aebcbea0b54a80e35d5c7b00f /.pre-commit-config.yaml | |
| parent | 3a0ed0ce3f2e38c4336da6d68d901c6f3d5926dc (diff) | |
Fixed #32165 -- Added pre-commit hooks
* Added pre-commit hooks for isort, flake8 and eslint
* Added documentation on how to install and use the tool
Diffstat (limited to '.pre-commit-config.yaml')
| -rw-r--r-- | .pre-commit-config.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000000..17b55f150e --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,13 @@ +repos: + - repo: https://github.com/PyCQA/isort + rev: 5.6.4 + hooks: + - id: isort + - repo: https://gitlab.com/pycqa/flake8 + rev: 3.8.4 + hooks: + - id: flake8 + - repo: https://github.com/pre-commit/mirrors-eslint + rev: v7.16.0 + hooks: + - id: eslint |
