Skip to content

Commit 2e972c2

Browse files
authoredJun 17, 2020
RLLIB and pylintrc (ray-project#8995)
1 parent 265ddfc commit 2e972c2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎pylintrc

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
# pygtk.require().
88
#init-hook=
99

10-
# Add files or directories to the blacklist. They should be base names, not
10+
# Add files or directories to the ignore list. They should be base names, not
1111
# paths.
1212
ignore=CVS
1313

14-
# Add files or directories matching the regex patterns to the blacklist. The
14+
# Add files or directories matching the regex patterns to the ignore list. The
1515
# regex matches against base names, not paths.
1616
ignore-patterns=
1717

@@ -32,7 +32,7 @@ unsafe-load-any-extension=no
3232
# A comma-separated list of package or module names from where C extensions may
3333
# be loaded. Extensions are loading into the active Python interpreter and may
3434
# run arbitrary code
35-
extension-pkg-whitelist=
35+
extension-pkg-allow-list=
3636

3737
# Allow optimization of some AST trees. This will activate a peephole AST
3838
# optimizer, which will apply various small optimizations. For instance, it can

‎rllib/agents/trainer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@
343343
"policies": {},
344344
# Function mapping agent ids to policy ids.
345345
"policy_mapping_fn": None,
346-
# Optional whitelist of policies to train, or None for all policies.
346+
# Optional list of policies to train, or None for all policies.
347347
"policies_to_train": None,
348348
# Optional function that can be used to enhance the local agent
349349
# observations to include more state.

‎rllib/evaluation/rollout_worker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def __init__(self,
164164
policy ids in multi-agent mode. This function will be called
165165
each time a new agent appears in an episode, to bind that agent
166166
to a policy for the duration of the episode.
167-
policies_to_train (list): Optional whitelist of policies to train,
167+
policies_to_train (list): Optional list of policies to train,
168168
or None for all policies.
169169
tf_session_creator (func): A function that returns a TF session.
170170
This is optional and only useful with TFPolicy.

0 commit comments

Comments
 (0)