Skip to content

Commit

Permalink
Add skipped paths
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelFain committed May 28, 2024
1 parent 6f18991 commit 3b81604
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions demisto_sdk/commands/validate/old_validate_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@
"DemistoClassApiModule.py",
]

SKIPPED_PATHS = [
"Packs/myPack", "myPack"
]

class OldValidateManager:
def __init__(
Expand Down Expand Up @@ -2493,6 +2496,8 @@ def filter_to_relevant_files(self, file_set, check_metadata_files=False):
old_format_files: set = set()
valid_types: set = set()
for path in file_set:
if self.include_untracked and any(skipped_path in str(path) for skipped_path in SKIPPED_PATHS):
continue
old_path = None
if isinstance(path, tuple):
file_path = str(path[1])
Expand Down

0 comments on commit 3b81604

Please sign in to comment.