Commit ce191cf 1 parent 1657212 commit ce191cf Copy full SHA for ce191cf
File tree 5 files changed +549
-2
lines changed
5 files changed +549
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : ruff
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+
8
+ jobs :
9
+ format :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+
15
+ - name : Install uv
16
+ uses : astral-sh/setup-uv@v3
17
+ with :
18
+ enable-cache : true
19
+
20
+ - name : " Set up Python"
21
+ uses : actions/setup-python@v5
22
+ with :
23
+ python-version-file : " .python-version"
24
+
25
+ - name : Install the project
26
+ run : uv sync --frozen --all-extras --dev
27
+
28
+ - name : Run ruff format check
29
+ run : uv run --frozen ruff check .
Original file line number Diff line number Diff line change
1
+ name : typecheck
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+
8
+ jobs :
9
+ typecheck :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+
15
+ - name : Install uv
16
+ uses : astral-sh/setup-uv@v3
17
+ with :
18
+ enable-cache : true
19
+
20
+ - name : " Set up Python"
21
+ uses : actions/setup-python@v5
22
+ with :
23
+ python-version-file : " .python-version"
24
+
25
+ - name : Install the project
26
+ run : uv sync --frozen --all-extras --dev
27
+
28
+ - name : Run pyright
29
+ run : uv run --frozen pyright
Original file line number Diff line number Diff line change 11
11
12
12
steps :
13
13
- uses : actions/checkout@v4
14
- - uses : actions/setup-python@v5
14
+
15
+ - name : Install uv
16
+ uses : astral-sh/setup-uv@v3
17
+ with :
18
+ enable-cache : true
19
+
20
+ - name : " Set up Python"
21
+ uses : actions/setup-python@v5
15
22
with :
16
- python-version : " 3.10 "
23
+ python-version-file : " .python-version "
17
24
18
25
- run : pip install .
19
26
- run : pip install -U pytest trio
Original file line number Diff line number Diff line change @@ -38,5 +38,8 @@ target-version = "py38"
38
38
39
39
[tool .uv ]
40
40
dev-dependencies = [
41
+ " pyright>=1.1.384" ,
42
+ " pytest>=8.3.3" ,
43
+ " ruff>=0.6.9" ,
41
44
" trio>=0.26.2" ,
42
45
]
You can’t perform that action at this time.
0 commit comments