Fixed API compatibility on maxpool2d (with indices, empty args) functions #316
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Format Code | |
on: [push, pull_request] | |
jobs: | |
python-black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: psf/black@stable | |
with: | |
options: "-t py311 --check --diff --color" | |
src: "./pi/mlir" | |
- uses: psf/black@stable | |
with: | |
options: "-t py311 --check --diff --color" | |
src: "./tests/unit" | |
cpp-clang-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run clang-format style check for C/C++/Protobuf programs. | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: '16' | |
check-path: 'cpp_ext' | |
exclude-regex: '(inc|impls|pybinds)' |