mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-01 18:27:18 +00:00
Migrate to ruff (#6433)
This commit is contained in:
parent
7f18545f3c
commit
f55ee1d44f
80 changed files with 190 additions and 216 deletions
|
|
@ -3,7 +3,6 @@ import shutil
|
|||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
here = Path(__file__).parent
|
||||
|
||||
for script in sorted((here / "scripts").glob("*.py")):
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
import screenplays
|
||||
from clidirector import CliDirector
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
director = CliDirector()
|
||||
screenplays.record_user_interface(director)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
from mitmproxy import flowfilter
|
||||
|
||||
|
||||
print('<table class="table filtertable"><tbody>')
|
||||
for i in flowfilter.help:
|
||||
print("<tr><th>%s</th><td>%s</td></tr>" % i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue