Skip to content

Commit

Permalink
Merge branch 'failed/flake8' into failed/black
Browse files Browse the repository at this point in the history
  • Loading branch information
nanato12 authored Sep 12, 2024
2 parents ecd3f09 + c066926 commit a3d1d20
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/lint_python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,17 @@ jobs:
pip install -r requirements-dev.txt
pip install -r requirements.txt
- name: Lint check
run: make lint
- name: Lint with Ruff check
uses: chartboost/ruff-action@v1

- name: Lint with Ruff format --check
uses: chartboost/ruff-action@v1
with:
args: 'format --check'

- name: Lint with mypy
run: |
if [ -n "$(find . -type f -name '*.py')" ]; then
mypy --version
mypy .
fi
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ init:
lint:
ruff --version
ruff check
ruff format --check
mypy .

.PHONY: fmt
Expand Down

0 comments on commit a3d1d20

Please sign in to comment.