Merge pull request #133 from zeroasiccorp/add_device_codes #308
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
# Copyright (c) 2024 Zero ASIC Corporation | |
# This code is licensed under Apache License 2.0 (see LICENSE for details) | |
# modified from https://github.com/siliconcompiler/siliconcompiler/blob/main/.github/workflows/lint.yml | |
name: Lint | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
lint_python: | |
name: Lint Python Code | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Install Requirements | |
run: | | |
python3 -m pip install --upgrade pip | |
pip install .[test] | |
- name: Lint with Flake8 | |
run: flake8 --statistics . |