diff options
author | mhsn <mail@mhsn.net> | 2024-12-01 12:00:00 +0000 |
---|---|---|
committer | mhsn <mail@mhsn.net> | 2024-12-01 12:00:00 +0000 |
commit | 0b1a6fc65a62a656bef6055027faf2f5e1f3235a (patch) | |
tree | 76c3fecc4e238c3880eed9e76dcdada32741c476 /.pre-commit-config.yaml | |
download | aoc-0b1a6fc65a62a656bef6055027faf2f5e1f3235a.tar.gz aoc-0b1a6fc65a62a656bef6055027faf2f5e1f3235a.zip |
Initial commit
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..ba172ed --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,15 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 + hooks: + - id: check-executables-have-shebangs + - id: check-shebang-scripts-are-executable + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.8.2 + hooks: + - id: ruff + args: [ --fix ] + - id: ruff-format |