Some random type hints #171
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: Linting | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
linting: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.8" | |
- name: Install dependencies | |
run: pip install ruff==0.0.284 isort==5.12.0 black==23.1.0 | |
- name: Run isort | |
run: isort falkon/ --line-length 120 --check --profile black | |
- name: Run ruff linter | |
run: ruff check falkon/ | |
- name: Run black linter | |
run: black falkon/ --line-length 120 --check |