bitwarden-ssh-agent/.github/workflows/flake8.yaml
Joao Jacome 6035f80a11
Setting up PR/push workflows (#34)
* Setting up pull request/push workflows to run Black, MyPy and Flake8
* Fixing formatting
2023-01-14 16:29:39 +00:00

26 lines
503 B
YAML

name: flake8
on:
push:
branches:
- master
pull_request: {}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install flake8
run: |
pip install --upgrade pip
python3.10 -m venv env
source env/bin/activate
pip install flake8
- name: Run black
run: |
env/bin/flake8 bw_add_sshkeys.py