Check multiple files #125
LoicRiegel
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Checking multiple files has been implemented (glob patterns are also supported). However, the following features are not yet implemented, so if you want to improve it, please send me a PR.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, when trying out pylyzer, I found a little weird that you can only provide one file to check.
Currently, if I do:
only the first file is checked, the other files are simply ignored.
I think having the ability to provide multiple files like this would be nice. It's possible with ruff for instance. You can do this, and it will even remove all duplicates:
Or is there another reason why it was decided that pylyzer should only check a single file?
Actually, I'm interested in this because I wanted to contribute to this project by creating a pre-commit-hook. And when you run a tool with pre-commit, it actually runs you tool and provides all the files to check a sequence of args.
You can take a look at my repo if you want BTW: pylyzer-pre-commit
I took a quick look at the code, mainly in
config.rs
, and saw that if you run:the arguments after the
--
will be passed on as runtime args to the Erg config. Is that actually used? I didn't see it documented anywhereThank you for your response. As said, I'm willing to contribute if we agree on what to do :)
Beta Was this translation helpful? Give feedback.
All reactions