Skip to content

Commit 4903762

Browse files
Update automerge.yml
Ignore F821 on flake8 so we don't get a false positive from classes created from config in global scope used in function scope.
1 parent da3d0b6 commit 4903762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Lint with flake8
3131
run: |
3232
# stop the build if there are Python syntax errors or undefined names
33-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
33+
flake8 . --count --select=E9,F63,F7,F82 --ignore F821 --show-source --statistics
3434
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
3535
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3636
# - name: Test distributed random search Ames by running

0 commit comments

Comments
 (0)