You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes repositories contains source files too big to be parsed by pygount (I've stuck with 40Mb text file that seems to be source for ML-model). I propose simplest solution — option exclude huge files from processing.
Goals
When option --larger-to-skip is passed, every file that is larger than specified size is skipped from parsing.
Support parsing size specifiers like 10k, 20m and so on. Maybe borrow code from test.support._parse_memlimit()...
The text was updated successfully, but these errors were encountered:
Background
Sometimes repositories contains source files too big to be parsed by pygount (I've stuck with 40Mb text file that seems to be source for ML-model). I propose simplest solution — option exclude huge files from processing.
Goals
--larger-to-skip
is passed, every file that is larger than specified size is skipped from parsing.10k
,20m
and so on. Maybe borrow code fromtest.support._parse_memlimit()
...The text was updated successfully, but these errors were encountered: