Skip to content

Commit 51e0072

Browse files
author
Dan Hudlow
committed
Refine dependencies, links, and code style per code review
1 parent a57ebab commit 51e0072

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ dev = [
6666
"types-pyyaml>=6.0.12.20250516",
6767
"google-re2-stubs",
6868
"sphinxcontrib-plantuml>=0.30",
69-
"google-cel-spec-protocolbuffers-python==32.0.0.1.20250512201741+dffb8c8cf781",
69+
"google-cel-spec-protocolbuffers-python==32.1.0.1.20250512201741+dffb8c8cf781",
7070
"google-cel-spec-protocolbuffers-pyi==32.1.0.1.20250512201741+dffb8c8cf781",
7171
"jinja2>=3.1.6",
7272
"pytest-cov>=6.3.0",

tools/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Each ``.textproto`` file follows the ``SimpleTestFile`` `schema`_.
4747

4848
These are deserialized into Python objects using an `SDK generated from the schemas`_.
4949

50-
.. _SDK generated from the schemas: https://buf.build/google/cel-spec/sdks/dffb8c8cf7814e96a7c06b6a5ac72fdc:protocolbuffers/python
50+
.. _SDK generated from the schemas: https://buf.build/google/cel-spec/sdks/main:protocolbuffers/python
5151

5252
These Python objects that represent the Protobuf data and then loaded into classes that represented
5353
Gherkin concepts (``features`` with comment-delineated sections, and ``scenarios`` with ``given``,

tools/gherkinize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,8 @@ def __eq__(self, other: Any) -> bool:
510510
if len(self.values) != len(other.values):
511511
return False
512512

513-
for i in range(0, len(self.values)):
514-
if self.values[i] != other.values[i]:
513+
for s, o in zip(self.values, other.values):
514+
if s != o:
515515
return False
516516

517517
return True

uv.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)