nni/pylintrc

60 строки
1.4 KiB
INI
Исходник Обычный вид История

2018-08-20 11:13:47 +03:00
# Usage:
# python3 -m pylint --rcfile=PATH_TO_THIS_FILE PACKAGE_NAME
2018-08-20 11:13:47 +03:00
# or
# python3 -m pylint --rcfile=PATH_TO_THIS_FILE SOURCE_FILE.py
2018-08-20 11:13:47 +03:00
[SETTINGS]
max-line-length=140
max-args=8
2018-08-20 11:13:47 +03:00
max-locals=15
max-statements=50
max-attributes=15
2018-08-20 11:13:47 +03:00
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,
2019-10-31 13:53:16 +03:00
# 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
2019-10-31 13:53:16 +03:00
ignore-patterns=test*
Dev networkmorphism (#413) * Quick fix nnictl config logic (#289) * fix nnictl bug * fix install.sh * add desc for Dockerfile.build.base * update document for Dockerfile * update * refactor port detect * update * refactor NNICTLDOC.md * add document for pai and nnictl * add default value for port * add exception handling in trial_keeper.py * fix port bug * fix resume * fix nnictl resume and fix nnictl stop * fix document * update * refactor nnictl * update * update doc * update * update nnictl * fix comment * revert dockerfile * update * update * update * fix nnictl error hit * fix comments * fix bash-completion * fix paramiko install * quick fix resume logic * update * quick fix nnictl * PR merge to 0.3 (#297) * refactor doc * update with Mao's suggestions * Set theme jekyll-theme-dinky * update doc * fix links * fix links * fix links * merge * fix links and doc errors * merge * merge * merge * merge * Update README.md (#288) added License badge * merge * updated the "Contribute" part (merged Gems' wiki in, updated ReadMe) * fix link * fix doc mistakes and broken links. (#271) * refactor doc * update with Mao's suggestions * Set theme jekyll-theme-dinky * updated the "Contribute" part (merged Gems' wiki in, updated ReadMe) * fix link * Update README.md * Fix misspelling in examples/trials/ga_squad/README.md * revise the installation cmd to v0.2 * revise to install v0.2 * remove enas readme (#292) * Fix datastore performance issue (#301) * Fix nnictl in v0.3 (#299) Fix old version of config file fix sklearn requirements Fix resume log logic * add basic tuner and trial for network morphism * Complete basic receive_trial_result() and generate_parameters(). Use onnx as the intermediate representation ( But it cannot convert to pytorch model ) * add tensorflow cifar10 for network morphism * add unit test for tuner and its function * use temporary torch_model * fix request bug and program can communicate nni * add basic pickle support for graph and train successful in pytorch * Update unittest for networkmorphism_tuner * Network Morphism add multi-gpu trial training support * Format code with black tool * change intermediate representation from pickle file to json we defined * successfully pass the unittest for test_graph_json_transform * add README for network morphism and it works fine in both Pytorch and Keras. * separate the original Readme.md in network-morphism into two parts (tuner and trial) * change the openpai image path * beautify the file structure of network_morphism and add a fashion_mnist keras example * pretty the source and add some docstring for funtion in order to pass the pylint. * remove unused module import and add some docstring * add some details for the application scenario Network Morphism Tuner * follow the advice and modify the doc file * add the config file for each task in the examples trial of network morphism * change default python interpreter from python to python3
2018-12-13 09:40:16 +03:00
# List of members which are set dynamically and missed by pylint inference
generated-members=numpy.*,torch.*,tensorflow.*,pycuda.*,tensorrt.*
2020-05-19 14:33:13 +03:00
2021-07-23 06:32:12 +03:00
ignored-modules=tensorflow,_winapi,msvcrt,tensorrt,pycuda,nni_node
ignore-paths=nni/retiarii,
nni/nas/space,
nni/nas/nn,
nni/nas/hub,
nni/nas/execution,
nni/nas/oneshot,
nni/nas/strategy,
nni/nas/experiment,