Skip to content

Commit

Permalink
Vertical tuples are more readable than horizontal ones
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Algarvio <[email protected]>
  • Loading branch information
s0undt3ch authored and David Murphy committed Jan 5, 2024
1 parent e698cfe commit f08ae48
Show file tree
Hide file tree
Showing 34 changed files with 170 additions and 34 deletions.
6 changes: 5 additions & 1 deletion salt/modules/boto3_elasticache.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@
except ImportError:
HAS_BOTO3 = False

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto3_elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@

log = logging.getLogger(__name__)

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto3_route53.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@
except ImportError:
HAS_BOTO3 = False

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto3_sns.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@
HAS_BOTO = False
# pylint: enable=unused-import

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_apigateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,11 @@
# pylint: enable=import-error


__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_asg.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@
except ImportError:
HAS_BOTO = False

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_cfn.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@
except ImportError:
HAS_BOTO = False

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_cloudfront.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@

log = logging.getLogger(__name__)

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_cloudtrail.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@
HAS_BOTO = False
# pylint: enable=import-error

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_cloudwatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@
log = logging.getLogger(__name__)


__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_cloudwatch_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@
HAS_BOTO = False
# pylint: enable=import-error

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_cognitoidentity.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,11 @@
HAS_BOTO = False
# pylint: enable=import-error

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_datapipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
except ImportError:
HAS_BOTO3 = False

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_dynamodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@

log = logging.getLogger(__name__)

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@

log = logging.getLogger(__name__)

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_efs.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@
log = logging.getLogger(__name__)


__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_elasticache.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@
except ImportError:
HAS_BOTO = False

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_elasticsearch_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,11 @@
HAS_BOTO = False
# pylint: enable=import-error

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_elb.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@

log = logging.getLogger(__name__)

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_elbv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@

log = logging.getLogger(__name__)

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_iam.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@

log = logging.getLogger(__name__)

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_iot.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@
# pylint: enable=import-error


__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_kinesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@

__virtualname__ = "boto_kinesis"

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_kms.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@
except (ImportError, AttributeError):
HAS_BOTO = False

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@
HAS_BOTO = False
# pylint: enable=import-error

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_rds.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ def __virtual__():
return salt.utils.versions.check_boto_reqs(boto3_ver="1.3.1")


__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __init__(opts):
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_route53.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@
except ImportError:
HAS_BOTO = False

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@
HAS_BOTO = False
# pylint: enable=import-error

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_s3_bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@
HAS_BOTO = False
# pylint: enable=import-error

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
6 changes: 5 additions & 1 deletion salt/modules/boto_secgroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@
except ImportError:
HAS_BOTO = False

__deprecated__ = (3009, "boto", "https://github.com/salt-extensions/saltext-boto")
__deprecated__ = (
3009,
"boto",
"https://github.com/salt-extensions/saltext-boto",
)


def __virtual__():
Expand Down
Loading

0 comments on commit f08ae48

Please sign in to comment.