Skip to content

Optimize code structure #122

Optimize code structure

Optimize code structure #122

Workflow file for this run

name: Workflow for pylint
on:
pull_request:
branches:
- main
- zh
# file paths to consider in the event
paths:
- '**.py'
- '!**.md'
- '.github/workflows/pylint.yml'
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.0
- name: Setup Python
uses: actions/setup-python@v3.0.0
with:
python-version: 3.8
- name: Python pylint
run: |
pip install pylint==2.10.2
pylint --rcfile=.pylintrc --output-format=colorized src
pylint --rcfile=.pylintrc --output-format=colorized offline_tools