1 Star 0 Fork 1

laich/nni

forked from Yulong Wu/nni 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pylintrc 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
liuzhe-lz 提交于 2021-07-23 11:32 . JupyterLab extension (#3954)
# Usage:
# python3 -m pylint --rcfile=PATH_TO_THIS_FILE PACKAGE_NAME
# or
# python3 -m pylint --rcfile=PATH_TO_THIS_FILE SOURCE_FILE.py
[SETTINGS]
max-line-length=140
max-args=8
max-locals=15
max-statements=50
max-attributes=15
const-naming-style=any
# based on pylint 2.1.1
disable=W,C,R,I,no-member
# will be enforced on CI Pipeline
enable= unused-wildcard-import,
bad-whitespace,
unused-import,
bad-continuation,
wrong-import-order,
trailing-whitespace,
logging-not-lazy,
line-too-long,
unused-variable,
wildcard-import,
# useless-super-delegation,
len-as-condition,
logging-format-interpolation,
redefined-builtin,
deprecated-method
# will change to `enable` one day
# disable= missing-docstring
# will not be enforced on CI but highly recommend contributor fixing it
# enable=no-member,
# too-many-branches,
# protected-access
ignore-patterns=test*
# List of members which are set dynamically and missed by pylint inference
generated-members=numpy.*,torch.*,tensorflow.*,pycuda.*,tensorrt.*
ignored-modules=tensorflow,_winapi,msvcrt,tensorrt,pycuda,nni_node
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/laich/nni.git
git@gitee.com:laich/nni.git
laich
nni
nni
master

搜索帮助