Closed rolandojduartem closed 2 years ago
@rolandojduartem
In your screenshot we can not see the first command than you ran
But pre-commit is getting different results using this way
I mean, running pre-commit run --all
is detecting a lint check in the module branch_accounting_report
But running pre-commit run --files branch_accounting_report/
even pre-commit run --files branch_accounting_report/*
is not detecting any lint:
I found a way to get all the files and send all them manually using --files file1, file2, file3...
This is my proposal
Could you test it, please?
Summary:
pre-commit-vauxoo
in the root path the command will use --all
--files subpath/file1, subpath/file2...
Hi, @moylop260,
I read that #2 was merged and now we can use it if we are in the repository's root or a specific folder of the project, but, the main idea is applying the pre-commit-vauxoo to a specific module, not all of them. pre-commit base use --files for this purpose. I do not know if this is part of point 2 or 3 of #1, but I think this a good feature to be considered.
Expected behaviour (pre-commit base):
Kind regards.
cc @luisg123v