1 Star 0 Fork 0

Goo丶/cudf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.cfg 2.25 KB
一键复制 编辑 原始数据 按行查看 历史
# Copyright (c) 2017-2022, NVIDIA CORPORATION.
[flake8]
filename = *.py, *.pyx, *.pxd
exclude = __init__.py, *.egg, build, docs, .git
ignore =
# line break before binary operator
W503,
# whitespace before :
E203
per-file-ignores =
# Rules ignored only in Cython:
# E211: whitespace before '(' (used in multi-line imports)
# E225: Missing whitespace around operators (breaks cython casting syntax like <int>)
# E226: Missing whitespace around arithmetic operators (breaks cython pointer syntax like int*)
# E227: Missing whitespace around bitwise or shift operator (Can also break casting syntax)
# E402: invalid syntax (works for Python, not Cython)
# E999: invalid syntax (works for Python, not Cython)
# W504: line break after binary operator (breaks lines that end with a pointer)
*.pyx: E211, E225, E226, E227, E402, E999, W504
*.pxd: E211, E225, E226, E227, E402, E999, W504
[pydocstyle]
# Due to https://github.com/PyCQA/pydocstyle/issues/363, we must exclude rather
# than include using match-dir. Note that as discussed in
# https://stackoverflow.com/questions/65478393/how-to-filter-directories-using-the-match-dir-flag-for-pydocstyle,
# unlike the match option above this match-dir will have no effect when
# pydocstyle is invoked from pre-commit. Therefore this exclusion list must
# also be maintained in the pre-commit config file.
match-dir = ^(?!(ci|cpp|conda|docs|java|notebooks)).*$
# Allow missing docstrings for docutils
ignore-decorators = .*(docutils|doc_apply|copy_docstring).*
select =
D201, D204, D206, D207, D208, D209, D210, D211, D214, D215, D300, D301, D302, D403, D405, D406, D407, D408, D409, D410, D411, D412, D414, D418
# Would like to enable the following rules in the future:
# D200, D202, D205, D400
[mypy]
ignore_missing_imports = True
# If we don't specify this, then mypy will check excluded files if
# they are imported by a checked file.
follow_imports = skip
exclude = (?x)(
(cudf|custreamz|cudf_kafka|dask_cudf)/_version\.py
| cudf/_lib/
| cudf/cudf/benchmarks/
| cudf/cudf/tests/
| cudf/cudf/utils/metadata/orc_column_statistics_pb2.py
| custreamz/custreamz/tests/
| dask_cudf/dask_cudf/tests/
# This close paren cannot be in column zero otherwise the config parser barfs
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/gitgoo/cudf.git
git@gitee.com:gitgoo/cudf.git
gitgoo
cudf
cudf
branch-22.12

搜索帮助