Skip to content

bug: fix reshape error for tensor & add tool_box.py #9

bug: fix reshape error for tensor & add tool_box.py

bug: fix reshape error for tensor & add tool_box.py #9

Workflow file for this run

name: Pylint
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analyze the code with Pylint
run: |
# Ensure there are Python files to lint
if git ls-files '*.py'; then
pylint $(git ls-files '*.py')
else
echo "No Python files found to lint."
fi