diff --git a/pyproject.toml b/pyproject.toml index 02ea968e..dc6a4cc4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,4 +32,41 @@ ] [project.scripts] - finish_install = "bsk_rl.finish_install:pck_install" \ No newline at end of file + finish_install = "bsk_rl.finish_install:pck_install" + +[tool.ruff] +exclude = [ + ".txt", + ".bzr", + ".direnv", + ".eggs", + ".git", + ".git-rewrite", + ".hg", + ".mypy_cache", + ".nox", + ".pants.d", + ".pytype", + ".ruff_cache", + ".svn", + ".tox", + ".venv", + "__pypackages__", + "__pycache__", + "_build", + "buck-out", + "build", + "docs", + "dist", + "node_modules", + "venv", +] + +select = [ + "D205", # Blank line after summary + "D103", # Public function needs docstring + "D101", # Class needs docstring + "D102", # Method needs docstring + "D417", # Document all arguments + "D419", # Docstring is empty +] \ No newline at end of file diff --git a/src/bsk_rl/envs/general_satellite_tasking/scenario/environment_features.py b/src/bsk_rl/envs/general_satellite_tasking/scenario/environment_features.py index 7f7d60a2..88b652c9 100644 --- a/src/bsk_rl/envs/general_satellite_tasking/scenario/environment_features.py +++ b/src/bsk_rl/envs/general_satellite_tasking/scenario/environment_features.py @@ -158,7 +158,7 @@ class UniformNadirFeature(EnvironmentFeatures): """Defines a nadir target center at the center of the planet.""" def __init__(self, value_per_second: float = 1.0) -> None: - """" + """ Args: value_per_second: Amount of reward per second imaging nadir. """