Add pydocstyle to the ruff rules (#52136)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Harry Mellor <hej.mellor@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
804e5377aa
commit
8c1557a79c
@@ -16,7 +16,6 @@ def is_ray_initialized():
|
||||
|
||||
def is_in_ray_actor():
|
||||
"""Check if we are in a Ray actor."""
|
||||
|
||||
try:
|
||||
import ray
|
||||
|
||||
|
||||
@@ -76,6 +76,7 @@ def get_env_vars_to_copy(
|
||||
additional_vars: Extra individual env var names to copy. Useful
|
||||
for caller-specific vars (e.g. platform env vars).
|
||||
destination: Label used in log messages only.
|
||||
|
||||
"""
|
||||
exclude = (exclude_vars or set()) | RAY_NON_CARRY_OVER_ENV_VARS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user