#!/usr/bin/env bash

# all configs can be found in the .flake8 file
# add a comment with text "noqa: ERROR_CODE" to exclude one line with the error

set -e
if  [ ! -x "$(command -v flake8)" ] && [ -x "$(command -v brew)" ]; then
  echo "Installing FLAKE8 on mac"
  brew install flake8
fi
flake8 app/
