Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Python Code Quality and Lint

Actions
Supports Pylint, pycodestyle, Flake8, black, mypy and isort
v1.3.0
Star (91)

python-lint

All lints status

About

This action must be used for aplication the bids:

Usage

See action.yml

Basic:

steps:
  - uses: actions/checkout@v1
  - uses: ricardochaves/[email protected]

Options:

steps:
  - uses: actions/checkout@v1
  - uses: ricardochaves/[email protected]
    with:
      python-root-list: "python_alelo tests"
      use-pylint: false
      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: ""

Command build logic list:

pylint $(extra-pylint-options) $(python-root-list)

pycodestyle $(extra-pycodestyle-options) $(python-root-list)

flake8 $(extra-flake8-options) $(python-root-list)

black --check $(extra-black-options) $(python-root-list)

mypy $(extra-mypy-options) $(python-root-list)

isort $(extra-isort-options) $(python-root-list) -c --diff

Versions used

To identify the version used you must consult the CHANGELOG.md of the image used in our Dockerfile.

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome! See Contributor's Guide

Python Code Quality and Lint is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Supports Pylint, pycodestyle, Flake8, black, mypy and isort
v1.3.0

Python Code Quality and Lint is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.