add .orf extension and install precommit hook
This commit is contained in:
parent
6d705f9108
commit
87974de400
|
@ -0,0 +1,19 @@
|
|||
default_language_version:
|
||||
python: python3.10
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.3.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
- id: check-yaml
|
||||
- id: check-docstring-first
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: flake8
|
||||
name: flake8
|
||||
entry: flake8
|
||||
language: conda
|
||||
types: [python]
|
||||
always_run: true
|
|
@ -60,6 +60,6 @@ if __name__ == '__main__':
|
|||
image_dir = Path(image_dir)
|
||||
|
||||
if not extensions:
|
||||
extensions = '*.[pPjJrRhH][nNpPaAeE][gGeEwWiI]*'
|
||||
extensions = '*.[pPjJrRhHoO][nNpPaAeErR][gGeEwWiIfF]*'
|
||||
|
||||
main(image_dir=image_dir, extensions=extensions)
|
||||
|
|
Loading…
Reference in New Issue