From fe0ed5a568ca2457115e8c074bff54ca437f5d2d Mon Sep 17 00:00:00 2001 From: IAmTomahawkx Date: Tue, 21 Sep 2021 14:48:32 -0700 Subject: [PATCH] use psf/black for black checker --- .github/workflows/ci.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30d23160..27a7e1d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,19 +28,11 @@ jobs: black: runs-on: ubuntu-latest steps: - - name: checkout + - name: Checkout uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v1 + - name: Run linter + uses: psf/black@stable with: - python-version: 3.8 - - - name: install black - run: pip install black - - - name: run linter - uses: wearerequired/lint-action@v1 - with: - black: true - black_args: ". --line-length 120 --check" \ No newline at end of file + options: "--line-length 120 --check" + src: "./discord" \ No newline at end of file