Skip to content

Commit

Permalink
ignore pylint false positive on dynamically created class to fix week…
Browse files Browse the repository at this point in the history
…ly ci
  • Loading branch information
cognifloyd authored and stackstorm-neptr committed Dec 27, 2021
1 parent 9fb6898 commit 6e60a02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/lib/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def __init__(self, config):

self.session = Session(aws_access_key_id=self.credentials['aws_access_key_id'],
aws_secret_access_key=self.credentials['aws_secret_access_key'])

self.account_id = self.session.client('sts').get_caller_identity().get('Account') # pylint: disable=no-member
# pylint: disable=no-member
self.account_id = self.session.client('sts').get_caller_identity().get('Account')
self.cross_roles = {
arn.split(':')[4]: arn for arn in self.config.get('actions', {}).get('roles', [])
}
Expand Down

0 comments on commit 6e60a02

Please sign in to comment.