emscripten-core / emscripten

Emscripten: An LLVM-to-WebAssembly Compiler
Other
25.91k stars 3.32k forks source link

Ruff rules for comprehensions, performance, and simplicity #23040

Open cclauss opened 4 days ago

cclauss commented 4 days ago

Only in the tools/ directory apply ruff rules for comprehensions, performance, and simplicity.

This pull request was roughly created via the command: ruff --select=C4,PERF,Q,SIM --ignore=SIM108,SIM300 lint.flake8-quotes.inline-quotes=single --fix --unsafe-fixes

sbc100 commented 1 day ago

Can you include the command line you used to generate this PR (in the PR description).