Skip to content

Fix doctest space#2938

Closed
Borda wants to merge 2 commits intoscikit-image:masterfrom
Borda:fix_doctest_space
Closed

Fix doctest space#2938
Borda wants to merge 2 commits intoscikit-image:masterfrom
Borda:fix_doctest_space

Conversation

@Borda
Copy link
Copy Markdown
Contributor

@Borda Borda commented Jan 14, 2018

Description

attempt to solve the issue with doctest and new numpy

References

#2415 and #2935

@pep8speaks
Copy link
Copy Markdown

pep8speaks commented Jan 14, 2018

Hello @Borda! Thanks for updating the PR.

Line 273:80: E501 line too long (91 > 79 characters)
Line 279:80: E501 line too long (91 > 79 characters)

Line 148:80: E501 line too long (100 > 79 characters)

Line 256:80: E501 line too long (84 > 79 characters)
Line 293:80: E501 line too long (82 > 79 characters)

Line 102:80: E501 line too long (86 > 79 characters)
Line 108:80: E501 line too long (86 > 79 characters)

Line 41:80: E501 line too long (97 > 79 characters)

Line 383:80: E501 line too long (81 > 79 characters)

Line 48:80: E501 line too long (83 > 79 characters)

Line 71:80: E501 line too long (91 > 79 characters)

Comment last updated on January 16, 2018 at 22:06 Hours UTC

@Borda Borda force-pushed the fix_doctest_space branch 2 times, most recently from 50a4fc1 to 6f75c7f Compare January 14, 2018 14:39
@Borda
Copy link
Copy Markdown
Contributor Author

Borda commented Jan 14, 2018

well, it seems that what is passing in PIP_FLAGS="--pre" doe not pass in WITH_PYAMG=1 MINIMUM_REQUIREMENTS=1 WITH_QT=1

@soupault
Copy link
Copy Markdown
Member

@Borda you have lots of unrelated changes in this PR as well. If you Enable access for the maintainers, I could help with this issue.

@soupault soupault added 📄 type: Documentation Updates, fixes and additions to documentation 💪 Work in progress labels Jan 15, 2018
@soupault soupault added this to the 0.14 milestone Jan 15, 2018
@Borda
Copy link
Copy Markdown
Contributor Author

Borda commented Jan 15, 2018

@soupault I have check the option Allow edits from maintainers. in this PR or do you mean something else?

@Borda Borda mentioned this pull request Jan 15, 2018
3 tasks
@soupault
Copy link
Copy Markdown
Member

@Borda yes, thanks! I've rebased the branch onto upstream master.

However, I'm not able to fix your/origin master branch (the granted permissions does not allow this). You'd need to do this by yourself. See https://stackoverflow.com/a/42332860/1759565 for the instructions.

@Borda Borda force-pushed the fix_doctest_space branch from 445195e to 65d62f0 Compare January 15, 2018 15:58
@Borda
Copy link
Copy Markdown
Contributor Author

Borda commented Jan 15, 2018

I did as the post recommends and I hope that it is correct now...

@soupault
Copy link
Copy Markdown
Member

I think the 1st commit (Merge remote-tracking ...) is unwanted. Otherwise, should be ok.

@emmanuelle
Copy link
Copy Markdown
Member

emmanuelle commented Jan 16, 2018

Thanks for all your hard work @Borda and @soupault

Did you consider using np.set_printoptions(legacy='1.13') ? (see for example https://github.com/nilearn/nilearn/pull/1592/files)

Update: OK, it was mentioned in #2935

@Borda Borda force-pushed the fix_doctest_space branch from 65d62f0 to 16beeff Compare January 16, 2018 21:59
@Borda Borda force-pushed the fix_doctest_space branch from 16beeff to 61e1aba Compare January 16, 2018 22:06
@Borda
Copy link
Copy Markdown
Contributor Author

Borda commented Jan 16, 2018

@soupault I see, so hope that now it is good...
@emmanuelle well, that could be also an option... so which way should we go?

@soupault
Copy link
Copy Markdown
Member

soupault commented Jan 19, 2018

@Borda I'm closing this PR as we decided to move on with np.set_printoptions(legacy='1.13'). All deprecations related to numpy=1.14 are to be addressed in #2935.

Thank you for your attempt on fixing this, and you are welcome to contribute to the discussion in #2935!

@soupault soupault closed this Jan 19, 2018
@Borda Borda deleted the fix_doctest_space branch January 19, 2018 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📄 type: Documentation Updates, fixes and additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants