Skip to content

Commit

Permalink
⬆️ bump the dev deps (#312)
Browse files Browse the repository at this point in the history
* ⬆️ bump the dev deps

* 🚨 fix ruff warning
  • Loading branch information
jorenham authored Dec 15, 2024
1 parent 8793281 commit cc91d80
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 95 deletions.
9 changes: 2 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ ci:
autoupdate_branch: "master"
autoupdate_commit_msg: "update pre-commit hooks"
skip:
- markdownlint
- mdformat
- typos
- ruff
- ruff-format
- basedmypy
- basedpyright

Expand Down Expand Up @@ -57,12 +52,12 @@ repos:
- mdformat-pyproject

- repo: https://github.com/crate-ci/typos
rev: v1.28.2
rev: v1.28.3
hooks:
- id: typos

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.2
rev: v0.8.3
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ scipy = [
]
lint = [
{include-group = "scipy"},
"mdformat-gfm>=0.3.7,<1",
"mdformat-gfm>=0.4.1",
"mdformat-gfm-alerts>=1.0.1,<2",
"ruff>=0.8.2",
"ruff>=0.8.3",
"sp-repo-review[cli]>=2024.8.19",
]
typecheck = [
{include-group = "scipy"},
{include-group = "codegen"},
"basedmypy[faster-cache]>=2.8.1",
"basedpyright>=1.22.1",
"basedpyright>=1.23.0",
"packaging",
]
codegen = [
Expand Down
2 changes: 1 addition & 1 deletion scipy-stubs/optimize/_slsqp_py.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ _ExitDesc: TypeAlias = Literal[
"Gradient evaluation required (g & a)", # -1
"Optimization terminated successfully", # 0
"Function evaluation required (f & c)", # 1
"More equality constraints than independent variables", # 2 # noqa: PYI053
"More equality constraints than independent variables", # 2
"More than 3*n iterations in LSQ subproblem", # 3
"Inequality constraints incompatible", # 4
"Singular matrix E in LSQ subproblem", # 5
Expand Down
Loading

0 comments on commit cc91d80

Please sign in to comment.