mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
3ab1743159
This pull request adds some tidy checks around YAML files, and specifically `buildbot_steps.yml`. Tidy checks added: * YAML files are checked for well-formedness/parse-ability * Whether a YAML file has duplicate keys * Whether a `buildbot_steps.yml` file contains only mappings to list-of-strings. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [x] These changes fix #13838 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> …ing checking for correct mappings and duplicate YAML keys. Added unit tests to test_tidy.py. Source-Repo: https://github.com/servo/servo Source-Revision: 21ad1c210997daba82ec49e1572c7b0634b6f337
25 lines
341 B
Plaintext
25 lines
341 B
Plaintext
blessings == 1.6
|
|
mach == 0.6.0
|
|
mozdebug == 0.1
|
|
mozinfo == 0.8
|
|
mozlog == 3.3
|
|
setuptools == 18.5
|
|
toml == 0.9.1
|
|
Mako == 1.0.4
|
|
|
|
# For Python linting
|
|
flake8 == 2.4.1
|
|
pep8 == 1.5.7
|
|
pyflakes == 0.8.1
|
|
|
|
# For buildbot checking
|
|
PyYAML == 3.12
|
|
|
|
# For test-webidl
|
|
ply == 3.8
|
|
|
|
# For Cross-platform colored terminal text
|
|
colorama == 0.3.7
|
|
|
|
-e python/tidy
|