Skip to content

fix(resources): do not render zero-ed extra resources (#763) #115

fix(resources): do not render zero-ed extra resources (#763)

fix(resources): do not render zero-ed extra resources (#763) #115

Workflow file for this run

name: flake8
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up Python 3.9
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Setup flake8 config
run: |
echo '[flake8]' > setup.cfg
echo 'max-line-length = 120' >> setup.cfg
- name: Analysing the code with flake8
run: |
find -name upgrade_strategy -exec sh -c "flake8 {} && exit 0 || echo $? > .exit_status" \;
test -f .exit_status && rm .exit_status && exit 1; exit 0;