Skip to content

Commit

Permalink
add black to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
clavedeluna committed May 26, 2023
1 parent 985ea17 commit a8ea9a5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
linting:
name: Pylint Checks
name: Pylint & Black Checks
runs-on: ubuntu-20.04
timeout-minutes: 3
steps:
Expand All @@ -28,6 +28,8 @@ jobs:
uses: actions/checkout@v3
- name: Install Dependencies
run: pip install -r requirements/lint.txt
- name: Black Format Check
run: black --check .
- name: Run pylint
run: pylint codemodder/ tests/ -v

Expand Down
1 change: 0 additions & 1 deletion requirements/black.txt

This file was deleted.

1 change: 1 addition & 0 deletions requirements/lint.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
black==23.3.0
pylint==2.17.*
-r codemodder.txt
-r test.txt

0 comments on commit a8ea9a5

Please sign in to comment.