Skip to content

Membrane components, mechanism, and examples #121

Membrane components, mechanism, and examples

Membrane components, mechanism, and examples #121

Workflow file for this run

name: Linter
on:
pull_request:
jobs:
lint:
name: run_linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- name: Install dependencies
run: pip install flake8
- name: Run flake8 linter
run: |
mkdir -p ./linter_output
echo ${{ github.event.number }} > ./linter_output/pr_number
echo ${{ github.event.pull_request.head.sha }} > ./linter_output/head_sha
flake8 . | tee ./linter_output/flake8.out
- uses: actions/upload-artifact@v2
with:
name: linter_output
path: linter_output