Skip to content

Commit 2645c4d

Browse files
Use real parameter names in stubs (#1145)
* Replace all *args and **kwargs with real parameters * Mark disjoint_base classes * Fix Model.from_ptr * Remove _VarArray from stubs * Ignore errors on Statistics * Update 'todo' allow list * Check import order in stubs * Format stubs file * 'Resolve' MatrixExpr.sum issue * Annotate everything with Incomplete * Update CHANGELOG.md
1 parent 9ed4159 commit 2645c4d

File tree

5 files changed

+1727
-4622
lines changed

5 files changed

+1727
-4622
lines changed

.github/workflows/stubs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
args: "--version"
6666

6767
- name: Lint type stubs
68-
run: ruff check ${{ env.FILES }} --extend-select PYI
68+
run: ruff check ${{ env.FILES }} --extend-select ANN,I,PYI,RUF100
6969

7070
- name: Format type stubs
7171
run: ruff format ${{ env.FILES }}

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Unreleased
44
### Added
55
- Added automated script for generating type stubs
6-
- Wrapped SCIPaddClique
6+
- Include parameter names in type stubs
77
- Speed up MatrixExpr.sum(axis=...) via quicksum
88
### Fixed
99
- all fundamental callbacks now raise an error if not implemented

0 commit comments

Comments
 (0)