Skip to content

Commit af9cca4

Browse files
authored
add basedmypy, basedpyright (#13)
* add basedmypy, basedpyright * review
1 parent f7bcae8 commit af9cca4

File tree

4 files changed

+557
-71
lines changed

4 files changed

+557
-71
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
push:
7+
branches:
8+
- main
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
env:
15+
# Many color libraries just need this to be set to any value, but at least
16+
# one distinguishes color depth, where "3" -> "256-bit color".
17+
FORCE_COLOR: 3
18+
19+
jobs:
20+
lint:
21+
name: Format
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
26+
with:
27+
python-version: "3.x"
28+
- uses: prefix-dev/setup-pixi@92815284c57faa15cd896c4d5cfb2d59f32dc43d # v0.8.3
29+
with:
30+
pixi-version: v0.43.3
31+
cache: true
32+
environments: lint
33+
- name: Run linters
34+
run: pixi run lint

0 commit comments

Comments
 (0)