@@ -62,12 +62,12 @@ class SimpleMsg(Enum):
62
62
class NamespaceMsg (Enum ):
63
63
cfm_beta = ("{tempfile}:4: error: Cannot find implementation or library stub for module named "
64
64
"'typedpkg_ns.ns.dne'" )
65
- missing_typedpkg_module = ("{tempfile}:3: error: Cannot find implementation or library stub for module named "
66
- " 'typedpkg'" )
67
- missing_typedpkg_sample_module = ("{tempfile}:2: error: Cannot find implementation or library stub for module named "
68
- " 'typedpkg.sample'" )
65
+ missing_typedpkg_module = ("{tempfile}:3: error: Cannot find implementation or library stub"
66
+ " for module named 'typedpkg'" )
67
+ missing_typedpkg_sample_module = ("{tempfile}:2: error: Cannot find implementation or"
68
+ " library stub for module named 'typedpkg.sample'" )
69
69
help_note2 = ('{tempfile}:2: note: See https://mypy.readthedocs.io/en/latest/'
70
- 'running_mypy.html#missing-imports' )
70
+ 'running_mypy.html#missing-imports' )
71
71
help_note = ('{tempfile}:4: note: See https://mypy.readthedocs.io/en/latest/'
72
72
'running_mypy.html#missing-imports' )
73
73
bool_str = ('{tempfile}:10: error: Argument 1 has incompatible type '
@@ -262,7 +262,7 @@ def test_mypy_path_is_respected(self) -> None:
262
262
os .chdir (old_dir )
263
263
264
264
def test_mypy_nositepackages_setting_accepted (self ) -> None :
265
- ### Test the no-site-packages flag
265
+ # Test the no-site-packages flag
266
266
self .simple_prog .create ()
267
267
with tempfile .TemporaryDirectory () as temp_dir :
268
268
old_dir = os .getcwd ()
@@ -280,10 +280,10 @@ def test_mypy_nositepackages_setting_accepted(self) -> None:
280
280
self .install_package ('typedpkg' , python_executable )
281
281
self .simple_prog .check_mypy_run (
282
282
python_executable ,
283
- [NamespaceMsg .missing_typedpkg_sample_module ,
284
- NamespaceMsg .help_note2 ,
285
- NamespaceMsg .missing_typedpkg_module ,
286
- SimpleMsg .msg_any ],
283
+ [NamespaceMsg .missing_typedpkg_sample_module ,
284
+ NamespaceMsg .help_note2 ,
285
+ NamespaceMsg .missing_typedpkg_module ,
286
+ SimpleMsg .msg_any ],
287
287
venv_dir = venv_dir ,
288
288
args = ['--config-file' , mypy_config_path ]
289
289
)
0 commit comments