You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Python Linter
v0.1-beta.3
Ensure Python code quality. Supports pylint, black, mypy and isort.
Pylint is a Python static code analysis tool which looks for programming errors, helps enforcing a coding standard, sniffs for code smells and offers simple refactoring suggestions.
Black is the uncompromising Python code formatter.
Mypy is an optional static type checker for Python. You can add type hints (PEP 484) to your Python programs, and use mypy to type check them statically. Find bugs in your programs without even running them!
isort is a Python utility / library to sort imports alphabetically, and automatically separated into sections and by type.
steps:
- uses: actions/checkout@v2
- name: Python Linter
uses: sunnysid3up/python-linter@master
with:
source: "src"
django: true,
mypy-options: "--ignore-missing-imports --show-error-codes"
isort-options: "-w 100"