-
-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI mods #769
UI mods #769
Conversation
…ency and lengthened timeout to one minute.
…ory columns; removed cruft code.
stdout=subprocess.DEVNULL, | ||
stderr=subprocess.DEVNULL) | ||
sys.exit(0) | ||
pass |
Check warning
Code scanning / CodeQL
Unnecessary pass Warning
HOST = 'localhost' | ||
shutdown_requested = False | ||
last_heartbeat = time.time() | ||
server_running = True | ||
|
||
class CustomHandler(http.server.SimpleHTTPRequestHandler): | ||
def do_GET(self): | ||
def do_GET(self) -> Any: |
Check notice
Code scanning / CodeQL
Explicit returns mixed with implicit (fall through) returns Note
try: | ||
with open(output_fname, "w", encoding="utf-8") as f: | ||
f.write(rendered_content) | ||
except OSError: |
Check notice
Code scanning / CodeQL
Empty except Note
browser.open(scalene_gui_url) | ||
assert not args.no_browser | ||
dir = os.path.dirname(__file__) | ||
import scalene.scalene_config |
Check notice
Code scanning / CodeQL
Module is imported with 'import' and 'import from' Note
environment = Environment( | ||
loader=FileSystemLoader(os.path.join(scalene_dir, "scalene-gui")) | ||
) |
Check warning
Code scanning / CodeQL
Jinja2 templating with autoescape=False Medium
Overhaul of UI, most visibly to display profile bars at the file level and replaces most tooltips with numbers / percentages.