mirror of
https://github.com/microsoft/FLAML.git
synced 2026-02-09 02:09:16 +08:00
* precommit: end-of-file-fixer * exclude .gitignore * apply --------- Co-authored-by: Shaokun <shaokunzhang529@gmail.com>
33 lines
756 B
YAML
33 lines
756 B
YAML
default_language_version:
|
|
python: python3
|
|
|
|
ci:
|
|
autofix_prs: true
|
|
autoupdate_commit_msg: '[pre-commit.ci] pre-commit suggestions'
|
|
autoupdate_schedule: 'quarterly'
|
|
|
|
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.1.0
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/pycqa/flake8
|
|
rev: 6.0.0
|
|
hooks:
|
|
- id: flake8
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: check-ast
|
|
- id: check-yaml
|
|
- id: check-toml
|
|
- id: check-json
|
|
- id: check-byte-order-marker
|
|
exclude: .gitignore
|
|
- id: check-merge-conflict
|
|
- id: detect-private-key
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: no-commit-to-branch
|