Skip to content

Commit

Permalink
Satisfy mypy
Browse files Browse the repository at this point in the history
Otherwise, mypy throws errors like this:
Module has no attribute "urllib3"
  • Loading branch information
dav3r committed Jan 12, 2022
1 parent ee97cd9 commit 770c322
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/tools/gophish_cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

# Third-Party Libraries
from docopt import docopt
import requests
import requests.packages.urllib3

# cisagov Libraries
from tools.connect import connect_api
Expand Down
2 changes: 1 addition & 1 deletion src/tools/gophish_complete.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

# Third-Party Libraries
from docopt import docopt
import requests
import requests.packages.urllib3

# cisagov Libraries
from tools.connect import connect_api
Expand Down
2 changes: 1 addition & 1 deletion src/tools/gophish_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# Third-Party Libraries
from docopt import docopt
import httpagentparser
import requests
import requests.packages.urllib3

# cisagov Libraries
from tools.connect import connect_api
Expand Down
2 changes: 1 addition & 1 deletion src/tools/gophish_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# Third-Party Libraries
from docopt import docopt
from gophish.models import SMTP, Campaign, Error, Group, Page, Template, User
import requests
import requests.packages.urllib3

# cisagov Libraries
from tools.connect import connect_api
Expand Down
2 changes: 1 addition & 1 deletion src/tools/gophish_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# Third-Party Libraries
from docopt import docopt
from gophish.models import SMTP, Campaign, Group, Page, Template, User
import requests
import requests.packages.urllib3

# cisagov Libraries
from tools.connect import connect_api
Expand Down

0 comments on commit 770c322

Please sign in to comment.