diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 09:24:45 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 09:24:45 +0000 |
commit | b88b57aff93c95ae07f8a2f05a6a577b39cb1f1f (patch) | |
tree | a8c2cbdeefe4aba4936c128ebfd4cb600da23dc1 /.pre-commit-config.yaml | |
parent | Initial commit. (diff) | |
download | aio-eapi-b88b57aff93c95ae07f8a2f05a6a577b39cb1f1f.tar.xz aio-eapi-b88b57aff93c95ae07f8a2f05a6a577b39cb1f1f.zip |
Adding upstream version 0.6.3.upstream/0.6.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..70bbacc --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,30 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +default_language_version: + python: python3.10 + +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: debug-statements + - id: check-merge-conflict + - id: trailing-whitespace + - id: check-yaml + - id: check-toml + - id: check-added-large-files + +- repo: https://github.com/pycqa/flake8 + rev: 6.0.0 + hooks: + - id: flake8 + exclude: 'scratch-testing' + args: ['--ignore=E501,E203,W503,E731', + '--max-line-length=130', + '--per-file-ignores=__init__.py:F401'] + +- repo: https://github.com/psf/black + rev: 22.12.0 + hooks: + - id: black + args: ["."] |