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

--absolute-paths changes list of problems found #244

Closed
meteozond opened this issue Mar 6, 2018 · 3 comments
Closed

--absolute-paths changes list of problems found #244

meteozond opened this issue Mar 6, 2018 · 3 comments

Comments

@meteozond
Copy link

meteozond commented Mar 6, 2018

prospector -s veryhigh .

...

Check Information
=================
         Started: 2018-03-06 17:32:05.187076
        Finished: 2018-03-06 17:34:08.166390
      Time Taken: 122.98 seconds
       Formatter: grouped
        Profiles: .prospector.yaml, strictness_veryhigh, no_doc_warnings, no_member_warnings, no_test_warnings
      Strictness: veryhigh
  Libraries Used: 
       Tools Run: dodgy, mccabe, pep8, profile-validator, pyflakes, pylint
  Messages Found: 130
prospector -s veryhigh --absolute-paths  .

...

Check Information
=================
         Started: 2018-03-06 17:34:58.447810
        Finished: 2018-03-06 17:36:48.550230
      Time Taken: 110.10 seconds
       Formatter: grouped
        Profiles: .prospector.yaml, strictness_veryhigh, no_doc_warnings, no_member_warnings, no_test_warnings
      Strictness: veryhigh
  Libraries Used: 
       Tools Run: dodgy, mccabe, pep8, profile-validator, pyflakes, pylint
  Messages Found: 302
@meteozond
Copy link
Author

We figured out that looks like --absolute-paths drops #noqa suppression functionality o_O

@meteozond
Copy link
Author

Looks like filter expects relative_filepaths but process_messages doesn't do any preparations.

@chocoelho
Copy link
Contributor

chocoelho commented May 31, 2018

This is going to be fixed on the next release. Will close this issue when new version comes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants