Skip to content

Commit

Permalink
Merge pull request #2 from bigladder/add-linting-formatting
Browse files Browse the repository at this point in the history
Add linting, formatting
  • Loading branch information
nealkruis authored Dec 22, 2023
2 parents a9a46b3 + f66eaa4 commit 4d8eded
Show file tree
Hide file tree
Showing 9 changed files with 919 additions and 47 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,21 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set Project Name
run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
- name: Setup Python ${{ matrix.python-version }}
uses: bigladder/github-actions/setup-python-poetry@main
with:
python-version: ${{ matrix.python-version }}
- name: Lint with Pylint
run: |
poetry run pylint ${{env.REPOSITORY_NAME}}
poetry run pylint test/*.py
continue-on-error: true
- name: Static type checking
run: |
poetry run mypy ${{env.REPOSITORY_NAME}}
continue-on-error: true
- name: Test
run: |
source $VENV
Expand Down
Loading

0 comments on commit 4d8eded

Please sign in to comment.