File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -167,10 +167,12 @@ mypy-tests:
167167 Base directory for tests to use
168168 --mypy-ini-file=MYPY_INI_FILE
169169 Which .ini file to use as a default config for tests
170- --mypy-same-process
171- Now, to help with various issues in django-stubs, it runs every single test in the subprocess mypy call.
172- Some debuggers cannot attach to subprocess, so enable this flag to make mypy check happen in the same process.
173- (Could cause cache issues)
170+ --mypy-same-process Run in the same process. Useful for debugging, will create problems with import cache
171+ --mypy-extension-hook=MYPY_EXTENSION_HOOK
172+ Fully qualified path to the extension hook function, in case you need custom yaml keys. Has to be top-level.
173+ --mypy-only-local-stub
174+ mypy will ignore errors from site-packages
175+
174176```
175177
176178## Further reading
You can’t perform that action at this time.
0 commit comments