|
44 | 44 | cache: "poetry" |
45 | 45 | - name: Install Dependencies |
46 | 46 | run: poetry install |
47 | | - - name: Black check |
48 | | - run: poetry run black {source_dir} tests --check |
| 47 | + - name: Ruff format check |
| 48 | + run: poetry run ruff format {source_dir} tests --check |
49 | 49 | - name: Lint with ruff |
50 | 50 | run: poetry run ruff check . |
51 | 51 | - name: mypy check |
@@ -106,8 +106,8 @@ jobs: |
106 | 106 | run: | |
107 | 107 | python -m pip install -U pip |
108 | 108 | python -m pip install -r requirements-dev.txt |
109 | | - - name: Black check |
110 | | - run: black {source_dir} tests --check |
| 109 | + - name: Ruff format check |
| 110 | + run: ruff format {source_dir} tests --check |
111 | 111 | - name: Lint with ruff |
112 | 112 | run: ruff check . |
113 | 113 | - name: mypy check |
@@ -195,8 +195,8 @@ jobs: |
195 | 195 | python -m pip install -e . |
196 | 196 | maturin build --out dist |
197 | 197 | python -m pip install --no-index --find-links=dist/ prelude-parser |
198 | | - - name: Black check |
199 | | - run: black {source_dir} tests --check |
| 198 | + - name: Ruff format check |
| 199 | + run: ruff format {source_dir} tests --check |
200 | 200 | - name: Lint with ruff |
201 | 201 | run: ruff check . |
202 | 202 | - name: mypy check |
@@ -287,8 +287,8 @@ jobs: |
287 | 287 | cache: "poetry" |
288 | 288 | - name: Install Dependencies |
289 | 289 | run: poetry install |
290 | | - - name: Black check |
291 | | - run: poetry run black {source_dir} tests --check |
| 290 | + - name: Ruff format check |
| 291 | + run: poetry run ruff format {source_dir} tests --check |
292 | 292 | - name: Lint with ruff |
293 | 293 | run: poetry run ruff check . |
294 | 294 | - name: mypy check |
@@ -350,8 +350,8 @@ jobs: |
350 | 350 | run: | |
351 | 351 | python -m pip install -U pip |
352 | 352 | python -m pip install -r requirements-dev.txt |
353 | | - - name: Black check |
354 | | - run: black {source_dir} tests --check |
| 353 | + - name: Ruff format check |
| 354 | + run: ruff format {source_dir} tests --check |
355 | 355 | - name: Lint with ruff |
356 | 356 | run: ruff check . |
357 | 357 | - name: mypy check |
@@ -440,8 +440,8 @@ jobs: |
440 | 440 | python -m pip install -e . |
441 | 441 | maturin build --out dist |
442 | 442 | python -m pip install --no-index --find-links=dist/ prelude-parser |
443 | | - - name: Black check |
444 | | - run: black {source_dir} tests --check |
| 443 | + - name: Ruff format check |
| 444 | + run: ruff format {source_dir} tests --check |
445 | 445 | - name: Lint with ruff |
446 | 446 | run: ruff check . |
447 | 447 | - name: mypy check |
@@ -978,8 +978,8 @@ jobs: |
978 | 978 | cache: "poetry" |
979 | 979 | - name: Install Dependencies |
980 | 980 | run: poetry install |
981 | | - - name: Black check |
982 | | - run: poetry run black {} tests --check |
| 981 | + - name: Ruff format check |
| 982 | + run: poetry run ruff format {} tests --check |
983 | 983 | - name: Lint with ruff |
984 | 984 | run: poetry run ruff check . |
985 | 985 | - name: mypy check |
@@ -1080,8 +1080,8 @@ jobs: |
1080 | 1080 | python -m pip install -e . |
1081 | 1081 | maturin build --out dist |
1082 | 1082 | python -m pip install --no-index --find-links=dist/ prelude-parser |
1083 | | - - name: Black check |
1084 | | - run: black {} tests --check |
| 1083 | + - name: Ruff format check |
| 1084 | + run: ruff format {} tests --check |
1085 | 1085 | - name: Lint with ruff |
1086 | 1086 | run: ruff check . |
1087 | 1087 | - name: mypy check |
@@ -1151,8 +1151,8 @@ jobs: |
1151 | 1151 | run: | |
1152 | 1152 | python -m pip install -U pip |
1153 | 1153 | python -m pip install -r requirements-dev.txt |
1154 | | - - name: Black check |
1155 | | - run: black {} tests --check |
| 1154 | + - name: Ruff format check |
| 1155 | + run: ruff format {} tests --check |
1156 | 1156 | - name: Lint with ruff |
1157 | 1157 | run: ruff check . |
1158 | 1158 | - name: mypy check |
@@ -1223,8 +1223,8 @@ jobs: |
1223 | 1223 | cache: "poetry" |
1224 | 1224 | - name: Install Dependencies |
1225 | 1225 | run: poetry install |
1226 | | - - name: Black check |
1227 | | - run: poetry run black {} tests --check |
| 1226 | + - name: Ruff format check |
| 1227 | + run: poetry run ruff format {} tests --check |
1228 | 1228 | - name: Lint with ruff |
1229 | 1229 | run: poetry run ruff check . |
1230 | 1230 | - name: mypy check |
@@ -1296,8 +1296,8 @@ jobs: |
1296 | 1296 | run: | |
1297 | 1297 | python -m pip install -U pip |
1298 | 1298 | python -m pip install -r requirements-dev.txt |
1299 | | - - name: Black check |
1300 | | - run: black {} tests --check |
| 1299 | + - name: Ruff format check |
| 1300 | + run: ruff format {} tests --check |
1301 | 1301 | - name: Lint with ruff |
1302 | 1302 | run: ruff check . |
1303 | 1303 | - name: mypy check |
@@ -1396,8 +1396,8 @@ jobs: |
1396 | 1396 | python -m pip install -e . |
1397 | 1397 | maturin build --out dist |
1398 | 1398 | python -m pip install --no-index --find-links=dist/ prelude-parser |
1399 | | - - name: Black check |
1400 | | - run: black {} tests --check |
| 1399 | + - name: Ruff format check |
| 1400 | + run: ruff format {} tests --check |
1401 | 1401 | - name: Lint with ruff |
1402 | 1402 | run: ruff check . |
1403 | 1403 | - name: mypy check |
|
0 commit comments