Skip to content

dialects: (builtin) fixed FixedBitwidthType size calculation (#3543) #11173

dialects: (builtin) fixed FixedBitwidthType size calculation (#3543)

dialects: (builtin) fixed FixedBitwidthType size calculation (#3543) #11173

# This workflow check the format all files in the repository
# * It checks that all nonempty files have a newline at the end
# * It checks that there are no whitespaces at the end of lines
# * It checks that Python files are formatted with ruff
name: Code Formatting
on:
pull_request:
push:
branches: [main]
jobs:
code-formatting:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
cache-dependency-path: |
setup.py
requirements.txt
- name: Upgrade pip
run: |
pip install --upgrade pip
- name: Run code formatting checks with pre-commit
uses: pre-commit/[email protected]