Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unpin pydocstyle#18200

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
Closed

Conversation

timhoffm
Copy link
Member

PR Summary

Undo#14710.

The incompatibility has been resolved in flake8-docstring v1.3.1 (https://pypi.org/project/flake8-docstrings/).

Let's see if CI agrees.

Copy link
Member

@QuLogicQuLogic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

No, actually, this crashed, but didn't exit with an error?

2020-08-08T00:32:34.0726903Z multiprocessing.pool.RemoteTraceback: 2020-08-08T00:32:34.0727442Z """2020-08-08T00:32:34.0727740Z Traceback (most recent call last):2020-08-08T00:32:34.0729039Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/multiprocessing/pool.py", line 125, in worker2020-08-08T00:32:34.0729560Z     result = (True, func(*args, **kwds))2020-08-08T00:32:34.0730104Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar2020-08-08T00:32:34.0730427Z     return list(map(*args))2020-08-08T00:32:34.0731447Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/flake8/checker.py", line 655, in _run_checks2020-08-08T00:32:34.0731775Z     return checker.run_checks()2020-08-08T00:32:34.0732673Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/flake8/checker.py", line 589, in run_checks2020-08-08T00:32:34.0733040Z     self.run_ast_checks()2020-08-08T00:32:34.0733646Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/flake8/checker.py", line 496, in run_ast_checks2020-08-08T00:32:34.0733978Z     for (line_number, offset, text, _) in runner:2020-08-08T00:32:34.0734557Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/flake8_docstrings.py", line 131, in run2020-08-08T00:32:34.0734904Z     for error in self._check_source():2020-08-08T00:32:34.0735499Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/flake8_docstrings.py", line 112, in _check_source2020-08-08T00:32:34.0735879Z     for err in self.checker.check_source(2020-08-08T00:32:34.0736492Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pydocstyle/checker.py", line 123, in check_source2020-08-08T00:32:34.0736835Z     for error in errors:2020-08-08T00:32:34.0737458Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pydocstyle/checker.py", line 915, in check_docstring_sections2020-08-08T00:32:34.0737823Z     found_numpy = yield from self._check_numpy_sections(lines, definition, docstring)2020-08-08T00:32:34.0738607Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pydocstyle/checker.py", line 879, in _check_numpy_sections2020-08-08T00:32:34.0738968Z     yield from self._check_numpy_section(docstring, definition, ctx)2020-08-08T00:32:34.0739604Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pydocstyle/checker.py", line 693, in _check_numpy_section2020-08-08T00:32:34.0739947Z     yield from cls._check_parameters_section(docstring, definition, context)2020-08-08T00:32:34.0740617Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pydocstyle/checker.py", line 731, in _check_parameters_section2020-08-08T00:32:34.0740968Z     yield from ConventionChecker._check_missing_args(docstring_args, definition)2020-08-08T00:32:34.0741579Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pydocstyle/checker.py", line 762, in _check_missing_args2020-08-08T00:32:34.0741938Z     function_args = get_function_args(definition.source)2020-08-08T00:32:34.0742548Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pydocstyle/checker.py", line 1002, in get_function_args2020-08-08T00:32:34.0742888Z     function_arg_node = ast.parse(textwrap.dedent(function_string)).body[0].args2020-08-08T00:32:34.0743403Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/ast.py", line 47, in parse2020-08-08T00:32:34.0743724Z     return compile(source, filename, mode, flags,2020-08-08T00:32:34.0744052Z   File "<unknown>", line 12020-08-08T00:32:34.0744329Z     def quiver(self, *args,2020-08-08T00:32:34.0744620Z     ^2020-08-08T00:32:34.0744884Z IndentationError: unexpected indent2020-08-08T00:32:34.0745160Z """2020-08-08T00:32:34.0745330Z 2020-08-08T00:32:34.0745612Z The above exception was the direct cause of the following exception:2020-08-08T00:32:34.0745843Z 2020-08-08T00:32:34.0746106Z Traceback (most recent call last):2020-08-08T00:32:34.0746460Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/bin/flake8", line 8, in <module>2020-08-08T00:32:34.0746784Z     sys.exit(main())2020-08-08T00:32:34.0747385Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/flake8/main/cli.py", line 22, in main2020-08-08T00:32:34.0747712Z     app.run(argv)2020-08-08T00:32:34.0748301Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/flake8/main/application.py", line 360, in run2020-08-08T00:32:34.0748632Z     self._run(argv)2020-08-08T00:32:34.0749209Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/flake8/main/application.py", line 348, in _run2020-08-08T00:32:34.0749535Z     self.run_checks()2020-08-08T00:32:34.0750279Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/flake8/main/application.py", line 262, in run_checks2020-08-08T00:32:34.0750670Z     self.file_checker_manager.run()2020-08-08T00:32:34.0751244Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/flake8/checker.py", line 323, in run2020-08-08T00:32:34.0751565Z     self.run_parallel()2020-08-08T00:32:34.0752145Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/flake8/checker.py", line 289, in run_parallel2020-08-08T00:32:34.0752469Z     for ret in pool_map:2020-08-08T00:32:34.0752937Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/multiprocessing/pool.py", line 448, in <genexpr>2020-08-08T00:32:34.0754871Z     return (item for chunk in result for item in chunk)2020-08-08T00:32:34.0755114Z   File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/multiprocessing/pool.py", line 868, in next2020-08-08T00:32:34.0755268Z     raise value2020-08-08T00:32:34.0755464Z   File "<unknown>", line 12020-08-08T00:32:34.0755629Z     def quiver(self, *args,2020-08-08T00:32:34.0755831Z     ^2020-08-08T00:32:34.0755995Z IndentationError: unexpected indent

@QuLogic
Copy link
Member

Ah, I know, we need to set bash to pipefail, so it errors if any part of the pipe fails.

Copy link
Member

@dstansbydstansby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This now needs a rebase to see if the tests pass.

@timhoffm
Copy link
MemberAuthor

rebased.

@timhoffm
Copy link
MemberAuthor

Pydocstyle seems to be more picky and partly even incorrect in the reported messages.

Needs more investigation.

@timhoffmtimhoffm marked this pull request as draftAugust 26, 2020 21:16
@timhoffmtimhoffmforce-pushed theunpin-pydocstyle branch 2 times, most recently from7952aab to31b2d19CompareAugust 26, 2020 21:20
@timhoffm
Copy link
MemberAuthor

Superseded by#18780 .

@timhoffmtimhoffm deleted the unpin-pydocstyle branchOctober 21, 2020 19:42
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic requested changes

@dstansbydstansbydstansby requested changes

@dopplershiftdopplershiftdopplershift approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.4.0
Development

Successfully merging this pull request may close these issues.

4 participants
@timhoffm@QuLogic@dopplershift@dstansby

[8]ページ先頭

©2009-2025 Movatter.jp