We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mypy
1 parent e902740 commit a8fb546Copy full SHA for a8fb546
.pre-commit-config.yaml
@@ -116,6 +116,8 @@ repos:
116
hooks:
117
- id: mypy
118
additional_dependencies:
119
+ - types-docopt
120
+ - types-requests
121
- types-setuptools
122
- repo: https://github.com/asottile/pyupgrade
123
rev: v3.2.0
src/trustymail/domain.py
@@ -2,6 +2,7 @@
2
from collections import OrderedDict
3
from datetime import datetime, timedelta
4
from os import path, stat
5
+from typing import Dict
6
7
# Third-Party Libraries
8
import publicsuffix
@@ -60,7 +61,7 @@ def format_list(record_list):
60
61
62
63
class Domain:
- base_domains = {}
64
+ base_domains: Dict[str, Domain] = {}
65
66
def __init__(
67
self,
0 commit comments