mirror of https://github.com/lnbook/lnbook
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
642 B
YAML
17 lines
642 B
YAML
language: minimal
|
|
dist: bionic
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- python3-pip
|
|
- python3-setuptools
|
|
|
|
install:
|
|
- pip3 install --user codespell
|
|
|
|
script:
|
|
- git grep $'\r' -- "*.asciidoc" "*.md" && echo "^ Possible Windows style line ending detected. Please use Unix style line endings (\n)." && false || true
|
|
- git grep ' $' -- "*.asciidoc" "*.md" && echo "^ Trailing space detected at end of line. Please remove." && false || true
|
|
- git grep $'\t' -- "*.asciidoc" "*.md" && echo "^ Use of tabs detected. Please use space for indentation." && false || true
|
|
- codespell --ignore-words-list=que $(git ls-files -- "*.asciidoc" "*.md")
|