aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/ctx.py
Commit message (Collapse)AuthorAgeFilesLines
* update mypyMaximilian Hils2019-11-121-6/+6
|
* fix Python 3.6 variable type annotations #3053oscure762018-04-141-2/+2
|
* fix type hints for mitmproxy.ctxMaximilian Hils2017-07-291-3/+3
|
* Move options into ctxAldo Cortesi2017-04-261-0/+3
| | | | | | | Many addons currently save options on configure(), either as individual options or sometimes by saving the entire options object. The current options should simply be available on the ctx object, simplifying state management for addons considerably.
* Make mypy succeed with imports on master.pyAldo Cortesi2017-03-171-0/+2
| | | | | | | | | | | | | | | | | | We get little benefit from our mypy QA checks at the moment, because we skip imports. This patch is what's needed to make mypy succeed with imports on a single file: master.py It also updates mypy to the current version, and enables a QA check. Mypy bugs I encountered: dict.update with kwargs not supported: https://github.com/python/mypy/issues/1031 property setters and getters must be adjacent: https://github.com/python/mypy/issues/1465
* minor fixesMaximilian Hils2016-10-251-1/+1
|
* Kill flow.master - create master.MasterAldo Cortesi2016-10-191-1/+1
| | | | Also extract events into .events
* py2--: inline type infoMaximilian Hils2016-10-161-2/+0
|
* improve dumper addon text alignment (#1415)Maximilian Hils2016-07-231-1/+1
|
* move script context to mitmproxy.ctxMaximilian Hils2016-07-081-0/+4