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

[BUG] not prospecting file in dir #417

Closed
bechtold opened this issue Apr 30, 2021 · 1 comment
Closed

[BUG] not prospecting file in dir #417

bechtold opened this issue Apr 30, 2021 · 1 comment
Labels
file-finder-rewrite The plan to replace the file finder in prospector should include this bug investigate

Comments

@bechtold
Copy link

Describe the bug
As I read from the docs I run prospector in the dir with the file and it doesn't check the file. But when I run prospector example.py the file is checked. I realized this while creating #416.

To Reproduce
Steps to reproduce the behavior:

  • Create a file (example.py) with a very long line
  • Add # pylint: disable=line-too-long to the beginning of the file
  • Call prospector to not see any errors
  • Call prospector example.py to see the expected errors

Expected behavior
File should be checked without specifically calling it.

Environment (please complete the following information):

  • OS: macOS Big Sur on M1
  • Tool: prospector
  • Prospector version 1.3.1
  • Python version 3.9.4
DavidMChan added a commit to DavidMChan/prospector that referenced this issue Jun 9, 2021
@carlio carlio added the file-finder-rewrite The plan to replace the file finder in prospector should include this bug label Mar 1, 2022
@carlio
Copy link
Member

carlio commented Mar 13, 2022

Please can you see if this is still happening for you with the 1.8.0rc0 release? I just pushed it, it should address this (and other) issues about finding files

@carlio carlio closed this as completed Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
file-finder-rewrite The plan to replace the file finder in prospector should include this bug investigate
Projects
None yet
Development

No branches or pull requests

2 participants