Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ repos:
- id: setup-extra-packages
name: Checks if all the libraries in setup.py are listed in extra-packages-ref.rst file
language: python
files: ^setup.py$|^docs/extra-packages-ref.rst$
files: ^setup.py$|^docs/apache-airflow/extra-packages-ref.rst$
pass_filenames: false
entry: ./scripts/ci/pre_commit/pre_commit_check_setup_extra_packages_ref.py
additional_dependencies: ['rich==9.2.0']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def get_extras_from_docs() -> List[str]:
"""
Returns an array of install packages names from installation.rst.
"""
docs_content = get_file_content('docs', DOCS_FILE)
docs_content = get_file_content('docs', 'apache-airflow', DOCS_FILE)

extras_section_regex = re.compile(
rf'^\|[^|]+\|.*pip install .apache-airflow\[({PY_IDENTIFIER})\].', re.MULTILINE
Expand Down