]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
mypy: load extra test files from environment variable
authorMaico Timmerman <maico.timmerman@gmail.com>
Fri, 30 Apr 2021 14:36:23 +0000 (16:36 +0200)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 4 May 2021 21:41:33 +0000 (17:41 -0400)
commit36b627612483331f96b0f7490d9b3d6322c5dd6a
treebad55871937a953d7270f7fbe0faf2e853e0deea
parentf1f4f466fd809a14bff6d0c405a1d5da87438379
mypy: load extra test files from environment variable

Add --mypy-extra-test-path parameter to pytest execution to list extra
directories to load test files from.
This enables the stubs repo to load this plugin and specify it's
own test directory to run mypy tests. Supports both single file tests
and incremental tests based on patch files.

Change-Id: Id6424ff15b2f527183b9713384df3d625a8e6eb8
lib/sqlalchemy/testing/plugin/plugin_base.py
test/ext/mypy/test_mypy_plugin_py3k.py