Merge pull request #117 from JacobDomagala/116-update-tools #418
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
name: Linter | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
check: | |
name: Run Linter | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: CodeQuality | |
uses: JacobDomagala/StaticAnalysis@master | |
with: | |
language: "Python" | |
verbose: True | |
pylint_args: "--rcfile=.pylintrc --recursive=true" | |
python_dirs: "src test" | |
exclude_dir: "test/utils/" | |
- name: PyLint | |
uses: ricardochaves/python-lint@v1.4.0 | |
with: | |
python-root-list: "src test" | |
use-pylint: false | |
use-pycodestyle: true | |
use-flake8: true | |
use-black: true | |
use-mypy: true | |
use-isort: false | |
extra-mypy-options: "--ignore-missing-imports --show-error-codes" | |
extra-flake8-options: "--max-line-length=120 --ignore=E203,E402" | |
extra-pycodestyle-options: "--max-line-length=120 --ignore=E203,E402" | |