diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 376044ea93..5d06048015 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,7 +54,7 @@ repos: rev: v3.8.0 hooks: - id: pyupgrade - args: [--py38-plus] + args: ["--py38-plus"] name: Upgrade code - repo: https://github.com/codespell-project/codespell @@ -94,7 +94,7 @@ repos: rev: 1.14.0 hooks: - id: blacken-docs - args: [--line-length=120] + args: ["--line-length=120"] exclude: docs/source-app - repo: https://github.com/executablebooks/mdformat diff --git a/docs/source-pytorch/conf.py b/docs/source-pytorch/conf.py index 0bdcc86778..07de6a0f97 100644 --- a/docs/source-pytorch/conf.py +++ b/docs/source-pytorch/conf.py @@ -596,8 +596,6 @@ linkcheck_exclude_documents = [r"^(.*\/)*CHANGELOG.*$"] # ignore the following relative links (false positive errors during linkcheck) linkcheck_ignore = [ - r"^starter/installation.html$", - r"^installation.html$", - r"^../cli/lightning_cli.html$", + r"installation.html$", r"^../common/trainer.html#trainer-flags$", ]