FLUX.2 launch
This commit is contained in:
22
.pre-commit-config.yaml
Normal file
22
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
repos:
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
# Ruff version.
|
||||
rev: v0.6.8
|
||||
hooks:
|
||||
# Run the linter.
|
||||
- id: ruff
|
||||
types_or: [python, pyi]
|
||||
args: [--fix]
|
||||
# Run isort
|
||||
- id: ruff
|
||||
types_or: [python, pyi]
|
||||
name: ruff-isort
|
||||
args: [--select, "I", --fix]
|
||||
# Run the formatter.
|
||||
- id: ruff-format
|
||||
types_or: [python, pyi]
|
||||
- repo: https://github.com/google/yamlfmt
|
||||
rev: v0.10.0
|
||||
hooks:
|
||||
- id: yamlfmt
|
||||
args: [--conf, .yamlfmt.yaml]
|
||||
Reference in New Issue
Block a user