mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-27 04:14:30 +02:00
Fixed flake8 errors
This commit is contained in:
parent
2b20957b18
commit
be1e89da5f
2 changed files with 1 additions and 2 deletions
|
|
@ -489,7 +489,7 @@ def add_foreign_key(
|
||||||
def add_foreign_keys(path, foreign_key, load_extension):
|
def add_foreign_keys(path, foreign_key, load_extension):
|
||||||
"""
|
"""
|
||||||
Add multiple new foreign key constraints to a database
|
Add multiple new foreign key constraints to a database
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
\b
|
\b
|
||||||
|
|
|
||||||
|
|
@ -924,7 +924,6 @@ def test_upsert(db_path, tmpdir):
|
||||||
|
|
||||||
def test_upsert_pk_required(db_path, tmpdir):
|
def test_upsert_pk_required(db_path, tmpdir):
|
||||||
json_path = str(tmpdir / "dogs.json")
|
json_path = str(tmpdir / "dogs.json")
|
||||||
db = Database(db_path)
|
|
||||||
insert_dogs = [
|
insert_dogs = [
|
||||||
{"id": 1, "name": "Cleo", "age": 4},
|
{"id": 1, "name": "Cleo", "age": 4},
|
||||||
{"id": 2, "name": "Nixie", "age": 4},
|
{"id": 2, "name": "Nixie", "age": 4},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue