diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d958f161..d804122b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,7 +16,7 @@ concurrency: jobs: linting: - name: Pylint Checks + name: Pylint & Black Checks runs-on: ubuntu-20.04 timeout-minutes: 3 steps: @@ -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 diff --git a/requirements/black.txt b/requirements/black.txt deleted file mode 100644 index 36196724..00000000 --- a/requirements/black.txt +++ /dev/null @@ -1 +0,0 @@ -black==23.3.0 diff --git a/requirements/lint.txt b/requirements/lint.txt index c901d672..dfcc58f0 100644 --- a/requirements/lint.txt +++ b/requirements/lint.txt @@ -1,3 +1,4 @@ +black==23.3.0 pylint==2.17.* -r codemodder.txt -r test.txt