I think there is a bug in the dslinter plugin.
Minimal example: minimal-example.zip
Steps to reproduce:
- Unzip the minimal example
- cd into the
dslinter-test
directory
- run
pipenv install --dev
to install dslinter
- run
pipenv run pylint src --load-plugins dslinter --output-format=json:result.json
Expected beviour:
- Two code smells written to the
result.json
file
Actual behaviour:
- No content in the
result.json
file.
If you comment out the from os import path
line it does write to the result.json
file, so that is likely the cause. It's also not only the json format, but also the text format that shows this behaviour. When not enabling the dslinter plugin, it does write to the files.
Running it with the command of the steps to follow document does work, but we want to use all the checkers of pylint.