浏览代码
Enable pylint and fix a few things (#2767)
Enable pylint and fix a few things (#2767)
* enable pylint, disable some messages and fix a few * SAC memories in init/develop-newnormalization
GitHub
5 年前
当前提交
c6c01a03
共有 15 个文件被更改,包括 106 次插入 和 63 次删除
-
14.pre-commit-config.yaml
-
2gym-unity/gym_unity/envs/__init__.py
-
1ml-agents-envs/mlagents/envs/brain.py
-
37ml-agents-envs/mlagents/envs/environment.py
-
1ml-agents-envs/mlagents/envs/mock_communicator.py
-
1ml-agents-envs/mlagents/envs/rpc_communicator.py
-
13ml-agents-envs/mlagents/envs/timers.py
-
1ml-agents/mlagents/trainers/barracuda.py
-
18ml-agents/mlagents/trainers/components/reward_signals/extrinsic/signal.py
-
12ml-agents/mlagents/trainers/learn.py
-
11ml-agents/mlagents/trainers/ppo/multi_gpu_policy.py
-
6ml-agents/mlagents/trainers/sac/models.py
-
1ml-agents/mlagents/trainers/tensorflow_to_barracuda.py
-
2ml-agents/mlagents/trainers/tf_policy.py
-
49.pylintrc
|
|||
[MASTER] |
|||
# Add files or directories to the blacklist. They should be base names, not |
|||
# paths. |
|||
ignore=CVS |
|||
|
|||
[MESSAGES CONTROL] |
|||
#enable= |
|||
|
|||
disable = |
|||
# C0301: Line too long |
|||
# C0330: Wrong hanging indentation before block |
|||
# disabled because black handles this |
|||
C0301,C0330, |
|||
|
|||
# C0115: Missing class docstring |
|||
# C0114: Missing module docstring |
|||
C0115,C0114, |
|||
|
|||
# All convention and refactor for now |
|||
C,R, |
|||
|
|||
# W1201: Specify string format arguments as logging function parameters |
|||
# W1202: Use % formatting in logging functions and pass the % parameters as arguments |
|||
W1201,W1202, |
|||
|
|||
# W0612: Unused variable |
|||
# W0613: Unused argument |
|||
W0612, W0613, |
|||
|
|||
# W0107: Unnecessary pass statement |
|||
W0107, |
|||
|
|||
# W0511 TODO |
|||
W0511, |
|||
|
|||
# W0703: Catching too general exception Exception |
|||
W0703, |
|||
|
|||
# W0201: Attribute '...' defined outside __init__ |
|||
W0201, |
|||
|
|||
# We should fix these up ASAP |
|||
# W0221: Parameters differ from overridden |
|||
W0221, |
|||
|
|||
# E0401: Unable to import... |
|||
# E0611: No name '...' in module '...' |
|||
# need to look into these, probably namespace packages |
|||
E0401, E0611 |
撰写
预览
正在加载...
取消
保存
Reference in new issue