Skip to content

Commit c3281f2

Browse files
committed
lint fixes
1 parent 8ab1768 commit c3281f2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

backend/btrixcloud/crawlconfigs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ async def make_inactive_or_delete(
988988
await self.file_ops.delete_seed_file(
989989
crawlconfig.config.seedFileId, org
990990
)
991-
except HTTPException as e:
991+
except HTTPException:
992992
pass
993993

994994
status = "deleted"

backend/test/test_stop_cancel_crawl.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,11 @@ def test_stop_crawl_partial(
181181
def test_crawl_with_hostname(default_org_id, crawler_auth_headers):
182182
r = requests.get(
183183
f"{API_PREFIX}/orgs/{default_org_id}/crawls/{crawl_id}/replay.json",
184-
headers={"X-Forwarded-Proto": "https", "host": "custom-domain.example.com", **crawler_auth_headers},
184+
headers={
185+
"X-Forwarded-Proto": "https",
186+
"host": "custom-domain.example.com",
187+
**crawler_auth_headers,
188+
},
185189
)
186190
assert r.status_code == 200
187191
assert r.json()["pagesQueryUrl"].startswith("https://custom-domain.example.com/")

0 commit comments

Comments
 (0)