Add a lint target for our bash scripts

Bug #1952706 reported by Barry Price
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-k8s-discourse
Confirmed
Low
Unassigned

Bug Description

We already have a "make lint" that checks our Python code (via flake8), but nothing for the several bash scripts in this project.

I'd suggest two MPs here:

1. Add a target to run shellcheck[1] against those scripts (currently under image/scripts and image/build_scripts).

2. Commit all of the fixes (once tested) suggested by shellcheck after running the above target

[1] https://github.com/koalaman/shellcheck

Tom Haddon (mthaddon)
Changed in charm-k8s-discourse:
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.