lordmauve / lordmauve/flake8-html

Long issues don't display

Open
#19 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
50
Forks
17
PR merge metrics
No merged PRs in 30d

Description

  • flake8-html version: 0.4.1
  • Python version: 3.9 Windows Store
  • Operating System: Windows 10
Description

When I use the wemake-python-styleguide flake8 extension, it creates long errors, such as WPS301. This doesn't fit:
image
It should have a larger bubble instead.

What I Did
➜  scheduler-component git:(isort) python3 -m flake8 --format html --htmldir report --inline-quotes double .
.\custom_components\scheduler\config_flow.py has issues: medium: 4 low: 3
.\custom_components\scheduler\const.py has issues: medium: 28 low: 1
.\custom_components\scheduler\datacollection.py has issues: medium: 159 low: 86
.\custom_components\scheduler\helpers.py has issues: medium: 48 low: 28
.\custom_components\scheduler\switch.py has issues: medium: 95 low: 82
.\custom_components\scheduler\__init__.py has issues: medium: 26 low: 37

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the reported python3 -m flake8 --format html --htmldir report ... command and inspect the generated HTML report styling for the violation bubble. Done means long errors such as WPS301 fit in a larger bubble without being clipped.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.