black formatting and removing unused imports #145
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Black | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: Python Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Setup checkout | |
uses: actions/checkout@master | |
- name: Lint with Black | |
run: | | |
pip install black | |
black funlib/persistence tests --diff --check |