Conditions | 2 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | import os |
||
36 | @pytest.fixture |
||
37 | def git_repo(): |
||
38 | with CliRunner().isolated_filesystem(): |
||
39 | readme_path = 'README.md' |
||
40 | open(readme_path, 'w').write( |
||
41 | '\n'.join(README_MARKDOWN) |
||
42 | ) |
||
43 | git('init') |
||
44 | git('remote', 'add', 'origin', 'https://github.com/michaeljoseph/test_app.git') |
||
45 | git('add', 'README.md') |
||
46 | git('commit', '-m', '"Please README"') |
||
47 | |||
48 | yield |
||
49 | |||
62 |
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.