Skip to content

Commit

Permalink
[make] Add rule to format .py files in the data generation folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mbertuletti committed Sep 26, 2024
1 parent 635da12 commit 9b552b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ toolchain/riscv-opcodes/*:

format:
$(ROOT_DIR)/scripts/run_clang_format.py --clang-format-executable=$(LLVM_INSTALL_DIR)/bin/clang-format -i -r $(ROOT_DIR)
find ./software/data -name '*.py' -exec autopep8 --in-place --aggressive {} +

clean: clean-riscv-tests
rm -rf $(INSTALL_DIR)

0 comments on commit 9b552b3

Please sign in to comment.