Skip to content

[pull] main from VirusTotal:main#233

Merged
pull[bot] merged 3 commits into
threatcode:mainfrom
VirusTotal:main
Jun 2, 2026
Merged

[pull] main from VirusTotal:main#233
pull[bot] merged 3 commits into
threatcode:mainfrom
VirusTotal:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Jun 2, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

plusvic added 3 commits June 2, 2026 15:17
The `yr fmt` command can now accept directory paths in addition to individual file paths. When a directory is provided, it will format all YARA files (`.yar`, `.yara`) found within it.

By default, only files in the top-level directory are processed. A new `-r` or `--recursive` option has been added to enable scanning for YARA files in subdirectories, allowing users to specify a maximum recursion depth. This improves usability by simplifying formatting across multi-file projects.

Closes #271
This option allows users to dynamically limit the CPU utilization of the scan process. It helps prevent CPU saturation when running background scan tasks on production servers or multi-user systems.

The limit is achieved by measuring the active time spent scanning each file and introducing a calculated sleep delay before processing the next file.

Closes #115.
@pull pull Bot locked and limited conversation to collaborators Jun 2, 2026
@pull pull Bot added the ⤵️ pull label Jun 2, 2026
@pull pull Bot merged commit e9ee494 into threatcode:main Jun 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant