https://github.com/pr-annotators/pylint-pr-annotator
Annotate pull requests with pylint errors detected during CI
https://github.com/pr-annotators/pylint-pr-annotator
annotations code-review github-actions pull-requests pylint python
Last synced: about 1 month ago
JSON representation
Annotate pull requests with pylint errors detected during CI
- Host: GitHub
- URL: https://github.com/pr-annotators/pylint-pr-annotator
- Owner: pr-annotators
- License: mit
- Created: 2022-03-31T19:36:43.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-31T19:42:49.000Z (about 4 years ago)
- Last Synced: 2025-01-15T07:12:16.265Z (over 1 year ago)
- Topics: annotations, code-review, github-actions, pull-requests, pylint, python
- Homepage:
- Size: 1000 Bytes
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pylint PR Annotator
## Usage
Annotate pull requests with pylint errors detected during CI.
Note: This doesn't install or run pylint, it just sets up the PR annotations.
### Example workflow
```yaml
name: My Workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install pylint
run: |
pip install pylint
- name: Add pylint annotator
uses: jpy-git/pylint-pr-annotator@master
- name: Run pylint
run: |
pylint src/
```