Skip to content

Merge pull request #1112 from oemof/revision/remove_v04_compatibility… #1613

Merge pull request #1112 from oemof/revision/remove_v04_compatibility…

Merge pull request #1112 from oemof/revision/remove_v04_compatibility… #1613

Workflow file for this run

name: Black
on:
push:
branches:
- master
- dev
- 'release/**'
pull_request:
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Python dependencies
run: pip install black flake8
- name: Run linters
uses: samuelmeuli/lint-action@v1
with:
github_token: ${{ secrets.github_token }}
# Enable linters
black: true
flake8: false
# Mark the following line true if you want linters to attempt to autocorrect your code
auto_fix: false
git_name: "Greene Lab Linter"
git_email: "csgreene@upenn.edu"