This repository has been archived by the owner on May 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail pull request with pylint below total score of 8
- Loading branch information
Showing
1 changed file
with
6 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,14 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: Lint | ||
|
||
on: [pull_request] | ||
|
||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
gitHubActionForPylint: | ||
name: GitHub Action for pylint | ||
Pylint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: ricardochaves/python-lint@v1.3.0 | ||
with: | ||
python-root-list: "." | ||
use-pylint: true | ||
use-pycodestyle: false | ||
use-flake8: false | ||
use-black: false | ||
use-mypy: false | ||
use-isort: false | ||
extra-pylint-options: "" | ||
extra-pycodestyle-options: "" | ||
extra-flake8-options: "" | ||
extra-black-options: "" | ||
extra-mypy-options: "" | ||
extra-isort-options: "" | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-python@v1 | ||
- run: pip3 install pylint | ||
- run: pip3 install -r requirements.txt | ||
- run: pylint **/*.py --fail-under 8 |