Skip to content

Commit c00f293

Browse files
committed
Add basic linters
1 parent 8fd9b64 commit c00f293

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/linters.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Linters
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '**'
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
- name: Python Setup
15+
uses: actions/setup-python@v3
16+
with:
17+
python-version: 3.13
18+
19+
- name: Install libraries
20+
run: |
21+
pip install -e .[development]
22+
23+
- name: mypy
24+
run: mypy ./src
25+
26+
- name: ruff
27+
run: ruff check .
28+
29+
- name: flake8
30+
run: flake8 .

0 commit comments

Comments
 (0)