[ci] [python-package] enforce 'numpydoc-validation' and 'pydoclint' checks #7478

Open
jameslamb opened 2:57am on October 1, 2026 wants to merge 338 Δ into microsoft/lightgbm main from
ci/pydoclint

Pull request #7478 quality checks

Code files and functions touched by this pull request are analyzed below.

Quality targets

How does this pull request compare to chosen code quality targets? Read more about code quality targets.

Target name Target value This PR
Maximum Diff Delta per PR 500 338
Maximum comment count per PR 10 3
Pull request maximum business days between activity 3 39
Pull request maximum business days open 5 46

Coupled files

Are there any files from this commit that are always committed alongside another file? This often suggests that there exists code coupling to potentially remove. Read more about code coupling

Committed together % Code file
Coupled code file
Commits in PR with both
100 .readthedocs.yaml
.github/workflows/python_package.yml
1
100 .readthedocs.yaml
docs/env.yml
1
100 .readthedocs.yaml
.github/workflows/static_analysis.yml
1
100 .github/workflows/swig.yml
.github/workflows/python_package.yml
1
100 .github/workflows/swig.yml
.github/workflows/r_package.yml
1
100 .readthedocs.yaml
docs/conf.py
1
100 tests/distributed/_test_distributed.py
python-package/lightgbm/basic.py
1
100 .ci/README.md
docker/README.md
1
100 docs/Makefile
docs/conf.py
1
100 docs/Makefile
docker/README.md
1
94 .github/workflows/cpp.yml
.github/workflows/python_package.yml
1
90 .github/workflows/build.yml
.github/workflows/r_package.yml
1
88 .github/workflows/cpp.yml
.github/workflows/r_package.yml
1
85 .readthedocs.yaml
.gitignore
1
85 .ci/lint-r-code.R
docker/README.md
1
80 .github/workflows/swig.yml
.github/workflows/cpp.yml
1
77 .ci/parameter-generator.py
python-package/lightgbm/basic.py
1
77 tests/distributed/_test_distributed.py
tests/python_package_test/test_basic.py
1
77 .ci/parameter-generator.py
python-package/lightgbm/sklearn.py
1
77 .ci/parameter-generator.py
python-package/lightgbm/dask.py
1
77 .ci/parameter-generator.py
python-package/lightgbm/callback.py
1
77 .github/workflows/build.yml
.github/workflows/python_package.yml
1
75 .ci/README.md
docs/conf.py
1
72 .github/workflows/build.yml
.github/workflows/swig.yml
1
70 CONTRIBUTING.md
docker/README.md
1

Biggest files changes in pull request

Path View whole file Lines removed Lines added Final line count
python-package/lightgbm/dask.py 13 72 2523
.ci/parameter-generator.py 6 6 408
tests/python_package_test/test_dask.py 1 6 1989
python-package/lightgbm/sklearn.py 3 18 2757
python-package/lightgbm/basic.py 0 22 5504
python-package/lightgbm/engine.py 0 10 895
.pre-commit-config.yaml 0 12 148
python-package/lightgbm/plotting.py 0 0 849
python-package/lightgbm/callback.py 0 0 515
docs/conf.py 0 0 351
.gitignore 0 0 ---
python-package/pyproject.toml 0 0 ---
.github/workflows/cuda.yml 0 0 ---
docs/Key-Events.md 0 0 ---
include/LightGBM/dataset.h 0 0 ---
.github/workflows/swig.yml 0 0 ---
.github/workflows/r_package.yml 0 0 ---
docs/index.rst 0 0 ---
tests/distributed/utils.py 0 0 ---
src/io/dataset_loader.cpp 0 0 ---
R-package/DESCRIPTION 0 0 ---
.ci/setup.sh 0 0 ---
tests/cpp_tests/test_common.cpp 0 0 ---
docs/Makefile 0 0 ---
.github/workflows/static_analysis.yml 0 0 ---
tests/distributed/_test_distributed.py 0 0 ---
.github/workflows/cpp.yml 0 0 ---
.github/workflows/build.yml 0 0 ---
docs/Development-Guide.rst 0 0 ---
docker/README.md 0 0 ---
CONTRIBUTING.md 0 0 ---
tests/python_package_test/test_sklearn.py 0 0 ---
docs/build-docs.sh 0 0 ---
.github/workflows/ci-images.yml 0 0 ---
.github/workflows/python_package.yml 0 0 ---
tests/python_package_test/test_basic.py 0 0 ---
.ci/README.md 0 0 ---
.readthedocs.yaml 0 0 ---
.ci/test-python-oldest.sh 0 0 ---
tests/distributed/_test_distributed_dataset.py 0 0 ---
R-package/configure.win 0 0 ---
.ci/check-python-dists.sh 0 0 ---
.ci/lint-r-code.R 0 0 ---
docs/env.yml 0 0 ---