Skip to content

Adding Ruff linting

Adding Ruff linting #5

Workflow file for this run

name: "2015"
on:
push:
branches: [ "master" ]
paths:
- 2015/**
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./2015
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run lint
run: poetry run ruff check
- name: Run tests
run: poetry run pytest