[pre-commit.ci] pre-commit autoupdate (#11322)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.2...v0.3.2)
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.9.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot]
2024-03-13 07:52:41 +01:00
committed by GitHub
parent 5f95d6f805
commit bc8df6de31
297 changed files with 488 additions and 285 deletions

View File

@ -1,6 +1,7 @@
"""
Get CO2 emission data from the UK CarbonIntensity API
"""
from datetime import date
import requests

View File

@ -1,4 +1,5 @@
"""Get the site emails from URL."""
from __future__ import annotations
__author__ = "Muhammad Umer Farooq"

View File

@ -17,6 +17,7 @@ with your token::
#!/usr/bin/env bash
export USER_TOKEN=""
"""
from __future__ import annotations
import os

View File

@ -1,6 +1,7 @@
"""
Scraping jobs given job title and location from indeed website
"""
from __future__ import annotations
from collections.abc import Generator

View File

@ -4,7 +4,6 @@ and fetch from Amazon information about products of this name or category. The
information will include title, URL, price, ratings, and the discount available.
"""
from itertools import zip_longest
import requests

View File

@ -31,6 +31,7 @@ SecretKey should be kept in your site's back end
Below a Django function for the views.py file contains a login form for demonstrating
recaptcha verification.
"""
import requests
try:

View File

@ -3,6 +3,7 @@ Get book and author data from https://openlibrary.org
ISBN: https://en.wikipedia.org/wiki/International_Standard_Book_Number
"""
from json import JSONDecodeError # Workaround for requests.exceptions.JSONDecodeError
import requests