Skip to content

Fix typos in option help, docstrings and docs - #8494

Merged
lups2000 merged 3 commits into
mitmproxy:mainfrom
qodelicious:fix-typos-help-docstrings
Oct 20, 2026
Merged

lups2000 merged 3 commits into
mitmproxy:mainfrom
qodelicious:fix-typos-help-docstrings

Conversation

@qodelicious

Copy link
Copy Markdown
Contributor

Description

Fixes a bunch of spelling mistakes I found with codespell. The one users actually see is "formating" in the save_stream_file option help. The rest are in docstrings, comments, two examples and the docs (negotation, reponsible, offests, handeled, loosing, "can be be installed" and so on).

Also test_commander.py called pytest.faied(...), which would raise AttributeError instead of failing the test if that branch ever ran. Changed it to pytest.fail.

No behaviour changes.

Checklist

  • I have updated tests where applicable.
  • I have added an entry to the CHANGELOG.

@lups2000 lups2000 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :)

@lups2000
lups2000 merged commit f9c59ef into mitmproxy:main Oct 20, 2026
28 checks passed
lups2000 pushed a commit to lups2000/mitmproxy that referenced this pull request Oct 31, 2026
* Fix typos in option help, docstrings and examples

* Fix doubled words in the docs

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants