mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-04-15 06:32:11 +03:00
Create pylint.yml
This commit is contained in:
parent
68a5d5f176
commit
6165e0c6bf
20
.github/workflows/pylint.yml
vendored
Normal file
20
.github/workflows/pylint.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: Pylint
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pylint
|
||||
|
||||
- name: Analysing the code with pylint
|
||||
run: pylint .
|
Loading…
Reference in New Issue
Block a user