MarcoGorelli commented on code in PR #14662:
URL: https://github.com/apache/arrow/pull/14662#discussion_r1111209107
##########
.pre-commit-config.yaml:
##########
@@ -47,3 +47,8 @@ repos:
- python
exclude: vendored
args: [--config, python/setup.cfg]
+ - repo: https://github.com/MarcoGorelli/cython-lint
+ rev: v0.12.4
+ hooks:
+ - id: cython-lint
+ args: [--max-line-length=120]
Review Comment:
Hi @assignUser - there are some doctests where the result is longer than 88
lines, e.g.
https://github.com/apache/arrow/blob/1ab1f6f159ebf4df1216f28288207a357bbb4017/python/pyarrow/table.pxi#L3843-L3849
` # doctest: +NORMALIZE_WHITESPACE` won't work here (as far as I can tell)
because it's a long string without whitespace,
so inserting a newline will make doctest fail
Is it OK to `doctest: +SKIP` this one?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]