Skip to content

Commit 06c2748

Browse files
neiljpshowell
authored andcommitted
mypy: Remove various mypy.ini exclusions due to REQ/None.
Current mypy supports returning None without error. See python/mypy#4214.
1 parent 0cf4a75 commit 06c2748

1 file changed

Lines changed: 0 additions & 34 deletions

File tree

‎mypy.ini‎

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -86,43 +86,9 @@ strict_optional = True
8686
# REQ returning None issue
8787
[mypy-zerver.decorator]
8888
strict_optional = False
89-
[mypy-zerver.views.zephyr]
90-
strict_optional = False
91-
[mypy-zerver.views.user_settings]
92-
strict_optional = False
93-
[mypy-zerver.views.streams]
94-
strict_optional = False
95-
[mypy-zerver.views.storage]
96-
strict_optional = False
97-
[mypy-zerver.views.report]
98-
strict_optional = False
99-
[mypy-zerver.views.integrations]
100-
strict_optional = False
101-
[mypy-zerver.tornado.views]
102-
strict_optional = False
103-
[mypy-zerver.views.events_register]
104-
strict_optional = False
10589

106-
[mypy-zerver.lib.webhooks.common]
107-
strict_optional = False
108-
[mypy-zerver.webhooks.yo.view]
109-
strict_optional = False
110-
[mypy-zerver.webhooks.transifex.view]
111-
strict_optional = False
112-
[mypy-zerver.webhooks.newrelic.view]
113-
strict_optional = False
114-
[mypy-zerver.webhooks.gogs.view]
115-
strict_optional = False
11690
[mypy-zerver.webhooks.gitlab.view]
11791
strict_optional = False
118-
[mypy-zerver.webhooks.github.view]
119-
strict_optional = False
120-
[mypy-zerver.webhooks.bitbucket.view]
121-
strict_optional = False
122-
[mypy-zerver.webhooks.bitbucket2.view]
123-
strict_optional = False
124-
[mypy-zerver.webhooks.beanstalk.view]
125-
strict_optional = False
12692

12793
[mypy-zerver.views.auth] # Other issues in this file too
12894
strict_optional = False

0 commit comments

Comments
 (0)