silleellie/PyLint with dynamic badge
Perform pylint check on one or multiple packages/python files and update badge in README.md
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| lint-path | The path, relative to the root of the repo, of the package(s) or pyton file(s) to lint | yes | — |
| python-version | Python version which will install all dependencies and lint package(s) | yes | — |
| requirements-path | The path, relative to the root of the repo, of the requirements to install | no | requirements.txt |
| readme-path | The path, relative to the root of the repo, of the README.md to update with the pylint badge | no | README.md |
| pylintrc-path | The path, relative to the root of the repo, of the .pylintrc file containing custom lint rules to use | no | "" |
| badge-text | Text to display in the badge | no | PyLint |
| color-bad-score | Color of the badge for pylint scores < 5. Hex, rgb, rgba, hsl, hsla and css named colors can all be used | no | red |
| color-ok-score | Color of the badge for pylint scores in range [5,8). Hex, rgb, rgba, hsl, hsla and css named colors can all be used | no | orange |
| color-good-score | Color of the badge for pylint scores in range [8,10). Hex, rgb, rgba, hsl, hsla and css named colors can all be used | no | yellow |
| color-perfect-score | Color of the badge for pylint scores == 10. Hex, rgb, rgba, hsl, hsla and css named colors can all be used | no | brightgreen |
| commit-message | Message for the commit that updates pylint badge | no | Updated pylint badge |
Outputs
no outputs