From a0e045dc52113963c6e0ce1c4a2a2d170cbdbe64 Mon Sep 17 00:00:00 2001 From: William Ballenthin Date: Mon, 26 Apr 2021 08:39:01 -0600 Subject: [PATCH] ci: use black/isort dep from setup.py closes #535 --- .github/workflows/tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d5917742..03888c8e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: with: python-version: 3.8 - name: Install dependencies - run: pip install 'isort==5.*' black + run: pip install -e .[dev] - name: Lint with isort run: isort --profile black --length-sort --line-width 120 -c . - name: Lint with black @@ -34,7 +34,6 @@ jobs: uses: actions/setup-python@v2 with: python-version: 3.8 - # We don't need vivisect, so we can install capa using Python3 - name: Install capa run: pip install -e . - name: Run rule linter