Rule request
Description
Right now this is not detected as an error:
import pytest
pytest.skip('Ignore this module')
Rationale
This is also an error with pytest:
_____________ ERROR collecting tests/test_multiprocess_aioredis.py _____________
Using pytest.skip outside of a test will skip the entire module. If that's your intention, pass `allow_module_level=True`. If you want to skip a specific test or an entire class, use the @pytest.mark.skip or @pytest.mark.skipif decorators.
Rule request
Description
Right now this is not detected as an error:
Rationale
This is also an error with
pytest: