Skip to content

Use only Python 3.10, 3.11 in GH tests #1600

Use only Python 3.10, 3.11 in GH tests

Use only Python 3.10, 3.11 in GH tests #1600

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: "[email protected]"