Skip to content

Pin version in Dockerfile of thugd to address #2 #142

Pin version in Dockerfile of thugd to address #2

Pin version in Dockerfile of thugd to address #2 #142

Workflow file for this run

name: lint
on: [push, pull_request]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "*"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install black
- name: Format with black
run: |
cd backend && black . && cd ..
cd collectors && black .
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "*"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8
- name: Lint with black
run: |
cd collectors && flake8 .