Remove periods from one-sentence comments

This commit is contained in:
Alexander Hess 2026-12-03 10:03:26 +01:00
commit 049a5f6f62
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -65,7 +65,7 @@ class TestConstraints:
db_session.add(assoc)
db_session.commit()
# Must delete without ORM as otherwise an UPDATE statement is emitted.
# Must delete without ORM as otherwise an UPDATE statement is emitted
stmt = sa.delete(db.Address).where(db.Address.id == assoc.address.id)
with pytest.raises(
@ -81,7 +81,7 @@ class TestConstraints:
db_session.commit()
# Must insert without ORM as otherwise SQLAlchemy figures out
# that something is wrong before any query is sent to the database.
# that something is wrong before any query is sent to the database
stmt = sa.insert(db.AddressPixelAssociation).values(
address_id=address.id,
city_id=999,
@ -102,7 +102,7 @@ class TestConstraints:
db_session.commit()
# Must insert without ORM as otherwise SQLAlchemy figures out
# that something is wrong before any query is sent to the database.
# that something is wrong before any query is sent to the database
stmt = sa.insert(db.AddressPixelAssociation).values(
address_id=address.id,
city_id=address.city.id,
@ -121,7 +121,7 @@ class TestConstraints:
db_session.add(assoc)
db_session.commit()
# Must delete without ORM as otherwise an UPDATE statement is emitted.
# Must delete without ORM as otherwise an UPDATE statement is emitted
stmt = sa.delete(db.Pixel).where(db.Pixel.id == assoc.pixel.id)
with pytest.raises(
@ -135,7 +135,7 @@ class TestConstraints:
db_session.add(assoc)
db_session.commit()
# Create a neighboring `Pixel` and put the same `address` as in `pixel` in it.
# Create a neighboring `Pixel` and put the same `address` as in `pixel` in it
neighbor = db.Pixel(grid=pixel.grid, n_x=pixel.n_x, n_y=pixel.n_y + 1)
another_assoc = db.AddressPixelAssociation(address=address, pixel=neighbor)