Skip to content

temp: snakemake linting disabled #24

temp: snakemake linting disabled

temp: snakemake linting disabled #24

Workflow file for this run

name: Format and Linting
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
workflow_dispatch:
jobs:
Formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Format code
uses: psf/black@stable
with:
options: ". --verbose"
- name: Commit changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git diff --quiet && git diff --staged --quiet || (git add . ; git commit -m "Black formatting")
# Linting:
# needs: Formatting
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Test linting
# uses: snakemake/snakemake-github-action@v1.23.0
# with:
# directory: .
# snakefile: workflow/Snakefile
# args: "--lint"