lint: Make command line arguments accessible to helper functions (#12743)
lint: Make command line arguments accessible to helper functions (#12743)

The formatting script does not recognize the variables from the command line arguments when running Python >=3.8 on MacOS due to changes in multiprocessing behavior in the new Python version (https://bugs.python.org/issue39931). This change passes in the command line arguments so they are accessible by the helper functions in which they are needed.

Risk Level: Low
Testing: Existing unit tests
Docs Changes: N/A
Release Notes: N/A

Fixes #12740

Signed-off-by: Lisa Lu <90018063c6618ed0daf59ab9f38078e46b335ccc@lyft.com>
envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy-wasm,lyft/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy,lyft/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy,lyft/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy-wasm,lyft/envoy,envoyproxy/envoy-wasm,lyft/envoy,lyft/envoy,envoyproxy/envoy