add working example to delete computers by file #135
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: isort | |
on: | |
push: | |
paths: | |
- "**.py" | |
- ".isort.cfg" | |
- "requirements.txt" | |
- ".github/workflows/isort.yaml" | |
pull_request: | |
paths: | |
- "**.py" | |
- ".isort.cfg" | |
- "requirements.txt" | |
- ".github/workflows/isort.yaml" | |
jobs: | |
isort: | |
name: runner / isort | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8" | |
- name: Install isort | |
run: pip install isort | |
# - name: Install requirements | |
# run: pip install -r requirements.txt | |
- name: Run isort | |
run: isort . --check --diff |