Skip to content

Commit

Permalink
CICD: Update ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-caron committed Aug 2, 2024
1 parent d8c67c8 commit 37eb13f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ report.include = ["pypoman/*"]

[tool.ruff]
line-length = 79

[tool.lint]
select = [
# pyflakes
"F",
Expand All @@ -73,5 +75,5 @@ ignore = [
"D405", # British-style section names are also "proper"!
]

[tool.ruff.pydocstyle]
[tool.lint.pydocstyle]
convention = "numpy"
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ deps =
pylint >=2.8.2
pytype >=2023.5.24
qpsolvers >=3.3.1
ruff >=0.0.220
ruff >=0.5.4
scipy >=1.7.0
commands =
black --check --diff pypoman
mypy pypoman --config-file {toxinidir}/tox.ini
pylint pypoman --exit-zero --rcfile={toxinidir}/tox.ini
pytype pypoman
ruff pypoman
ruff check pypoman

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

0 comments on commit 37eb13f

Please sign in to comment.