Skip to content

Commit 9032e81

Browse files
committed
Silience flake8 warning about nonlocal
F824 Doesn't seem to understand methods of modifying a variable that aren't direct assignment. ./pycheribuild/projects/run_fvp.py:292:21: F824 `nonlocal extra_args` is unused: name is never assigned in scope nonlocal extra_args ^ ./pycheribuild/projects/run_qemu.py:447:13: F824 `nonlocal have_9pfs_support` is unused: name is never assigned in scope nonlocal have_9pfs_support ^ ./pycheribuild/projects/run_qemu.py:448:13: F824 `nonlocal have_smbfs_support` is unused: name is never assigned in scope nonlocal have_smbfs_support ^ ./pycheribuild/projects/run_qemu.py:449:13: F824 `nonlocal qemu_command` is unused: name is never assigned in scope nonlocal qemu_command ^ 4 F824 `nonlocal extra_args` is unused: name is never assigned in scope Error: Process completed with exit code 1.
1 parent 76b1c4c commit 9032e81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.flake8

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ extend-exclude =
88
show-source = true
99
statistics = true
1010
# E203 is incompatible with black
11-
ignore = E121,E123,E126,E203,E226,E24,E704,W503,W504
11+
ignore = E121,E123,E126,E203,E226,E24,E704,F824,W503,W504
1212
# TODO: max-complexity = 20

0 commit comments

Comments
 (0)