Allow Specifying format when using tee
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 356
- PR merge metrics
- No merged PRs in 30d
Description
In GitLab by @agrothberg on Jul 31, 2018, 15:35
I am using flake8-formatter-junit-xml (with --format junit-xml and a --output-file specified) in order to get junit xml formatted xml output from my flake8 runs. I would also like to see the results on the screen, so I run with --tee. Unfortunately in this case, xml is printed to the screen. Ideally I would be able to control the formatter used for screen output so that it is human readable.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the --tee, --format, and --output-file options select and route formatter output. Confirm the desired behavior with the existing command-line tests, then define completion as JUnit XML remaining in the output file while the screen shows human-readable results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100