You're not supposed to just randomly put backslashes in front of other
characters that don't need escaping unless it's a raw string. This is
deprecated in Python 3.6.
Change-Id: I7a69ba6dd10412bb065f2b6ba405840d0a98663a
If resource has available_resource_mapping method and
it's not available, custom guidelines check will skip it,
which is incorrect. This patch improves list of resources:
now only hidden, contrib and manually excluded resources
don't checked.
Change-Id: Ic2cb37fb3fe4aefb8b3efb911aecf46155541469
Closes-bug: #1674949
In some merge issues files or modules can be removed, but
still registered in global env. In that cases custom guidelines
raises an error with the message "No such file or directory".
Add exception handling to avoid error raising. Instead of error,
call warning and skip such class.
Change-Id: I71af2fffc2bdec414cb68c40eaf3268fe81134de
Closes-bug: #1613669
Global environment during registering resources also load resources from
/etc/environment.d . As result it loads two resources mapped on
templates:
- 'AWS::CloudWatch::Alarm'
- 'AWS::RDS::DBInstance'
However execute guideline checks for these resources is not possible due
to these resources use template_resource object and can not be processed
as usual *.py file.
This patch add ignoring for these two resource types.
Note: this error is not displayed on pep8 gate job due to we don't
install devstack during execution this job, but this error affects all
environments with installed devstack.
Closes-Bug: #1552194
Change-Id: I29abdfa1a4f4a17dfbcdaaf6f0c6665359bab17a
There are several trailing spaces error raised by
custom guidelines check. Need to fix them for successful
pep8 running.
implements bp custom-guidelines
Change-Id: Ibf50208155315e75795d7b9c8a8dbe487f9046ac
There are several method error raised during custom
guidelines check. Need to fix it for successful running
pep8.
implements bp custom-guidelines
Change-Id: I55883bb8d314f982161aaa21c010e9d1467bf903
There're several errors, raised by custom guidelines check,
need to fix it for successful pep8 running.
implements bp custom-guidelines
Change-Id: Ibef41cad9b20715a740cedac7b98e9647bd3d6b7
There are several errors during attributes descriptions
checking by custom guidelines. Need to fix them for
successful pep8 running.
implements bp custom-guidelines
Change-Id: I3df75c6343217723fd4490f9e70eb2d8499eb5ae
There are several errors, raised during properties schemas
checking by custom guidelines. Need to fix them for successful
pep8 running.
implements bp custom-guidelines
Change-Id: Icd24498b8d36106412a61d4b82b00eb92095ffe9