Skip to content

Commit

Permalink
Added "apply-lints" recipe to Makefile that modifies files in place t…
Browse files Browse the repository at this point in the history
…o apply lints. (pyodide#925)
  • Loading branch information
Hood Chatham authored Dec 23, 2020
1 parent 4159263 commit 12a8681
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ lint:
mypy --ignore-missing-imports pyodide_build/ src/ packages/micropip/micropip/ packages/*/test*


apply-lints:
clang-format-6.0 -i src/*.c src/*.h src/*.js src/*/*.c src/*/*.h src/*/*.js
black --exclude tools/file_packager.py .

benchmark: all
python benchmark/benchmark.py $(HOSTPYTHON) build/benchmarks.json
python benchmark/plot_benchmark.py build/benchmarks.json build/benchmarks.png
Expand Down

0 comments on commit 12a8681

Please sign in to comment.