Skip to content

Commit

Permalink
upgraded volnurable requests
Browse files Browse the repository at this point in the history
  • Loading branch information
andgineer committed May 22, 2024
1 parent a1db544 commit 40c31d5
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ exclude: |
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.3
rev: v0.4.4
hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
# Run the formatter.
- id: ruff-format
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.361
rev: v1.1.363
hooks:
- id: pyright

Expand Down
26 changes: 13 additions & 13 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements.dev.in
#
annotated-types==0.6.0
annotated-types==0.7.0
# via
# -r requirements.txt
# pydantic
astroid==3.1.0
astroid==3.2.2
# via pylint
bracex==2.4
# via wcmatch
Expand Down Expand Up @@ -43,15 +43,15 @@ distlib==0.3.8
# via virtualenv
filelock==3.14.0
# via virtualenv
freezegun==1.5.0
freezegun==1.5.1
# via -r requirements.dev.in
ghp-import==2.1.0
# via mkdocs
google-api-core==2.19.0
# via
# -r requirements.txt
# google-api-python-client
google-api-python-client==2.127.0
google-api-python-client==2.129.0
# via
# -r requirements.txt
# google-api-python-client-stubs
Expand Down Expand Up @@ -134,14 +134,14 @@ pathspec==0.12.1
# via mkdocs
pip-tools==7.4.1
# via -r requirements.dev.in
platformdirs==4.2.1
platformdirs==4.2.2
# via
# mkdocs-get-deps
# pylint
# virtualenv
pluggy==1.5.0
# via pytest
pre-commit==3.7.0
pre-commit==3.7.1
# via -r requirements.dev.in
proto-plus==1.23.0
# via
Expand Down Expand Up @@ -176,7 +176,7 @@ pydantic-core==2.18.2
# pydantic
pygments==2.18.0
# via rich
pylint==3.1.0
pylint==3.2.2
# via -r requirements.dev.in
pyparsing==3.1.2
# via
Expand All @@ -186,7 +186,7 @@ pyproject-hooks==1.1.0
# via
# build
# pip-tools
pytest==8.2.0
pytest==8.2.1
# via
# -r requirements.dev.in
# pytest-cov
Expand All @@ -208,7 +208,7 @@ pyyaml==6.0.1
# pyyaml-env-tag
pyyaml-env-tag==0.1
# via mkdocs
requests==2.31.0
requests==2.32.2
# via
# -r requirements.txt
# google-api-core
Expand All @@ -231,7 +231,7 @@ six==1.16.0
# -r requirements.txt
# oauth2client
# python-dateutil
tomlkit==0.12.4
tomlkit==0.12.5
# via pylint
typer==0.12.3
# via lazydocs
Expand All @@ -253,11 +253,11 @@ urllib3==2.2.1
# via
# -r requirements.txt
# requests
virtualenv==20.26.1
virtualenv==20.26.2
# via pre-commit
watchdog==4.0.0
# via mkdocs
wcmatch==8.5.1
wcmatch==8.5.2
# via mkdocs-awesome-pages-plugin
wheel==0.43.0
# via pip-tools
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements.in
#
annotated-types==0.6.0
annotated-types==0.7.0
# via pydantic
cachetools==5.3.3
# via google-auth
Expand All @@ -16,7 +16,7 @@ charset-normalizer==3.3.2
# via requests
google-api-core==2.19.0
# via google-api-python-client
google-api-python-client==2.127.0
google-api-python-client==2.129.0
# via -r requirements.in
google-auth==2.29.0
# via
Expand Down Expand Up @@ -63,7 +63,7 @@ pyparsing==3.1.2
# via httplib2
python-dateutil==2.9.0.post0
# via -r requirements.in
requests==2.31.0
requests==2.32.2
# via
# -r requirements.in
# google-api-core
Expand Down
6 changes: 3 additions & 3 deletions src/amazon_dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
from datetime import datetime, timedelta
from typing import Any, Dict, Optional, Set

from scapy.all import Packet, sniff # pyright: ignore [reportMissingTypeStubs]
from scapy.layers.dhcp import DHCP # pyright: ignore [reportMissingTypeStubs]
from scapy.layers.l2 import ARP # pyright: ignore [reportMissingTypeStubs]
from scapy.all import Packet, sniff # pyright: ignore [reportMissingImports]
from scapy.layers.dhcp import DHCP # pyright: ignore [reportMissingImports]
from scapy.layers.l2 import ARP # pyright: ignore [reportMissingImports]

import models
from action import Action
Expand Down
4 changes: 2 additions & 2 deletions src/google_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from functools import cached_property

import httplib2
from googleapiclient import discovery
from oauth2client.service_account import ServiceAccountCredentials # pyright: ignore [reportMissingTypeStubs]
from googleapiclient import discovery # pyright: ignore [reportMissingImports]
from oauth2client.service_account import ServiceAccountCredentials # pyright: ignore [reportMissingImports]

import models

Expand Down
2 changes: 1 addition & 1 deletion src/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Any, Dict, List, Literal, Optional, Union

from pydantic import BaseModel, RootModel, TypeAdapter, constr, model_validator
from pydantic import BaseModel, RootModel, TypeAdapter, constr, model_validator # pyright: ignore [reportMissingImports]

BOUNCE_DELAY = 5

Expand Down

0 comments on commit 40c31d5

Please sign in to comment.