File tree Expand file tree Collapse file tree 4 files changed +749
-696
lines changed
Expand file tree Collapse file tree 4 files changed +749
-696
lines changed Original file line number Diff line number Diff line change 1+ name : Lint Python Code
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ lint :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v4
16+
17+ - name : Set up Python
18+ uses : actions/setup-python@v4
19+ with :
20+ python-version : ' 3.11'
21+
22+ - name : Install dependencies
23+ run : |
24+ python -m pip install --upgrade pip
25+ pip install pylint
26+
27+ - name : Install project dependencies
28+ run : |
29+ pip install -e .
30+
31+ - name : Lint with pylint
32+ run : |
33+ pylint lemonade_arcade --rcfile .pylintrc
34+
Original file line number Diff line number Diff line change 1+ [MASTER]
2+
3+ # Ignore the builtin_games folder
4+ ignore =builtin_games
5+
6+ [MESSAGES CONTROL]
7+
8+ # Disable the following warnings:
9+ # W1203: logging-fstring-interpolation - Using f-strings in logging calls
10+ # W0718: broad-exception-caught - Catching too general exception
11+ disable =W1203,W0718
You can’t perform that action at this time.
0 commit comments