File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Lint (flake8)
2+
3+ on :
4+ push :
5+ branches : [ "**" ]
6+ pull_request :
7+ branches : [ "**" ]
8+
9+ jobs :
10+ flake8 :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v4
15+
16+ - name : Set up Python
17+ uses : actions/setup-python@v5
18+ with :
19+ python-version : ' 3.8'
20+
21+ - name : Install flake8
22+ run : |
23+ python -m pip install --upgrade pip
24+ pip install flake8
25+
26+ - name : Run flake8
27+ run : |
28+ flake8 .
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def search_wrapper(gen):
2828 yield next (gen )
2929 except StopIteration :
3030 return
31- except github .exceptions .ForbiddenError as e :
31+ except github .exceptions .ForbiddenError :
3232 search_rate_limit = gh .rate_limit ()['resources' ]['search' ]
3333 # limit_remaining = search_rate_limit['remaining']
3434 reset_time = search_rate_limit ['reset' ]
You can’t perform that action at this time.
0 commit comments