Skip to content

rahul-deepsource/pyaction

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Repository files navigation

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/[email protected]

Options:

steps:
  - uses: actions/checkout@v1
  - uses: rahul-deepsource/[email protected]
    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.

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 83.0%
  • Dockerfile 10.4%
  • Python 6.6%