Skip to content

Commit e41122f

Browse files
committed
ci: split mypy and pylint
1 parent 2edb001 commit e41122f

2 files changed

Lines changed: 23 additions & 4 deletions

File tree

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: MyPy Type Checking and Pylint Linting
1+
name: MyPy Type Checking
22

33
on: [pull_request]
44

@@ -19,6 +19,4 @@ jobs:
1919

2020
- name: Type Check Source Code
2121
run: uv run mypy src
22-
23-
- name: Lint Source Code
24-
run: uv run pylint src
22+

.github/workflows/pylint.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Pylint Linting
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
linting:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
with:
12+
fetch-depth: 1
13+
14+
- name: Install uv
15+
uses: astral-sh/setup-uv@v5
16+
17+
- name: Set up Python
18+
run: uv sync
19+
20+
- name: Lint Source Code
21+
run: uv run pylint src

0 commit comments

Comments
 (0)