-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add ability to load configuration from tox.ini #86
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution!
Looks good to me, with minor issues:
- Chocolatey is currently down, which breaks Appveyor builds
- The new docstring doesn't follow PEP-257
- I'm sure flake8 will complain about those backslashes and excessive indentation for
return True
inside the newif
. - I don't see a commit status from coveralls so I'll have to check test coverage manually.
I'll retry Appveyor builds when Chocolatey is up again. Please ping me if I forget. ;)
Thanks for pointing those out, I forgot PEP-257 has a newline before the trailing closer 😅 Fixed the backslashes (tho flake 8 surprisingly didn't complain) as well as all the other issues flake8 had. However it's still warning about line breaks before/after binary operators. Not sure how else I could structure that logic across multiple lines without some if-break unpleasantry. Open to suggestions. Also, for some reason the license classifier for PyPI was being dynamically determined at build time. I removed that, but can put it back if that was something you intended to keep. Here are the remaining flake8 issues: flake8 runtests: commands[0] | flake8 check_manifest.py tests.py setup.py
check_manifest.py:596:13: W503 line break before binary operator
check_manifest.py:613:13: W503 line break before binary operator
check_manifest.py:614:17: W503 line break before binary operator
check_manifest.py:728:35: W504 line break after binary operator
check_manifest.py:746:16: W504 line break after binary operator
check_manifest.py:764:13: W503 line break before binary operator |
Also, I ran the coverage checks locally, the portions I added (apparently) have coverage. Would be good if you double checked that though, since I'm still fairly new to actually using code coverage. |
I was also hinting that it requires a blank line after the first statement. ;)
Oh, that! It's a long story.There was a PEP-8 update (it recommended line break after binary operators, and then was changed to recommend one before), a pycodestyle update, and then a flake8 update, and now flake8 complains in both cases (!?!?!) and requires you to add one of the two warnings to the Wait, actually I think this is probably just because I have an Anyway, I'll fix it.
I wanted there to be a single source of truth for the license information ( |
Coveralls shows the coverage (at 100%) if I go to https://coveralls.io/github/mgedmin/check-manifest and find the build of this PR. What I don't understand is why it doesn't update the commit status here, like it does for other repositories: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May I ask for a rebase on master, if it's not too much trouble? I had some unpushed commits in my local tree. There should be no conflicts.
(I've unlinked my GitHub account from coveralls and relinked it back; let's see if it updates the commit status after your next push!) |
Meanwhile I've created a PR to add flake8 to the CI: #87 If I merge it first, it'll create some merge conflicts for you. |
I'm fine with rebasing. Go ahead and merge that, I'll remove flake8 from this PR. |
Also, I've been running it with Python 3.7 in several projects without any issues, as well as on Windows. So I think you can safely say it supports 3.7 😄 |
I thought I did? Ah, I never made a new release with that commit. |
Merged, so now this PR has conflicts in setup.py. |
(Oh, would you mind adding a line about this change to CHANGES.rst?) |
Fixed conflicts and added a note to the changelog. The only reason I mentioned 3.7 was the changelog stated "claim" 3.7, when we know it works on 3.7. Don't have to claim anything 😉 |
I wanted to distinguish "Add support for Python 3.7", which to me implies some code changes were needed to fix breakage on Python 37, from "Claim support for Python 3.7", where everything works fine, it was just not noted in the documentation/pypi classifiers. It's a silly distinction. "Add support" could very well mean "from now on we'll have CI running tests for this Python version and we will pay attention and fix bugs if any crop up". |
Addresses issue #83