| Conditions | 2 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from django.conf import settings |
||
| 16 | def get_init_integer_values () -> dict: |
||
| 17 | """Gets a test dictionary containing a key |
||
| 18 | for every language with value that can be parsed to int""" |
||
| 19 | |||
| 20 | keys = {} |
||
| 21 | |||
| 22 | for counter, (lang_code, lang_name) in enumerate(settings.LANGUAGES): |
||
| 23 | keys[lang_code] = counter |
||
| 24 | |||
| 25 | return keys |
||
| 26 | |||
| 27 |
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__.pyfiles in your module folders. Make sure that you place one file in each sub-folder.