Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 21, 2022. It is now read-only.
/ python-lint Public archive
forked from ricardochaves/python-lint

GitHub Action for Lint your code

License

Notifications You must be signed in to change notification settings

sjjctl/python-lint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-lint

GitHub Actions status

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

About

GitHub Action for Lint your code

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 67.5%
  • Dockerfile 24.8%
  • Python 7.7%