mirror of
https://github.com/muhac/chinese-holidays-calendar.git
synced 2025-02-17 17:59:48 +08:00
Update Pylint
This commit is contained in:
parent
9f5ff96495
commit
05f3fbc89c
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -53,7 +53,21 @@ jobs:
|
|||||||
pylint:
|
pylint:
|
||||||
name: Pylint
|
name: Pylint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
python-version: [ "3.9", "3.10" ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3
|
||||||
- uses: ricardochaves/python-lint@v1.4.0
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
|
uses: actions/setup-python@v3
|
||||||
|
with:
|
||||||
|
python-version: ${{ matrix.python-version }}
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install pylint
|
||||||
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
|
- name: Analysing the code with pylint
|
||||||
|
run: |
|
||||||
|
pylint $(git ls-files '*.py')
|
||||||
|
Loading…
Reference in New Issue
Block a user