add .orf extension and install precommit hook

This commit is contained in:
2024-02-03 19:52:47 +08:00
parent 6d705f9108
commit 87974de400
3 changed files with 22 additions and 1 deletions

19
.pre-commit-config.yaml Normal file
View File

@ -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