Skip to content

Merge pull request #12 from pythonhealthdatascience/dev #3

Merge pull request #12 from pythonhealthdatascience/dev

Merge pull request #12 from pythonhealthdatascience/dev #3

Workflow file for this run

# This file will lint the specified files/directories.
name: lint
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install python and dependencies
uses: actions/setup-python@v4
with:
python-version: '3.13'
cache: 'pip'
- run: pip install -r requirements.txt
- name: Lint model code
run: |
flake8 ./simulation
pylint ./simulation
- name: Lint tests
run: |
flake8 ./tests
pylint ./tests