Skip to content
check

GitHub Action

PyAction: One-stop Python linter

1.4.1 Latest version

PyAction: One-stop Python linter

check

PyAction: One-stop Python linter

One-stop, zero-configuration GitHub Action for linting and enforcing style in Python projects

Installation

Copy and paste the following snippet into your .yml file.

              

- name: PyAction: One-stop Python linter

uses: rahul-deepsource/pyaction@1.4.1

Learn more about this action in rahul-deepsource/pyaction

Choose a version

PyAction

One-stop, zero-configuration GitHub Action for linting and enforcing style in Python projects.

Screenshot of annotations

Features

  • Zero configuration based: Add a single line in your CI and done!
  • GitHub Annotations on PR: Highlights issues inline on the PR diff.
  • all of most popular community trusted linters in one place.

Linters supported

Usage

Basic:

steps:
  - uses: actions/checkout@v1
  - uses: rahul-deepsource/pyaction@1.4.0

Options:

steps:
  - uses: actions/checkout@v1
  - uses: rahul-deepsource/pyaction@1.4.0
    with:
      python-root-list: "src/ tests/"
      use-pycodestyle: false
      use-mypy: false
      use-vulture: true
      extra-pylint-options: "--output-format="colorized"

License

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

Contributions

Contributions are welcome! See CONTRIBUTING.md

Thanks to

  • Ricardo Baltazar Chaves' python-lint which was used as a starting point for this project.
  • Florian Bruhin who provided most of the regular expressions for problem matchers.