Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
nabla-c0d3 committed Nov 20, 2022
1 parent d138816 commit 0e9e289
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion sslyze/plugins/http_headers_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
from urllib.parse import urlsplit

import pydantic
from nassl._nassl import SslError

# TODO: Fix type annotations in nassl
from nassl._nassl import SslError # type: ignore

from sslyze.json.scan_attempt_json import ScanCommandAttemptAsJson
from sslyze.plugins.plugin_base import (
Expand Down
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import inspect

if not hasattr(inspect, "getargspec"):
inspect.getargspec = inspect.getfullargspec
inspect.getargspec = inspect.getfullargspec # type: ignore


from invoke import task, Context
Expand Down

0 comments on commit 0e9e289

Please sign in to comment.