[wishlist] add pre-commit support
Bug #1978739 reported by
Gabriel Cocenza
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Lint |
Fix Released
|
Wishlist
|
Gabriel Cocenza |
Bug Description
It would be good to the project if we add support for pre-commit[0]. It can help enforce linting, unit tests, and other checks before engineers submit a new MR. An example can be found at [1] juju-backup-all [1]
[0] https:/
[1] https:/
Related branches
~gabrielcocenza/juju-lint:bug/1978739
- Martin Kalcok (community): Approve
- Eric Chen: Approve
-
Diff: 450 lines (+144/-58)19 files modified.pre-commit-config.yaml (+19/-0)
CONTRIBUTING.md (+14/-5)
Makefile (+48/-7)
contrib/fcb-stein-bionic.yaml (+1/-1)
contrib/fcb-ussuri-bionic-ovs.yaml (+1/-1)
contrib/fcb-ussuri-bionic.yaml (+1/-1)
contrib/fcb-ussuri-focal-ovs.yaml (+1/-1)
contrib/fcb-ussuri-focal.yaml (+1/-1)
contrib/fcb-yoga-focal.yaml (+1/-1)
contrib/includes/aggregator-kubernetes.yaml (+16/-0)
contrib/includes/release/stein.yaml (+1/-1)
contrib/includes/release/ussuri.yaml (+1/-1)
contrib/includes/release/yoga.yaml (+1/-1)
contrib/includes/series/focal.yaml (+1/-1)
contrib/kubernetes.yaml (+1/-17)
setup.py (+1/-1)
tests/requirements.txt (+2/-0)
tests/test_jujulint.py (+5/-0)
tox.ini (+28/-18)
Changed in juju-lint: | |
importance: | Undecided → Wishlist |
tags: | added: bseng-205 |
Changed in juju-lint: | |
assignee: | nobody → Gabriel Angelo Sgarbi Cocenza (gabrielcocenza) |
status: | New → In Progress |
Changed in juju-lint: | |
status: | In Progress → Fix Committed |
milestone: | none → 1.0.4 |
Changed in juju-lint: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.