Skip to content

Commit

Permalink
[feat] Add pylint, mypy. Touches on #4
Browse files Browse the repository at this point in the history
  • Loading branch information
pingpingy1 committed Oct 24, 2023
1 parent fb50a93 commit 547af7d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/black.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/python_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Python Check

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
name: Python Check
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install --upgrade pip
- run: pip install "black<23" pylint==v3.0.0a3 mypy==v0.902
- run: black --diff --check $(git ls-files '*.py')
- run: mypy --strict $(git ls-files '*.py')

0 comments on commit 547af7d

Please sign in to comment.