Skip to content

Commit 5d80351

Browse files
authored
Fix CI (#15)
* fix ci * use python 3.10
1 parent c7fbb9a commit 5d80351

File tree

5 files changed

+30
-53
lines changed

5 files changed

+30
-53
lines changed

.github/workflows/black.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/mypy.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/pull-request.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Format Lint & Types
2+
on:
3+
pull_request:
4+
push:
5+
branches: [ main ]
6+
jobs:
7+
python:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Setup Python 3.10
12+
uses: actions/setup-python@v5
13+
with:
14+
python-version: '3.10'
15+
- name: Install Requirements
16+
run:
17+
pip install -r requirements.txt
18+
- name: Pylint
19+
run:
20+
pylint src/
21+
- name: Black
22+
run:
23+
black --check ./
24+
- name: Type Check (mypy)
25+
run: mypy src

.github/workflows/pylint.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@ requests>=2.32.2
88
types-botocore>=1.0.2
99
types-aiobotocore>=2.13.0
1010
types-requests>=2.32.0.20240523
11+
12+
# Dev Dependencies
13+
black
14+
pylint
15+
mypy

0 commit comments

Comments
 (0)