Skip to content

Commit

Permalink
Fix ruff format configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-caron committed May 10, 2024
1 parent 4f9c4ac commit 9d39b61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ line-length = 79
[tool.flit.module]
name = "qpmpc"

[tool.lint]
[tool.ruff]
line-length = 79

[tool.lint]
select = [
# pyflakes
"F",
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ commands =
mypy qpmpc --config-file {toxinidir}/tox.ini
pylint qpmpc --exit-zero --rcfile={toxinidir}/tox.ini
ruff check qpmpc
ruff format --check qpmpc

[pylint]
; C0103: Argument name doesn't conform to snake_case naming style (qpsolvers uses uppercase for matrices)
Expand Down

0 comments on commit 9d39b61

Please sign in to comment.