From 6084df1f1967528aa9b582fbf354c85666e49d2e Mon Sep 17 00:00:00 2001 From: Sanjin <102841251+duckduckgrayduck@users.noreply.github.com> Date: Wed, 29 Nov 2023 16:39:30 -0600 Subject: [PATCH] Try pylint and black --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a6014e9..3096cdb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,3 +31,23 @@ jobs: run: | make test working-directory: . + + pylint-and-black: + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v2 + + - name: Set up Python 3.8 + uses: actions/setup-python@v4 + with: + python-version: 3.8 + + - name: Install pylint and black + run: | + pip install pylint black + + - name: Run pylint and black + run: | + pylint ./documentcloud + black ./documentcloud