mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 08:33:53 +00:00
Update formatting script to use pre-commit and GitHub Actions
This commit is contained in:
16
.pre-commit-config.yaml
Normal file
16
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
default_language_version:
|
||||
python: python3
|
||||
|
||||
exclude: |
|
||||
(?x)^(
|
||||
CODE_OF_CONDUCT.md
|
||||
)
|
||||
|
||||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: file-format
|
||||
name: file-format
|
||||
language: python
|
||||
entry: python .github/workflows/file_format.py
|
||||
types_or: [text]
|
||||
Reference in New Issue
Block a user