This is an automated email from the ASF dual-hosted git repository.
kevinjqliu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/main by this push:
new 3ccb296242 faster make lint (#14492)
3ccb296242 is described below
commit 3ccb29624283bbb70cb7c70abf6855a61c29d232
Author: Kevin Liu <[email protected]>
AuthorDate: Mon Nov 3 12:29:41 2025 -0800
faster make lint (#14492)
---
site/dev/common.sh | 4 ++--
site/dev/lint.sh | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/site/dev/common.sh b/site/dev/common.sh
index ac1bc22b65..2788ce1e86 100755
--- a/site/dev/common.sh
+++ b/site/dev/common.sh
@@ -195,7 +195,7 @@ pull_versioned_docs () {
check_markdown_files () {
echo " --> check markdown file styles"
- if ! "${VENV_DIR}/bin/python3" -m pymarkdown --config markdownlint.yml scan
docs/docs/nightly/docs/*.md docs/*.md README.md
+ if ! "${VENV_DIR}/bin/python3" -m pymarkdown --config markdownlint.yml scan
../docs/docs/*.md docs/*.md README.md
then
echo "Markdown style issues found. Please run 'make lint-fix' to fix them."
exit 1
@@ -204,7 +204,7 @@ check_markdown_files () {
fix_markdown_files () {
echo " --> fix markdown file styles"
- "${VENV_DIR}/bin/python3" -m pymarkdown --config markdownlint.yml fix
docs/docs/nightly/docs/*.md docs/*.md README.md
+ "${VENV_DIR}/bin/python3" -m pymarkdown --config markdownlint.yml fix
../docs/docs/*.md docs/*.md README.md
}
# Cleans up artifacts and temporary files generated during documentation
management.
diff --git a/site/dev/lint.sh b/site/dev/lint.sh
index 0697945787..97e576f64a 100755
--- a/site/dev/lint.sh
+++ b/site/dev/lint.sh
@@ -20,7 +20,9 @@ source dev/common.sh
set -e
-./dev/setup_env.sh
+create_venv
+
+install_deps
if [[ "$1" == "--fix" ]]; then
fix_markdown_files