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