File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Tidelift = "https://tidelift.com/subscription/pkg/pypi-attrs?utm_source=pypi-att
3939[dependency-groups ]
4040mypy = [
4141 { include-group = " tests" },
42- ' pytest-mypy-plugins; platform_python_implementation == "CPython" and python_version >= "3.10"'
42+ ' pytest-mypy-plugins; platform_python_implementation == "CPython" and python_version >= "3.10"' ,
4343]
4444tests = [
4545 # For regression test to ensure cloudpickle compat doesn't break.
@@ -49,10 +49,7 @@ tests = [
4949 " pytest" ,
5050 " pytest-xdist[psutil]" ,
5151]
52- cov = [
53- { include-group = " tests" },
54- " coverage[toml]" ,
55- ]
52+ cov = [{ include-group = " tests" }, " coverage[toml]" ]
5653pyright = [" pyright" , { include-group = " tests" }]
5754benchmark = [
5855 { include-group = " tests" },
@@ -151,7 +148,12 @@ img = "Polar.svg"
151148
152149
153150[tool .pytest .ini_options ]
154- addopts = [" -ra" , " --strict-markers" , " --strict-config" ]
151+ addopts = [
152+ " -ra" ,
153+ " --strict-markers" ,
154+ " --strict-config" ,
155+ " --import-mode=importlib" , # make src truly unimportable
156+ ]
155157xfail_strict = true
156158testpaths = " tests"
157159filterwarnings = [" once::Warning" , " ignore:::pympler[.*]" ]
You can’t perform that action at this time.
0 commit comments