# Run within root directory

if [[ $1 = "check" ]]; then
    isort . --check-only --diff     \
      && black . --check            \
      && pylint src/
else
    isort .
    black .
    pylint src/
fi