lordmauve / lordmauve/flake8-html
Running flake8 with -quiet doesn't write a html report
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 50
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
$ pip freeze | grep -i flake8
flake8==3.3.0
flake8-html==0.4.0
$ python --version
Python 3.5.3
$ uname -a
Linux hostname 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 GNU/Linux
$ cat /etc/debian_version
9.0
### flake8-html doesn't write HTML reports
I hooked flake8-html into our CI and wanted to suppress output with -qq, but no reports were generated. While testing it turned out that even a single --quiet will prevent the reports from being written to disk.
### What I Did
flake8 --format=html --htmldir=tmp --exit-zero --quiet
$ ls -ld tmp
ls: cannot access 'tmp': No such file or directory
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
Reproduce the reported command with flake8 3.3.0 and flake8-html 0.4.0, then trace the plugin entry point responsible for writing the HTML report. The issue is done when using --quiet still creates the requested tmp directory and HTML report while preserving the intended quiet output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100