From ba917a9c485d84a61c1f7463e9653acde3fefddd Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Sat, 8 Mar 2025 23:05:10 -0800 Subject: [PATCH] fix: make sure readthedocs is triggered if pyproject.toml is updated --- .github/workflows/update-readthedocs.yml | 2 ++ .pre-commit-config.yaml | 10 ---------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/update-readthedocs.yml b/.github/workflows/update-readthedocs.yml index 23bafa1e5..e8f14dbba 100644 --- a/.github/workflows/update-readthedocs.yml +++ b/.github/workflows/update-readthedocs.yml @@ -12,12 +12,14 @@ on: - main paths: - 'docs/**' + - 'pyproject.toml' - '.github/workflows/update-readthedocs.yml' pull_request: branches: - main paths: - 'docs/**' + - 'pyproject.toml' - '.github/workflows/update-readthedocs.yml' jobs: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ff51a4795..926ae21cc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,10 +15,6 @@ repos: - id: end-of-file-fixer exclude: '^(.*\.svg)$' -# Temporarily disabling this -# - id: no-commit-to-branch -# args: ['--branch=main'] - - repo: https://github.com/Lucas-C/pre-commit-hooks rev: v1.5.4 hooks: @@ -68,12 +64,6 @@ repos: - pydantic pass_filenames: false -# - repo: https://github.com/jsh9/pydoclint -# rev: d88180a8632bb1602a4d81344085cf320f288c5a -# hooks: -# - id: pydoclint -# args: [--config=pyproject.toml] - # - repo: https://github.com/tcort/markdown-link-check # rev: v3.11.2 # hooks: