From f12c1fd6f97312ef9831e1bc4f30e1d85012331e Mon Sep 17 00:00:00 2001 From: spinoch <73601239+spinoch@users.noreply.github.com> Date: Tue, 10 Nov 2020 19:20:45 +0100 Subject: [PATCH] chore: run blackadder in linting instead of pre-commit --- .github/workflows/lint.yaml | 6 +++--- requirements-dev.txt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 558c99563..da1aa890c 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -89,10 +89,10 @@ jobs: - name: Install python dependencies run: pip install -r requirements-dev.txt - - name: Run pre-commmit hooks - run: pre-commit run -a - - name: Run black run: black --check --include "(tests|scripts)" . + - name: Run blackadder + run: blackdder --check --diff --fast --include '\.vy$' . + # TODO: Add Slither Static Analyzer diff --git a/requirements-dev.txt b/requirements-dev.txt index ac2aa2968..4ac2e2dbe 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,4 @@ black==19.10b0 +blackadder eth-brownie>=1.11.10,<2.0.0 pre-commit