Skip to content

Implement kshape ad #11

Implement kshape ad

Implement kshape ad #11

name: Print statements
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
check-print-statements:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check for print statements in source code
run: |
print_files=$(grep -rnw --include="*.py" dtaianomaly -e 'print(' || true)
if [ -n "$print_files" ]; then
echo "::error::Print statements found in the following files and lines:"
echo "$print_files"
exit 1
else
echo "No print statements found."
fi