Skip to content

Commit

Permalink
Merge branch 'main' into 200-link-to-pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
mccalluc committed Dec 11, 2024
2 parents 9aa3c2d + 56283d4 commit efe2b90
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $ playwright install

Now install the application itself and run it:
```shell
$ flit install --symlink
$ pip install --editable .
$ dp-wizard
```
Your browser should open and connect you to the application.
Expand Down
9 changes: 0 additions & 9 deletions dp_wizard/utils/code_generators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,6 @@ def _make_queries(self):
)
)

# def _make_queries(self):
# confidence_note = (
# "The actual value is within the shown range "
# f"with {int(confidence * 100)}% confidence."
# )
# column_names = self.columns.keys()
# return f"confidence = {confidence} # {confidence_note}\n\n" + "\n".join(
# _make_query(column_name) for column_name in column_names

def _make_query(self, column_name):
indentifier = name_to_identifier(column_name)
title = f"DP counts for {column_name}"
Expand Down
1 change: 0 additions & 1 deletion dp_wizard/utils/code_generators/no-tests/_notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
# Finally, we run the queries and plot the results.

QUERIES_BLOCK
# -

# The code below produces a summary report.

Expand Down
9 changes: 9 additions & 0 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
from shiny.pytest import create_app_fixture


bp = "BREAKPOINT()".lower()
if bp in Path(__file__).read_text():
raise Exception( # pragma: no cover
f"Instead of `{bp}`, use `page.pause()` in playwright tests. "
"See https://playwright.dev/python/docs/debug"
"#run-a-test-from-a-specific-breakpoint"
)


demo_app = create_app_fixture(Path(__file__).parent / "fixtures/demo_app.py")
default_app = create_app_fixture(Path(__file__).parent / "fixtures/default_app.py")
tooltip = "#choose_csv_demo_tooltip_ui svg"
Expand Down

0 comments on commit efe2b90

Please sign in to comment.