mirror of
https://github.com/muhac/chinese-holidays-calendar.git
synced 2024-11-21 01:01:50 +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:
|
||||
name: Pylint
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [ "3.9", "3.10" ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: ricardochaves/python-lint@v1.4.0
|
||||
- uses: actions/checkout@v3
|
||||
- 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