Adapt to bwrap options #28
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, pull_request] | |
jobs: | |
pylint: | |
runs-on: ubuntu-latest | |
name: PyLint | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v3 | |
- name: Setup Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
- name: Install dependencies | |
run: sudo apt-get install libcairo2-dev gcc python3-dev libgirepository1.0-dev libostree-dev fuse-overlayfs libcap-dev autoconf && python -m pip install -r requirements.txt && python -m pip install pylint | |
- name: pylint | |
run: pylint -d C0413,C0103,R0912,R0915,W0603 src/maps | |
flake8-lint: | |
runs-on: ubuntu-latest | |
name: Flake8 | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v3 | |
- name: Set up Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
- name: flake8 Lint | |
uses: py-actions/flake8@v2 | |
with: | |
path: src | |
ignore: "E402" | |
max-line-length: "100" |