diff --git a/Makefile b/Makefile index 6e20d9dbf..490b22663 100644 --- a/Makefile +++ b/Makefile @@ -13,3 +13,7 @@ test : all clean : $(RAKE) clean .PHONY : clean + +lint : + pre-commit run --all-files +.PHONY : lint diff --git a/Rakefile b/Rakefile index 9396b8cd1..1bedd230c 100644 --- a/Rakefile +++ b/Rakefile @@ -95,3 +95,7 @@ task :install_bin => :all do end end end + +task :lint do + sh "pre-commit run --all-files" +end