Use autopep8 as python formatter on pre-commit (#5)

Closes #3

---------

Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
This commit is contained in:
Daijiro Fukuda 2025-07-22 17:28:56 +09:00 committed by GitHub
parent 1120af2e31
commit 6dcadf54de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

View File

@ -17,3 +17,11 @@ repos:
rev: v0.6.13
hooks:
- id: cmake-format
- repo: https://github.com/hhatto/autopep8
rev: v2.3.2
hooks:
- id: autopep8
alias: python
args:
- "--ignore-local-config"
- "--in-place"