diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-01-02 22:13:01 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-01-02 22:17:19 +0300 |
commit | 0ef3cf9d5e9d4badd086fb637ede0b5263757db9 (patch) | |
tree | f206ce0f6603d404dc03ce7fe55307cf5d836b24 /.pre-commit-config.yaml | |
parent | d7d80b47d867577378e91d3993c901a5865de013 (diff) |
ci: Add pre-commit config
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000..4ffe760cf --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,17 @@ +repos: + - repo: https://github.com/charliermarsh/ruff-pre-commit + rev: v0.0.206 + hooks: + - id: ruff + + - repo: https://github.com/codespell-project/codespell + rev: v2.2.2 + hooks: + - id: codespell + additional_dependencies: + - tomli + + - repo: https://github.com/RobertCraigie/pyright-python + rev: v1.1.286 + hooks: + - id: pyright |