Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
gruebel committed Jul 9, 2023
1 parent 3252c72 commit 1f12c59
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion checkov/argo_workflows/runner.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations

import re
from pathlib import Path
from typing import TYPE_CHECKING, Any

from checkov.common.images.image_referencer import ImageReferencer, Image
Expand Down
1 change: 0 additions & 1 deletion checkov/arm/parser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from pathlib import Path
from typing import Any

from charset_normalizer import from_path
from yaml.scanner import ScannerError
from yaml import YAMLError

Expand Down
2 changes: 0 additions & 2 deletions checkov/common/parsers/json/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
from pathlib import Path
from typing import Any

from charset_normalizer import from_path

from checkov.common.parsers.json.decoder import Decoder
from checkov.common.parsers.json.errors import DecodeError
from checkov.common.util.file_utils import read_file_with_any_encoding
Expand Down
1 change: 0 additions & 1 deletion checkov/kubernetes/parser/k8_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from typing import Tuple, Dict, Any, List, TYPE_CHECKING

import yaml
from charset_normalizer import from_path
from yaml.loader import SafeLoader

from checkov.common.util.file_utils import read_file_with_any_encoding
Expand Down
1 change: 0 additions & 1 deletion checkov/kubernetes/parser/k8_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from typing import List, Dict, Any, Tuple, TYPE_CHECKING

import yaml
from charset_normalizer import from_path
from yaml.loader import SafeLoader

from checkov.common.util.file_utils import read_file_with_any_encoding
Expand Down
2 changes: 0 additions & 2 deletions checkov/openapi/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
from collections.abc import Iterable
from typing import Any, Callable, TYPE_CHECKING # noqa: F401 # Callable is used in the TypeAlias

from charset_normalizer import from_path

from checkov.common.checks.base_check_registry import BaseCheckRegistry
from checkov.common.bridgecrew.check_type import CheckType
from checkov.common.util.file_utils import read_file_with_any_encoding
Expand Down
1 change: 0 additions & 1 deletion checkov/terraform_json/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from pathlib import Path
from typing import Any

from charset_normalizer import from_path
from yaml.scanner import ScannerError
from yaml import YAMLError

Expand Down

0 comments on commit 1f12c59

Please sign in to comment.