Skip to content

Commit

Permalink
chore: more fixes for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmmatos committed Mar 6, 2024
1 parent 3a79489 commit 33028b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions plugins/inventory/falcon_discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable):
NAME = "crowdstrike.falcon.falcon_discover"

def verify_file(self, path):
"""Verify the inventory file."""
if super().verify_file(path):
if re.match(r".{0,}falcon_discover\.(yml|yaml)$", path):
return True
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/sensor_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def main():

if not dest:
dest = mkdtemp()
os.chmod(dest, 0o755) #nosec
os.chmod(dest, 0o755) # nosec
tmp_dir = True

# Make sure path exists and is a directory
Expand Down

0 comments on commit 33028b7

Please sign in to comment.