File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,11 +15,10 @@ jobs:
1515 fetch-depth : 1
1616
1717 - name : Install uv and set Python
18- uses : astral-sh/setup-uv@v8.0 .0
18+ uses : astral-sh/setup-uv@v8.1 .0
1919 with :
2020 python-version : " 3.12"
2121 enable-cache : true
22- version : " 0.8.22"
2322
2423 - name : Install Requirements
2524 run : uv sync --all-groups
Original file line number Diff line number Diff line change 2121 fetch-depth : 1
2222
2323 - name : Install uv and set Python
24- uses : astral-sh/setup-uv@v8.0 .0
24+ uses : astral-sh/setup-uv@v8.1 .0
2525 with :
2626 python-version : ${{ matrix.python-version }}
2727 enable-cache : true
@@ -47,11 +47,10 @@ jobs:
4747 fetch-depth : 1
4848
4949 - name : Install uv and set Python
50- uses : astral-sh/setup-uv@v8.0 .0
50+ uses : astral-sh/setup-uv@v8.1 .0
5151 with :
5252 python-version : " 3.12"
5353 enable-cache : true
54- version : " 0.8.22"
5554
5655 - name : Build sdist
5756 run : uv build --sdist
@@ -77,17 +76,17 @@ jobs:
7776 fetch-depth : 1
7877
7978 - name : Install uv and set Python
80- uses : astral-sh/setup-uv@v8.0 .0
79+ uses : astral-sh/setup-uv@v8.1 .0
8180 with :
8281 python-version : ${{ matrix.python-version }}
8382 enable-cache : true
84- version : " 0.8.22 "
83+ activate-environment : true
8584
8685 - name : Install project and dev dependencies
87- run : uv sync --group dev
86+ run : uv sync --frozen
8887
8988 - name : Run Pyright
90- run : uv run pyright
89+ run : uv run --with pyright==1.1.408 pyright
9190
9291 - name : Lint with Ruff
9392 run : uv run ruff check .
Original file line number Diff line number Diff line change @@ -15,11 +15,10 @@ jobs:
1515 fetch-depth : 1
1616
1717 - name : Install uv and set Python
18- uses : astral-sh/setup-uv@v8.0 .0
18+ uses : astral-sh/setup-uv@v8.1 .0
1919 with :
2020 python-version : " 3.12"
2121 enable-cache : true
22- version : " 0.8.22"
2322
2423 - name : Install Requirements
2524 run : uv sync --all-groups
Original file line number Diff line number Diff line change 2121 fetch-depth : 1
2222
2323 - name : Install uv and set Python
24- uses : astral-sh/setup-uv@v8.0 .0
24+ uses : astral-sh/setup-uv@v8.1 .0
2525 with :
2626 python-version : ${{ matrix.python-version }}
2727 enable-cache : true
4747 fetch-depth : 1
4848
4949 - name : Install uv and set Python
50- uses : astral-sh/setup-uv@v8.0 .0
50+ uses : astral-sh/setup-uv@v8.1 .0
5151 with :
5252 python-version : " 3.12"
5353 enable-cache : true
@@ -77,20 +77,27 @@ jobs:
7777 fetch-depth : 1
7878
7979 - name : Install uv and set Python
80- uses : astral-sh/setup-uv@v8.0 .0
80+ uses : astral-sh/setup-uv@v8.1 .0
8181 with :
8282 python-version : ${{ matrix.python-version }}
8383 enable-cache : true
84- version : " 0.8.22 "
84+ activate-environment : true
8585
8686 - name : Install project and dev dependencies
87- run : uv sync --group dev
87+ run : uv sync --frozen
8888
8989 - name : Run Pyright
90- run : uv run pyright
90+ uses : jakebailey/pyright-action@v3
91+ with :
92+ version : " 1.1.408"
93+ warnings : false
9194
9295 - name : Lint with Ruff
93- run : uv run ruff check .
96+ uses : astral-sh/ruff-action@v3
97+ with :
98+ args : check .
9499
95100 - name : Check formatting with Ruff
96- run : uv run ruff format --check .
101+ uses : astral-sh/ruff-action@v3
102+ with :
103+ args : format --check .
Original file line number Diff line number Diff line change @@ -111,17 +111,34 @@ typeCheckingMode = "strict"
111111reportImportCycles = false
112112reportPrivateUsage = false
113113pythonVersion = " 3.12"
114+ venvPath = " ."
115+ venv = " .venv"
114116
115117[dependency-groups ]
116118dev = [
119+ { include-group = " lint" },
120+ { include-group = " docs-dev" },
121+ { include-group = " compat" },
122+ ]
123+
124+ lint = [
117125 " ruff>=0.15.14" ,
118- " pyright>=1.1.408" ,
126+ ]
127+
128+ compat = [
119129 " discord-py>=2.7.1" ,
120130 " nextcord>=3.2.0" ,
121131 " disnake>=2.12.0" ,
132+ ]
133+
134+ speed = [
135+ " orjson" ,
136+ ]
137+
138+ docs-dev = [
122139 " sphinx-autobuild>=2025.8.25" ,
123140]
124- speed = [ " orjson " ]
141+
125142docs = [
126143 " shibuya>=2026.5.19" ,
127144 " sphinx" ,
You can’t perform that action at this time.
0 commit comments