-
Notifications
You must be signed in to change notification settings - Fork 1
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
100% health when it's not #70
Comments
I had a look, it turns out this is a combination of bugs. The problem is firstly that frosted is failing to handle the "Häggström" in (https://github.com/hugovk/Pillow/blob/master/PIL/WalImageFile.py) due to some kind of encoding issue which I haven't figured out yet. Landscape should detect that failure but does not, which is the second part of the bug. I will dig into it more and submit a bug report for frosted once I figure out what's wrong. Hopefully I can also patch or workaround it enough to get the check running correctly. If you want to get some accurate scores from Landscape in the meantime, then you could add something to your
This is obviously a hack and I will update you when I get a real solution! |
Thanks for investigating. I've added the workaround, but still get 100% and the file still shows up in the list of all files. Some things I tried:
There's no
(It might be worth adding an |
Pillow isn't at 100% code health, there's plenty of PEP8 and Pyflakes warnings in our Travis CI. This is a bug in Landscape: landscapeio/landscape-issues#70 Let's remove the badge until Landscape's working properly. Re: #895.
@carlio So how can a file be ignored by Landscape? I see this didn't work in your test either; it still reports 100% health and zero warnings:
|
Hi @hugovk I haven't forgotten about this, just been super busy the last few days! It turns out there's a further bug in |
@hugovk This commit to prospector has mitigated the problem, so that now 1) the ignoring configuration works properly and 2) if You should be able to remove that The score is now working properly - see https://landscape.io/github/hugovk/Pillow/69 Sorry it took so long, it was a combination of about 4 bugs in 4 different projects! |
@carlio Thanks for the fixes, happy to have helped identify four bugs in four projects! |
Landscape reports a repo's health is 100% with defaults.
I added a .landscape.yaml config file and did a build to include warnings for tests, and then increased strictness from default medium to high and very high but all four still got 100% health.
https://landscape.io/github/hugovk/Pillow/24
I'm quite certain this shouldn't be the case because Travis CI is also running PEP8 and Pyflakes at the end of the build and gives plenty of warnings. For example:
https://travis-ci.org/hugovk/Pillow/jobs/34919670#L2787
And Landscape seems to know about the files. listing all 233 .py files:
https://landscape.io/github/hugovk/Pillow/24/modules?classes=syntax&classes=error&classes=smell&classes=style&classes=docs&show_all=all
Do I have the config somehow wrong?
Thanks!
The text was updated successfully, but these errors were encountered: