Skip to content

Commit dba03c4

Browse files
fix: make ruff format work outside of pre-commit
1 parent 1a64caa commit dba03c4

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repos:
44
hooks:
55
- id: ruff-format
66
name: ruff-format
7-
entry: ruff format --preview
7+
entry: ruff format
88
language: system
99
types_or: [python, markdown]
1010
require_serial: true

docs/app/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ where = ["reflex_docs"]
4545
[tool.ruff]
4646
target-version = "py311"
4747
output-format = "concise"
48+
preview = true
4849
lint.isort.split-on-trailing-comma = false
4950
lint.select = [
5051
"ANN001",

0 commit comments

Comments
 (0)