misc: add pre commit hook to force single quotes (#79788)

This commit is contained in:
Valentin Deniaud 2023-08-16 11:52:38 +02:00
parent b3a771f510
commit c840987305
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,10 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: double-quote-string-fixer
- repo: https://github.com/asottile/pyupgrade
rev: v3.1.0
hooks: