Skip to content

Commit 2be5415

Browse files
committed
BUG: Use super-linter GitHub Action for black linting
Does not try to create an annotation, which is not permitted on forks re: wearerequired/lint-action#13 Addresses #234
1 parent 66453fd commit 2be5415

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ jobs:
1717
with:
1818
python-version: 3.9
1919

20-
- name: Install Python dependencies
21-
run: pip install black
22-
2320
- name: Lint Python
24-
uses: wearerequired/lint-action@v1
25-
with:
26-
black: true
27-
black_dir: src/
21+
uses: github/super-linter@v3
22+
env:
23+
VALIDATE_ALL_CODEBASE: false
24+
DEFAULT_BRANCH: master
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)