seCureLI is a tool that enables you to experience the delight of building products by helping you get ideas from your head into working software as frictionlessly as possible, in a reliable, secure, scalable, and observable way.
Apache License 2.0
28
stars
3
forks
source link
Support Scanning a Subset of Source with seCureLI #390
We should expose the --files option in pre-commit run for users of seCureLI (specifically when using secureli scan). This would allow for e.g. testing linters for a single file (or set of files). Then we could test language detection & linters against test files within our repo, instead of having to clone additional repositories to test against each language.
We should expose the
--files
option inpre-commit run
for users of seCureLI (specifically when usingsecureli scan
). This would allow for e.g. testing linters for a single file (or set of files). Then we could test language detection & linters against test files within our repo, instead of having to clone additional repositories to test against each language.Note: We will also want to update the files considered for language guessing. This should be a good starting point: https://github.com/slalombuild/secureli/blob/main/secureli/services/language_analyzer.py#L51
Acceptance Criteria
--files
option is added tosecureli
and its value is passed on topre-commit
LexerGuesser
to not include all files