Skip to content

Fix flake8 B006 + B007

Thomas Strebler requested to merge tstreble/easyjet:flake8_B006_B007 into main

Fix in particular

./bbyyAnalysis/python/bbyy_config.py:16:30: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
./bbyyAnalysis/python/bbyy_config.py:16:48: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
./bbyyAnalysis/python/bbyy_config.py:261:9: B007 Loop control variable 'tree_flags' not used within the loop body. If this is intended, start the name with an underscore.

Outputs checked to be unchanged

Merge request reports