Skip to content

fixing unitest warnings #2812

fixing unitest warnings

fixing unitest warnings #2812

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
architecture: x64
- name: Checkout TorchX
uses: actions/checkout@v2
- name: Install Dependencies
run: |
set -eux
grep -E "(usort|black|flake8)" < dev-requirements.txt > /tmp/lint-requirements.txt
pip install -r /tmp/lint-requirements.txt
- name: Run Lint
run: |
git config --global url."https://${{ secrets.GITHUB_TOKEN }}:[email protected]/".insteadOf "https://github.com/"
scripts/lint.sh