package-tools/check-source-package: fix esm version check
esm version check was not accepting versions greater than 9 as the
check was considering only one digit. with that, `umt check` would
fail with:
Version: Traceback (most recent call last):
File "~/git-pulls/ubuntu-security-tools/package-tools/sdch", line 38, in <module>
print(increment_version_security(args.increment, esm=args.esm, devel=args.devel))
File "~/git-pulls/ubuntu-security-tools/package-tools/increment_version.py", line 47, in increment_version_security
raise ValueError("You will supersede the PPA and esm is not specified")
ValueError: You will supersede the PPA and esm is not specified
SKIP: problem getting suggested version
uaudit: Ensure rubocop ignores any existing config
This may contain entries that are invalid / cause rubocop to return warnings /
errors instead of doing the actual analysis - ie, as seen for puma in lunar,
when running rubocop only the following is output instead of actual warnings for
the project itself:
Error: The `Layout/Tab` cop has been renamed to `Layout/IndentationStyle`.
(obsolete configuration found in .rubocop.yml, please update it)
The `Layout/TrailingBlankLines` cop has been renamed to `Layout/TrailingEmptyLines`.
(obsolete configuration found in .rubocop.yml, please update it)
`Performance` cops have been extracted to the `rubocop-performance` gem.
(obsolete configuration found in .rubocop.yml, please update it)