bypass nwc root error. fix a couple codeql complaints. (#423) #1042
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: Lint | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Python Setup | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Create Environment | |
shell: bash | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -e '.[lint]' | |
- name: Lint | |
shell: bash | |
run: black qcengine --check | |