Files
siliconflow-BizyAir/.pre-commit-config.yaml
Shenghang Tsai f17a3f291f Login to fill API key (#132)
* login to fill API key

* Update auth.py

* Update auth.py

* fmt

* simplify implementation of callback

* Update auth.py

* Update auth.py

* refine cross-window communication

* unify query

* Update apiKey.js

* Update apiKey.js

* use window.location.origin

* Update apiKey.js

Update main.py

Update apiKey.js

set

add

add

Create main.py

* Update auth.py

* Update main.py

* Update main.py

* Update apiKey.js

* Update styleUploadFile.js

* Create requirements.txt

* Update main.py
2024-09-25 12:49:31 +08:00

36 lines
905 B
YAML

exclude: \.txt$
repos:
- repo: local
hooks:
- id: sort-imports
name: Sort imports
entry: python3 -m isort --profile black .
language: system
types: [python]
- id: format-code
name: Format code
entry: python3 -m black .
language: system
types: [python]
- id: flake8-code-check
name: Code Quality Check
entry: python3 -m flake8 .
language: system
types: [python]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-json
- id: check-toml
- id: check-yaml
exclude: ^docs/mkdocs\.yml$
args:
- --allow-multiple-documents
- id: mixed-line-ending
args: [--fix=lf]
- id: end-of-file-fixer