Merge current AutoQASM code from Braket SDK repo #5
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Check code format | |
on: | |
pull_request: | |
branches: | |
- main | |
- feature/** | |
permissions: | |
contents: read | |
jobs: | |
check-code-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Set up Python | |
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
pip install tox | |
- name: Run code format checks | |
run: | | |
tox -e linters_check |