Skip to content

Commit f03355b

Browse files
Ignore build directory in .flake8 config (#8079)
Prevents spurious formatting errors from `./build/test/lit/lit.site.cfg.py`: ```sh $ flake8 ./build/test/lit/lit.site.cfg.py:3:1: F821 undefined name 'config' ./build/test/lit/lit.site.cfg.py:4:1: F821 undefined name 'config' ./build/test/lit/lit.site.cfg.py:6:1: F821 undefined name 'lit_config' ./build/test/lit/lit.site.cfg.py:7:5: F821 undefined name 'config' ./build/test/lit/lit.site.cfg.py:7:26: F821 undefined name 'config' ```
1 parent ecf25d6 commit f03355b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ ignore =
66
E241,
77
; line break after binary operator
88
W504
9-
exclude = third_party,./test/emscripten,./test/spec,./test/wasm-install,./test/lit,./_deps
9+
exclude = third_party,./test/emscripten,./test/spec,./test/wasm-install,./test/lit,./_deps,./build

0 commit comments

Comments
 (0)