Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

blacken #10

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 13 additions & 21 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
name: Pylint

on: [push]

name: reviewdog
on: [pull_request]
jobs:
build:

linter_name:
name: runner / black formatter
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
continue-on-error: true
run: |
pylint `find . -type d -name migrations -prune -o -name '*.py'| grep -v __ |xargs`

- uses: actions/checkout@v2
- uses: reviewdog/action-black@v2
with:
github_token: ${{ secrets.github_token }}
# Change reviewdog reporter if you need [github-pr-check, github-check].
reporter: github-pr-check
# Change reporter level if you need.
# GitHub Status Check won't become failure with a warning.
level: warning