Skip to content

Commit 6081cbe

Browse files
committed
Refactor into lemonade_client
1 parent 3f60b9a commit 6081cbe

File tree

4 files changed

+749
-696
lines changed

4 files changed

+749
-696
lines changed

.github/workflows/lint-python.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+

.pylintrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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

0 commit comments

Comments
 (0)