Skip to content

Commit

Permalink
use ruff check
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilo59 committed Mar 5, 2024
1 parent 4f67833 commit 68f9e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sphinx_api_docs_source/check_public_api_docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def run_ruff(paths: List[pathlib.Path]) -> List[str]:
_log_with_timestamp("Running ruff")
# --select D option to enable pydocstyle errors in ruff
# https://github.com/charliermarsh/ruff#pydocstyle-d
cmds = ["ruff", "--select", "D"] + [str(p) for p in paths]
cmds = ["ruff", "check", "--select", "D"] + [str(p) for p in paths]
raw_results: subprocess.CompletedProcess = subprocess.run(
cmds,
capture_output=True,
Expand Down

0 comments on commit 68f9e9b

Please sign in to comment.