container:
    image: python:3.5-slim

code_check_task:
    pip_cache:
        folder: ~/.cache/pip
        populate_script: pip install pylint yapf
    yapf_script:
        - python3 -m yapf --style '.style.yapf' -e '*/third_party/*' -rpd buildkit
        - python3 -m yapf --style '.style.yapf' -rpd devutils
    pylint_script:
        - ./devutils/pylint_buildkit.py --hide-fixme
        - ./devutils/pylint_devutils.py --hide-fixme devutils

validate_config_task:
    validate_config_script: ./devutils/validate_config.py

validate_patches_task:
    pip_cache:
        folder: ~/.cache/pip
        populate_script: pip install requests
    validate_patches_script: ./devutils/validate_patches.py -r

container:
    image: python:3.5-slim

code_check_task:
    pip_cache:
        folder: ~/.cache/pip
        fingerprint_script: echo 'py3: pylint yapf'
        populate_script: python3 -m pip install pylint yapf
    yapf_script:
        - python3 -m yapf --style '.style.yapf' -e '*/third_party/*' -rpd buildkit
        - python3 -m yapf --style '.style.yapf' -rpd devutils
    pylint_script:
        - ./devutils/pylint_buildkit.py --hide-fixme
        - ./devutils/pylint_devutils.py --hide-fixme devutils

validate_config_task:
    validate_config_script: ./devutils/validate_config.py

validate_patches_task:
    pip_cache:
        folder: ~/.cache/pip
        fingerprint_script: echo 'py3: requests'
        populate_script: python3 -m pip install requests
    validate_patches_script: ./devutils/validate_patches.py -r

Add Cirrus CI pip cache fingerprints
Add Cirrus CI pip cache fingerprints

Without it, the wrong cache can be used.
