check for presence of config file as mentioned in the README
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Lint |
Fix Released
|
Wishlist
|
Marcus Boden |
Bug Description
Currently, the README mentions a standard place for configuration options(
Example failure:
$ juju-lint 2021_08_
2021-08-10 16:46:33 [ERROR] Cloud not locate rules file lint-rules.yaml
instead of:
$ juju-lint 2021_08_
rules is an entry in the config, which points to /snap/juju/.... as the location for the rules file. It woudld be great if this could get detected and used automatically.
Related branches
- Erhan Sunar (community): Approve
- 🤖 prod-jenkaas-bootstack: Approve (continuous-integration)
- Gabriel Cocenza: Approve
- Mert Kirpici: Pending requested
- BootStack Reviewers: Pending requested
-
Diff: 185 lines (+122/-6)3 files modifiedjujulint/config.py (+0/-5)
jujulint/config_default.yaml (+6/-1)
tests/unit/test_config.py (+116/-0)
Changed in juju-lint: | |
importance: | Undecided → Wishlist |
Changed in juju-lint: | |
assignee: | nobody → Marcus Boden (marcusboden) |
Changed in juju-lint: | |
status: | New → Fix Committed |
Changed in juju-lint: | |
milestone: | none → 1.0.5 |
Changed in juju-lint: | |
milestone: | 1.0.5 → none |
Changed in juju-lint: | |
milestone: | none → 1.0.6 |
Changed in juju-lint: | |
status: | Fix Committed → Fix Released |