This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/.github/actions/python-black-lint/action.yml

18 lines
360 B
YAML
Raw Normal View History

# Define action name, description, and inputs
name: "Python Black Lint"
description: "Lint python code with black"
# Define action steps
runs:
using: "composite"
steps:
- uses: actions/setup-python@v2
with:
python-version: "3.x"
architecture: x64
- run: |
pip install black
black --check .
shell: bash