Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith committed May 29, 2024
1 parent 8f2704a commit 3b463a6
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 53 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/black.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/mypy.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Format Lint & Types
on:
pull_request:
push:
branches: [ main ]
jobs:
python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install Requirements
run:
pip install -r requirements.txt
- name: Pylint
run:
pylint src/
- name: Black
run:
black --check ./
- name: Type Check (mypy)
run: mypy src
19 changes: 0 additions & 19 deletions .github/workflows/pylint.yml

This file was deleted.

5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ requests>=2.32.2
types-botocore>=1.0.2
types-aiobotocore>=2.13.0
types-requests>=2.32.0.20240523

# Dev Dependencies
black
pylint
mypy

0 comments on commit 3b463a6

Please sign in to comment.