Skip to content

Commit be57c13

Browse files
authored
improve typing under common.bridgecrew (bridgecrewio#3227)
* improve typing under common.bridgecrew * revert hcl2 version * fix flake8 issues
1 parent 2e80ac9 commit be57c13

27 files changed

+345
-174
lines changed

Pipfile

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ types-pyyaml = ">=5.4.1"
3030
types-requests = "*"
3131
types-tabulate = "*"
3232
types-termcolor = "*"
33+
types-tqdm = "*"
34+
types-urllib3 = "*"
3335
pre-commit = "*"
3436
flake8 = "*"
3537
dlint = "*"

Pipfile.lock

+50-42
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

checkov/common/bridgecrew/bc_source.py

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33

44
class SourceType:
5+
__slots__ = ("name", "upload_results")
6+
57
def __init__(self, name: str, upload_results: bool):
68
self.name = name
79
self.upload_results = upload_results

0 commit comments

Comments
 (0)