Commit Graph

7 Commits

Author SHA1 Message Date
Jesse Bona
f2be2ead35 Update migrate_config.py
Corrected loop condition to not run if configuration file only contains new lines.
2019-02-02 10:34:53 +11:00
Jesse Bona
7b491c7110 Update migrate_config.py
Added if statement to prevent looping through header lines if configuration file is empty
2019-02-01 19:15:59 +11:00
Anthony Sottile
fe409f1a43 Remove stateful Runner 2018-12-26 22:33:21 -08:00
Anthony Sottile
c3e438379a Appease yaml.load linters
_technically_ yaml.load is unsafe, however the contents being loaded here are
previously loaded just above using a safe loader so this is not an abitrary
code vector.  Fixing it nonetheless :)
2018-07-03 05:12:36 -07:00
Anthony Sottile
5651c66995 Migrate sha -> rev 2018-02-24 20:19:39 -08:00
Anthony Sottile
a78f5d5c24 pre-commit migrate-config should not return nonzero when successful 2017-09-07 09:23:36 -07:00
Anthony Sottile
8f5675d813 Implement pre-commit migrate-config 2017-09-06 10:07:55 -07:00