Files @ a5d38f30094b
Branch filter:

Location: majic-ansible-roles/.yamllint.yml

branko
MAR-132: Workarounds for wsgi_website Python virtual environment in Debian Stretch:

- Manually install setuptools in Python virtual environment on Debian
Stretch, otherwise the pkg-resources==0.0.0 package will mess with
pip freeze etc.
- Add back installation of futures package, even on Python 3 (since it
does not cause any harm).
- A small cleanup of how requirements are treated will be done in
separate ticket.
---

# Extended the default linter configuration.
extends: default

rules:
  # Increase line length limit.
  line-length:
    max: 160

  # Single spaces within braces (better readability).
  braces:
    min-spaces-inside: 1
    max-spaces-inside: 1
    min-spaces-inside-empty: 0
    max-spaces-inside-empty: 0