Skip to content

Update 04-code-checks.yml #4

Update 04-code-checks.yml

Update 04-code-checks.yml #4

name: Code checks
on: [push, pull_request]
jobs:
job1:
name: linting and formatting
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@main
- name: Use Python version 3.8
uses: actions/setup-python@v3
with:
python-version: '3.8'
- name: Install Flake8
run: |
python -m pip install ruff
- name: Run ruff linting test
run: |
ruff check src/model/