Update Pylint

This commit is contained in:
Muhan Li 2022-09-25 00:45:16 +08:00
parent 9f5ff96495
commit 05f3fbc89c
2 changed files with 17 additions and 3 deletions

View File

@ -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')

View File

@ -2,7 +2,7 @@
subscription link of public holidays in mainland China
> Calendar data updated at 2:44 on September 20, 2022
> Calendar data updated at 1:01 on September 25, 2022
## Demo