Skip to content

Commit 5e6ece3

Browse files
Check import order in stubs
1 parent c4f8db0 commit 5e6ece3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.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 I,PYI
6969

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

src/pyscipopt/scip.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from dataclasses import dataclass
22
from typing import ClassVar
3-
from typing_extensions import disjoint_base
43

54
import numpy
65
from _typeshed import Incomplete
6+
from typing_extensions import disjoint_base
77

88
CONST: Term
99
EventNames: dict

0 commit comments

Comments
 (0)