added return type #40
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: Ruff | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pylint | |
- name: ruff-action | |
# You may pin to the exact commit or the version. | |
# uses: astral-sh/ruff-action@d0a0e814ec17e92d33be7d24dd922b479f1bcd38 | |
uses: astral-sh/[email protected] | |
with: | |
# Arguments passed to Ruff. Use `ruff --help` to see available options. Defaults to `check`. | |
args: check | |
# Whether to only run Ruff on changed files. Defaults to `false`. | |
changed-files: True |