From ec6b61fe75982d5098e862aa20cce3becb325e97 Mon Sep 17 00:00:00 2001 From: bb-splunk Date: Mon, 30 Oct 2023 19:29:52 +0100 Subject: [PATCH] Added tox.ini, cleaned up the awswafv2.json --- awswafv2.json | 66 +++++++++++++++++++++++++-------------------------- tox.ini | 7 ++++++ 2 files changed, 40 insertions(+), 33 deletions(-) create mode 100644 tox.ini diff --git a/awswafv2.json b/awswafv2.json index 3132950..5f639cb 100644 --- a/awswafv2.json +++ b/awswafv2.json @@ -21,38 +21,6 @@ "latest_tested_versions": [ "Cloud, API WAFv2 tested on 12-03-2021" ], - "pip_dependencies": { - "wheel": [ - { - "module": "boto3", - "input_file": "wheels/shared/boto3-1.17.30-py2.py3-none-any.whl" - }, - { - "module": "botocore", - "input_file": "wheels/shared/botocore-1.20.30-py2.py3-none-any.whl" - }, - { - "module": "jmespath", - "input_file": "wheels/shared/jmespath-0.10.0-py2.py3-none-any.whl" - }, - { - "module": "python_dateutil", - "input_file": "wheels/shared/python_dateutil-2.8.2-py2.py3-none-any.whl" - }, - { - "module": "s3transfer", - "input_file": "wheels/shared/s3transfer-0.3.7-py2.py3-none-any.whl" - }, - { - "module": "six", - "input_file": "wheels/shared/six-1.16.0-py2.py3-none-any.whl" - }, - { - "module": "urllib3", - "input_file": "wheels/shared/urllib3-1.26.18-py2.py3-none-any.whl" - } - ] - }, "configuration": { "access_key_id": { "description": "Access Key ID", @@ -935,5 +903,37 @@ }, "versions": "EQ(*)" } - ] + ], + "pip_dependencies": { + "wheel": [ + { + "module": "boto3", + "input_file": "wheels/shared/boto3-1.17.30-py2.py3-none-any.whl" + }, + { + "module": "botocore", + "input_file": "wheels/shared/botocore-1.20.30-py2.py3-none-any.whl" + }, + { + "module": "jmespath", + "input_file": "wheels/shared/jmespath-0.10.0-py2.py3-none-any.whl" + }, + { + "module": "python_dateutil", + "input_file": "wheels/shared/python_dateutil-2.8.2-py2.py3-none-any.whl" + }, + { + "module": "s3transfer", + "input_file": "wheels/shared/s3transfer-0.3.7-py2.py3-none-any.whl" + }, + { + "module": "six", + "input_file": "wheels/shared/six-1.16.0-py2.py3-none-any.whl" + }, + { + "module": "urllib3", + "input_file": "wheels/shared/urllib3-1.26.18-py2.py3-none-any.whl" + } + ] + } } diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..c4644ad --- /dev/null +++ b/tox.ini @@ -0,0 +1,7 @@ +[flake8] +max-line-length = 145 +max-complexity = 28 +extend-ignore = F403,E128,E126,E111,E121,E127,E731,E201,E202,F405,E722,D,W292 + +[isort] +line_length = 145