simonw / datasette
Showing 3 of 3 files from the diff.
Newly tracked file
datasette/cli.py changed.
Newly tracked file
datasette/views/base.py changed.
Newly tracked file
datasette/facets.py changed.

@@ -540,7 +540,7 @@
Loading
540 540
    # Run the "startup" plugin hooks
541 541
    asyncio.get_event_loop().run_until_complete(ds.invoke_startup())
542 542
543 -
    # Run async sanity checks - but only if we're not under pytest
543 +
    # Run async soundness checks - but only if we're not under pytest
544 544
    asyncio.get_event_loop().run_until_complete(check_databases(ds))
545 545
546 546
    if get:

@@ -281,7 +281,7 @@
Loading
281 281
            )
282 282
            request.scope = new_scope
283 283
        if stream:
284 -
            # Some quick sanity checks
284 +
            # Some quick soundness checks
285 285
            if not self.ds.setting("allow_csv_stream"):
286 286
                raise BadRequest("CSV streaming is disabled")
287 287
            if request.args.get("_next"):

@@ -304,7 +304,7 @@
Loading
304 304
                )
305 305
                types = tuple(r[0] for r in results.rows)
306 306
                if types in (("array",), ("array", None)):
307 -
                    # Now sanity check that first 100 arrays contain only strings
307 +
                    # Now check that first 100 arrays contain only strings
308 308
                    first_100 = [
309 309
                        v[0]
310 310
                        for v in await self.ds.execute(
Files Coverage
datasette 91.71%
Project Totals (34 files) 91.71%
1
coverage:
2
  status:
3
    project:
4
      default:
5
        informational: true
6
    patch:
7
      default:
8
        informational: true
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading