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 tools/build-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ pushd "${REPO_ROOT}" 2>&1 > /dev/null
echo "Building documentation..."
mkdir -p build
cd docs
make html
uv run --all-groups make html

popd 2>&1 > /dev/null
10 changes: 5 additions & 5 deletions tools/lint-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,31 @@ STATUS=0
set +e

echo "Running flake8..."
flake8 src/python_training_project --format=pylint > build/flake8.txt
uv run --all-groups flake8 src/python_training_project --format=pylint > build/flake8.txt
if [ $? -ne 0 ]; then
STATUS=1
fi

echo "Running mypy..."
mypy src/python_training_project > build/mypy.txt
uv run --all-groups mypy src/python_training_project > build/mypy.txt
if [ $? -ne 0 ]; then
STATUS=1
fi

echo "Running pylint..."
pylint src/python_training_project --msg-template="{path}:{line}: [{msg_id}, {obj}] {msg} ({symbol})" > build/pylint.txt
uv run --all-groups pylint src/python_training_project --msg-template="{path}:{line}: [{msg_id}, {obj}] {msg} ({symbol})" > build/pylint.txt
if [ $? -ne 0 ]; then
STATUS=1
fi

echo "Running ruff check..."
ruff check > build/ruff.txt
uv run --all-groups ruff check > build/ruff.txt
if [ $? -ne 0 ]; then
STATUS=1
fi

echo "Running ruff format..."
ruff format --check
uv run --all-groups ruff format --check
if [ $? -ne 0 ]; then
STATUS=1
fi
Expand Down
2 changes: 1 addition & 1 deletion tools/test-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ pushd "${REPO_ROOT}" 2>&1 > /dev/null
mkdir -p build

echo "Running tests..."
pytest
uv run --all-groups pytest

popd 2>&1 > /dev/null
Loading