Skip to content
Snippets Groups Projects
Commit 3961d4dd authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Automatically generate nitpick exceptions

parent 6f69f326
Branches
Tags
1 merge request!1Move to the new CI format
...@@ -85,3 +85,4 @@ doc/extra-intersphinx.txt ...@@ -85,3 +85,4 @@ doc/extra-intersphinx.txt
doc/gridtk/ doc/gridtk/
eggs/ eggs/
sphinx/ sphinx/
doc/nitpick-exceptions.txt
...@@ -23,3 +23,14 @@ sed -e '$s/$/\n/' \ ...@@ -23,3 +23,14 @@ sed -e '$s/$/\n/' \
doc/*/requirements.txt \ doc/*/requirements.txt \
doc/*/test-requirements.txt \ doc/*/test-requirements.txt \
| sort -u > doc/extra-intersphinx.txt | sort -u > doc/extra-intersphinx.txt
# Create nitpick-exceptions.txt
# Add newlines in the end of files
# remove comments
# remove trailing whitespace
sed -e '$s/$/\n/' \
-e 's:#.*$::g' \
-e 's/[[:space:]]*$//' \
-s \
doc/*/doc/nitpick-exceptions.txt \
| sort -u > doc/nitpick-exceptions.txt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment