Skip to content

Commit

Permalink
Fix linting code.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Nov 25, 2024
1 parent acfc098 commit 9c9ad27
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,15 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install ruff black mypy
pip install --upgrade ruff mypy pyright
- name: ruff
run: |
ruff --version
ruff check .
- name: black
run: |
black --version
black --check --diff --color package
ruff format --check .
- name: mypy
run: |
mypy --version
rm -rf .mypy_cache
mypy package
run: mypy src

- name: pyright
run: pyright

0 comments on commit 9c9ad27

Please sign in to comment.