mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-04 16:57:32 +08:00
[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:
![66853113+pre-commit-ci[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
GitHub

parent
5f95d6f805
commit
bc8df6de31
@ -1,6 +1,7 @@
|
||||
"""
|
||||
Get CO2 emission data from the UK CarbonIntensity API
|
||||
"""
|
||||
|
||||
from datetime import date
|
||||
|
||||
import requests
|
||||
|
@ -1,4 +1,5 @@
|
||||
"""Get the site emails from URL."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
__author__ = "Muhammad Umer Farooq"
|
||||
|
@ -17,6 +17,7 @@ with your token::
|
||||
#!/usr/bin/env bash
|
||||
export USER_TOKEN=""
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
|
@ -1,6 +1,7 @@
|
||||
"""
|
||||
Scraping jobs given job title and location from indeed website
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from collections.abc import Generator
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user