Conditions | 3 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | # pylint: disable=missing-docstring,unused-variable,unused-argument,expression-not-assigned |
||
19 | @pytest.fixture |
||
20 | def coveragepy_data(tmpdir): |
||
21 | cwd = tmpdir.chdir() |
||
22 | with open("foobar.py", 'w') as stream: |
||
23 | pass |
||
24 | with open(".coverage", 'w') as stream: |
||
25 | stream.write(""" |
||
26 | !coverage.py: This is a private format, don\'t read it directly! |
||
27 | {"arcs":{"foobar.py": [[-1, 3]]}} |
||
28 | """.strip()) |
||
29 | |||
33 |
This can be caused by one of the following:
1. Missing Dependencies
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
2. Missing __init__.py files
This error could also result from missing
__init__.py
files in your module folders. Make sure that you place one file in each sub-folder.