Trying to get rye working - linter #113
Workflow file for this run
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: Run linter | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint code | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install rye | |
uses: eifinger/setup-rye@v4 | |
with: | |
enable-cache: true | |
- name: Sync dependencies | |
run: rye sync | |
- name: Run pylint | |
run: | | |
source .venv/bin/activate | |
pylint --exit-zero src/mepo | |
timeout-minutes: 5 |