Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into 809-implement-smart-su…
Browse files Browse the repository at this point in the history
…ggestions-api-endpoint
  • Loading branch information
rjambrecic committed Jul 3, 2024
2 parents 39c824b + ad1d002 commit 54636f6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ lint = [
"types-Pygments",
"types-docutils",
"types-requests",
"mypy==1.10.0",
"mypy==1.10.1",
"black==24.4.2",
"isort>=5",
"ruff==0.4.9",
"ruff==0.5.0",
"pyupgrade-directories",
"bandit==1.7.9",
"semgrep==1.75.0",
Expand Down Expand Up @@ -103,14 +103,14 @@ agents = [
"asyncer==0.0.7",
"pydantic==2.7.4",
"markdownify==0.12.1",
"tenacity==8.3.0",
"tenacity==8.4.2",
"prometheus-client==0.20.0",
"opentelemetry-distro==0.46b0",
"opentelemetry-instrumentation-fastapi==0.46b0",
"opentelemetry-instrumentation-logging==0.46b0",
"opentelemetry-exporter-otlp==1.25.0",
"openpyxl==3.1.4",
"aiofiles==23.2.1",
"openpyxl==3.1.5",
"aiofiles==24.1.0",
]

dev = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def test_maximum_headline_string_length(self, headline, expected):
"H14",
]
headlines.append(headline)
if expected == ValueError:
if expected is ValueError:
with pytest.raises(ValueError):
AdGroupAdForCreation(
customer_id="2222",
Expand Down
2 changes: 1 addition & 1 deletion tests/ci/google_ads/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_remove_keyword_insertion_chars(self, headline, expected):
],
)
def test_maximum_headline_string_length(self, headlines, expected):
if expected == ValueError:
if expected is ValueError:
with pytest.raises(ValueError):
AdGroupAd(
customer_id="2222",
Expand Down

0 comments on commit 54636f6

Please sign in to comment.