Skip to content

Commit

Permalink
More inclusive language
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jun 3, 2021
1 parent f78ebdc commit 6e9b07b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion datasette/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ def serve(
# Run the "startup" plugin hooks
asyncio.get_event_loop().run_until_complete(ds.invoke_startup())

# Run async sanity checks - but only if we're not under pytest
# Run async soundness checks - but only if we're not under pytest
asyncio.get_event_loop().run_until_complete(check_databases(ds))

if get:
Expand Down
2 changes: 1 addition & 1 deletion datasette/facets.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ async def suggest(self):
)
types = tuple(r[0] for r in results.rows)
if types in (("array",), ("array", None)):
# Now sanity check that first 100 arrays contain only strings
# Now check that first 100 arrays contain only strings
first_100 = [
v[0]
for v in await self.ds.execute(
Expand Down
2 changes: 1 addition & 1 deletion datasette/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ async def as_csv(self, request, database, hash, **kwargs):
)
request.scope = new_scope
if stream:
# Some quick sanity checks
# Some quick soundness checks
if not self.ds.setting("allow_csv_stream"):
raise BadRequest("CSV streaming is disabled")
if request.args.get("_next"):
Expand Down

0 comments on commit 6e9b07b

Please sign in to comment.