Try enforcing snake_case
This commit is contained in:
@@ -16,3 +16,19 @@ repos:
|
||||
rev: e2c2116d86a80e72e7146a06e68b7c228afc6319 # frozen: v0.6.13
|
||||
hooks:
|
||||
- id: cmake-format
|
||||
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 8a737e727ac5ab2f1d4cf5876720ed276dc8dc4b # frozen: 25.1.0
|
||||
hooks:
|
||||
- id: black
|
||||
language_version: python3
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: snake-case-enforcement
|
||||
name: Enforce snake_case naming
|
||||
entry: ./tools/check_snake_case.py
|
||||
language: script
|
||||
files: '\.(hpp|cpp)$'
|
||||
exclude: '^build/'
|
||||
args: ['--check-new-code-only']
|
||||
|
||||
Reference in New Issue
Block a user