NREL / OpenStudio-HPXML

Modeling of residential buildings in EnergyPlus using OpenStudio/HPXML.
Other
40 stars 15 forks source link

Add GitHub Actions pre-commit(s) #1053

Open shorowit opened 2 years ago

shorowit commented 2 years ago

https://github.com/pre-commit/action

  1. Automatically apply rubocop auto-correct
  2. Automatically update measure XMLs

This would allow us to remove the update_measures task from task.rb.

joseph-robertson commented 6 months ago

Why not just call update_measures from, e.g., the update-results job?

joseph-robertson commented 5 months ago

https://github.com/jish/pre-commit

Add pre-commit to Gemfile, bundle install, pre-commit install (for git hook), add the config yaml (with what contents?), and then what?