Merge ~mertkirpici/juju-lint:lp/1993735 into juju-lint:master
Proposed by
Mert Kirpici
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Robert Gildein | ||||
Approved revision: | ff6c048579ecf261cc2cdb6b3bafecf644af4b71 | ||||
Merged at revision: | 1108dacb9fe66ef726d4764bcd2a3703ef6bfa14 | ||||
Proposed branch: | ~mertkirpici/juju-lint:lp/1993735 | ||||
Merge into: | juju-lint:master | ||||
Diff against target: |
70 lines (+22/-10) 2 files modified
jujulint/lint.py (+15/-0) tests/unit/test_jujulint.py (+7/-10) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
🤖 prod-jenkaas-bootstack | continuous-integration | Approve | |
Robert Gildein | Approve | ||
Gabriel Cocenza | Approve | ||
BootStack Reviewers | Pending | ||
Review via email: mp+432462@code.launchpad.net |
Commit message
Close LP #1993735
Description of the change
The callback function `helper_
This caused some issues when testing against an empty string. A check value of empty string used to match any kind of input, which is quite counter-intuitive.
With this change we are adding an exception for the empty string case to force string equality check in that case. Also adding a deprecation notice for the overloaded regex checking behavior to inform the users that it will be removed in the future.
To post a comment you must log in.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.