Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pylint on github actions #3

Open
adamglos92 opened this issue Jan 21, 2022 · 0 comments
Open

pylint on github actions #3

adamglos92 opened this issue Jan 21, 2022 · 0 comments
Labels
question Further information is requested

Comments

@adamglos92
Copy link
Collaborator

Currently pylint is used only locally when for testing docstrings. GitHub actions fail with error

Running: pylint omniqubo
Traceback (most recent call last):
  File "/usr/local/bin/pylint", line 8, in <module>
    sys.exit(run_pylint())
  File "/usr/local/lib/python3.8/site-packages/pylint/__init__.py", line 24, in run_pylint
    PylintRun(sys.argv[1:])
  File "/usr/local/lib/python3.8/site-packages/pylint/lint/run.py", line 320, in __init__
    linter.load_config_file()
  File "/usr/local/lib/python3.8/site-packages/pylint/config/option_manager_mixin.py", line 314, in load_config_file
    self.global_set_option(option, value)
  File "/usr/local/lib/python3.8/site-packages/pylint/config/option_manager_mixin.py", line 186, in global_set_option
    self._all_options[opt].set_option(opt, value)
  File "/usr/local/lib/python3.8/site-packages/pylint/config/options_provider_mixin.py", line 54, in set_option
    value = _validate(value, optdict, optname)
  File "/usr/local/lib/python3.8/site-packages/pylint/config/option.py", line 105, in _validate
    return _call_validator(_type, optdict, name, value)
  File "/usr/local/lib/python3.8/site-packages/pylint/config/option.py", line 86, in _call_validator
    return VALIDATORS[opttype](optdict, option, value)
  File "/usr/local/lib/python3.8/site-packages/pylint/config/option.py", line 74, in <lambda>
    "choice": lambda opt, name, value: _choice_validator(opt["choices"], name, value),
  File "/usr/local/lib/python3.8/site-packages/pylint/config/option.py", line 31, in _choice_validator
    raise optparse.OptionValueError(msg % (name, value, choices))
optparse.OptionValueError: option spelling-dict: invalid value: 'en_US', should be in ['']
Pylint error

Likely cause because of missing pyenchant dependency

@adamglos92 adamglos92 added the question Further information is requested label Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant