chore: documentation examples

Open
#620 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
44/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Active
Tech stack
python
Domain
documentation

Research direction

Start with the README's existing error explanations and compare them with the visual examples in Ruff's documentation. The issue leaves open whether to add examples, link to Ruff, or create separate documentation, so first clarify the presentation and scope with the maintainers. Done means an agreed approach is documented and the relevant README or documentation is updated.

Written by the indexing model from the issue text.

Description

In the README, we have a lot of text with all of the errors explained, personally i find it much easier to work with visual examples that showcase whats wrong and what to fix.

I see ruff already kind of have this in place, and i guess filling it in the readme might not be favorable to stuff it with so much information... (perhaps?)

Anyone has any thoughts about this one?
I guess if the ruff examples are favorable to showcase then perhaps add a link to it or something might be wanted, but i would guess own documentation for this would be nicer -- just additional parts to maintain which is maybe not wanted...

I'm very open to helping on this one if needed, just not fully sure how it shall all be presented -- if even need to be...

cc @cooperlees

Dominant language
Python
Stars
1.1k
Forks
147
Avg merge
1d 8h
Merged PRs (30d)
39

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from PyCQA/flake8-bugbear

All issues in PyCQA/flake8-bugbear

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.