Update copyright checker for pylint-3 #422
Workflow file for this run
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: Pylint | |
on: [push, pull_request] | |
jobs: | |
pylint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: '3.12' | |
architecture: 'x64' | |
- name: Install Pylint | |
run: | | |
python -m pip install --upgrade pip | |
pip install pylint | |
- name: Pylint check | |
# TODO: #210 - convert to hard check when lint is picked up | |
run: | | |
dev_tools/pylint || ( | |
echo "pylint check failed. The error is temporarily ignored." | |
echo "See https://github.com/quantumlib/unitary/issues/210" | |
) |