Bug 1652503: [mozlint] Install rstcheck for tests; r=ahal
authorTom Prince <mozilla@hocat.ca>
Thu, 23 Jul 2020 14:55:57 +0000
changeset 541787 6259301066022496a1072f1ac1b9a944a15511ae
parent 541786 2bf32877d9fc93ea791de94fc38f6ca454d94727
child 541788 5acd57b4187dd9dd3a2762f9f6f611b0d32267ed
push id37633
push userccoroiu@mozilla.com
push dateFri, 24 Jul 2020 09:32:06 +0000
treeherdermozilla-central@141543043270 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1652503
milestone80.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1652503: [mozlint] Install rstcheck for tests; r=ahal Differential Revision: https://phabricator.services.mozilla.com/D84646
tools/lint/rst/requirements.in
tools/lint/rst/requirements.txt
tools/lint/test/python.ini
new file mode 100644
--- /dev/null
+++ b/tools/lint/rst/requirements.in
@@ -0,0 +1,2 @@
+rstcheck==3.3.1
+Pygments==2.6.1
--- a/tools/lint/rst/requirements.txt
+++ b/tools/lint/rst/requirements.txt
@@ -1,9 +1,18 @@
+#
+# This file is autogenerated by pip-compile
+# To update, run:
+#
+#    pip-compile --generate-hashes --output-file=tools/lint/rst/requirements.txt tools/lint/rst/requirements.in
+#
 docutils==0.14 \
     --hash=sha256:02aec4bd92ab067f6ff27a38a38a41173bf01bed8f89157768c1573f53e474a6 \
     --hash=sha256:51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274 \
-    --hash=sha256:7a4bd47eaf6596e1295ecb11361139febe29b084a87bf005bf899f9a42edc3c6
+    --hash=sha256:7a4bd47eaf6596e1295ecb11361139febe29b084a87bf005bf899f9a42edc3c6 \
+    # via rstcheck
+pygments==2.6.1 \
+    --hash=sha256:647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44 \
+    --hash=sha256:ff7a40b4860b727ab48fad6360eb351cc1b33cbf9b15a0f689ca5353e9463324 \
+    # via -r tools/lint/rst/requirements.in
 rstcheck==3.3.1 \
-    --hash=sha256:92c4f79256a54270e0402ba16a2f92d0b3c15c8f4410cb9c57127067c215741f
-Pygments==2.4.2 \
-    --hash=sha256:71e430bc85c88a430f000ac1d9b331d2407f681d6f6aec95e8bcfbc3df5b0127 \
-    --hash=sha256:881c4c157e45f30af185c1ffe8d549d48ac9127433f2c380c24b84572ad66297
+    --hash=sha256:92c4f79256a54270e0402ba16a2f92d0b3c15c8f4410cb9c57127067c215741f \
+    # via -r tools/lint/rst/requirements.in
--- a/tools/lint/test/python.ini
+++ b/tools/lint/test/python.ini
@@ -11,16 +11,18 @@ requirements = tools/lint/python/flake8_
 skip-if = os == "mac"  # pip unable to find 'flake8==3.5.0'
 [test_file_perm.py]
 skip-if = os == "win"
 [test_file_whitespace.py]
 [test_file_license.py]
 [test_lintpref.py]
 [test_shellcheck.py]
 [test_rst.py]
+requirements = tools/lint/rst/requirements.txt
+skip-if = os == "mac"  # pip unable to install
 [test_codespell.py]
 skip-if = os == "win" || os == "mac"  # codespell installed on Linux
 [test_yaml.py]
 [test_clippy.py]
 skip-if = os == "win" || os == "mac"  # only installed on Linux
 [test_rustfmt.py]
 skip-if = os == "win" || os == "mac"  # only installed on Linux
 [test_clang_format.py]