Fix extra parameter error from #552 #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
pull_request: | |
paths: | |
- "**.py" | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install python packages | |
run: pip install black ruff pre-commit-hooks | |
- name: Run pre-commit-hooks | |
run: | | |
check-ast | |
trailing-whitespace-fixer --markdown-linebreak-ext=md | |
end-of-file-fixer | |
mixed-line-ending | |
- name: Run black | |
run: black --check . | |
- name: Run ruff | |
run: ruff check . |