Skip to content

Commit

Permalink
update ruff settings
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Mar 17, 2024
1 parent e74df08 commit f4b89ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ requires-python = ">=3.10"
exclude = [
]
line-length = 120
unsafe-fixes = true
preview = true

[tool.ruff.lint]
ignore-init-module-imports = true
Expand Down
2 changes: 1 addition & 1 deletion dev/reformat
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ if ! command -v ruff &> /dev/null; then
fi

# run ruff linter
ruff check --fix --preview --unsafe-fixes ./api
ruff check --fix ./api

0 comments on commit f4b89ba

Please sign in to comment.