Closed yvlcmb closed 2 years ago
@slingload - I'm working on moving linting to GitHub actions and ditch Codacy. Hopefully have all that completed and merged later today. So ignore the failing lint check for now - I'm fixing in my other PR.
Didn't mean to close this! Can you repoint it to main instead, pls?
Nevermind - I'm resolving conflict here and will merge.
Pull request for
prospector
branch that adds multiple file support for Issue #201) Added a for loop to cli in
__main__.py
to handle multiple files from the command line. The only change was renaming@click.argument
to 'files' and adding thenargs=-1
argument.2) Updated
tests/test_cli.py
to incorporate new functionality and it is passing according to pytest. Instead of adding a new file totests/resources/
, I just used the pre-existingcopyright.txt
file there. To get the test to pass I had to run the CLI first on bothshortstory.txt
andcopryright.txt
then appended the output tocli-default.json
To run use: