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

Report not written to file when using from os import path #88

Open
wouterpolet opened this issue Jun 13, 2022 · 0 comments
Open

Report not written to file when using from os import path #88

wouterpolet opened this issue Jun 13, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@wouterpolet
Copy link

wouterpolet commented Jun 13, 2022

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.

@Hynn01 Hynn01 added the help wanted Extra attention is needed label Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants