Bug 1571671 - Enable RST linting on fluent docs in intl/l10n/docs. r=championshuttler
authorAxel Hecht <axel@pike.org>
Fri, 09 Aug 2019 19:20:59 +0000
changeset 550978 7946f10f55866f1aad166daf603f64b847e8aade
parent 550977 6d39ec9446c3f3b1b11257f07f71c48ef60c63a6
child 550979 aae83fff273f008c68370c60592505ee6aa97f20
push id2165
push userffxbld-merge
push dateMon, 14 Oct 2019 16:30:58 +0000
treeherdermozilla-release@0eae18af659f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschampionshuttler
bugs1571671
milestone70.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 1571671 - Enable RST linting on fluent docs in intl/l10n/docs. r=championshuttler Differential Revision: https://phabricator.services.mozilla.com/D40831
intl/l10n/docs/fluent_migrations.rst
tools/lint/rst.yml
--- a/intl/l10n/docs/fluent_migrations.rst
+++ b/intl/l10n/docs/fluent_migrations.rst
@@ -88,18 +88,16 @@ The new Fluent string is stored in :bash
       .tooltiptext = Find the next occurrence of the phrase
 
 
 This is how the migration recipe looks:
 
 
 .. code-block:: python
 
-  # coding=utf8
-
   # Any copyright is dedicated to the Public Domain.
   # http://creativecommons.org/publicdomain/zero/1.0/
 
   from __future__ import absolute_import
   import fluent.syntax.ast as FTL
   from fluent.migrate.helpers import transforms_from
 
   def migrate(ctx):
--- a/tools/lint/rst.yml
+++ b/tools/lint/rst.yml
@@ -2,16 +2,15 @@
 rst:
     description: RST linter
     include: [.]
     exclude:
         - toolkit/components/telemetry/docs/
         - toolkit/components/extensions/
         - tools/tryselect/docs/
         - browser/docs/
-        - intl/l10n/docs/
     extensions:
         - rst
     support-files:
         - 'tools/lint/rst/**'
     type: external
     payload: rst:lint
     setup: rst:setup