4b6718938c
Found via `codespell -L caf,etcp,alle,aks`
15 lines
401 B
Bash
Executable File
15 lines
401 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
PROJECT_DIR="$(dirname $(readlink -f ${BASH_SOURCE[0]}))/.."
|
|
|
|
MD_FILES=$(find ${PROJECT_DIR} -name "*.md" -not -path "${PROJECT_DIR}/tests/*")
|
|
|
|
for file in ${MD_FILES[@]}; do
|
|
python ${PROJECT_DIR}/tests/syntax_lint.py ${file} > /dev/null
|
|
done
|
|
|
|
echo "- Syntax lint tests on MD files passed successfully"
|
|
|
|
flake8 --max-line-length=100 . && echo "- PEP8 Passed" |