Skip to content

Commit 384ea21

Browse files
committed
lint
1 parent 15e0b8c commit 384ea21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

detection_rules/atlas.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def get_atlas_file_path() -> Path:
2727
"""Get the path to the ATLAS YAML file."""
2828
if not ATLAS_FILE.exists():
2929
# Try to download it if it doesn't exist
30-
download_atlas_data()
30+
_ = download_atlas_data()
3131
return ATLAS_FILE
3232

3333

@@ -39,7 +39,7 @@ def download_atlas_data(save: bool = True) -> dict[str, Any] | None:
3939
atlas_data = yaml.safe_load(r.text)
4040

4141
if save:
42-
ATLAS_FILE.write_text(r.text)
42+
_ = ATLAS_FILE.write_text(r.text)
4343
print(f"Downloaded ATLAS data to {ATLAS_FILE}")
4444

4545
return atlas_data

0 commit comments

Comments
 (0)