Unverified Commit 8446e917 authored by Paul Fultz II's avatar Paul Fultz II Committed by GitHub
Browse files

Add pyflakes to CI (#902)

* Add pyflakes to CI

* Remove unused imports
parent 6403d482
......@@ -131,6 +131,22 @@ jobs:
find . -iname '*.py' \
| grep -v 'build/' \
| xargs -n 1 -P 1 -I{} -t sh -c 'yapf {} | diff - {}'
pyflakes:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install pyflakes
run: pip install pyflakes==2.3.1
- name: Run pyflakes
run: pyflakes examples/ tools/ src/ test/ doc/
linux:
runs-on: ${{ matrix.os }}
......
......@@ -4,7 +4,6 @@ if sys.version_info < (3, 0):
import argparse
import os
import platform
import unittest
import onnx
import onnx.backend.test
......
import migraphx, array, sys
import migraphx
def test_add_op():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment