Skip to content

Commit

Permalink
Merge pull request MuckRock#25 from duckduckgrayduck/master
Browse files Browse the repository at this point in the history
Run pylint & black on PRs and commits
  • Loading branch information
duckduckgrayduck authored Dec 2, 2023
2 parents d6b5331 + 4f8423c commit 9f3851a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,27 @@ 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 dependencies for imports
run: |
pip install python-dateutil requests urllib3 fastjsonschema ratelimit listcrunch pyyaml
- name: Install pylint and black
run: |
pip install pylint black
- name: Run pylint and black
run: |
pylint ./documentcloud
black ./documentcloud

0 comments on commit 9f3851a

Please sign in to comment.