зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1430316: Lint the mozharness configs; r=jlund
Differential Revision: https://phabricator.services.mozilla.com/D385 --HG-- extra : rebase_source : c4c6e2a4c28c29cc6906d2b757063ef38ac2209a
This commit is contained in:
Родитель
87d13ed36b
Коммит
946b7e38eb
|
@ -0,0 +1,33 @@
|
|||
[flake8]
|
||||
ignore =
|
||||
# From root
|
||||
E121, E123, E126, E129, E133, E226, E241, E242, E704, W503, E402,
|
||||
# The following errors should be fixed eventually
|
||||
# line too long
|
||||
E501,
|
||||
# at least two spaces before inline comment
|
||||
E261,
|
||||
# continuation line under-indented for visual indent
|
||||
E128,
|
||||
# whitespace before ':'
|
||||
E203,
|
||||
# blank line at end of file
|
||||
W391,
|
||||
# multiple statements on one line
|
||||
E702,
|
||||
# closing bracket does not match visual indentation
|
||||
E124,
|
||||
# missing whitespace after ':'
|
||||
E231,
|
||||
# continuation line over-indented for visual indent
|
||||
E127,
|
||||
# too many leading '#' for block comment
|
||||
E266,
|
||||
# comment should start with '# '
|
||||
E262, E265,
|
||||
# continuation line unaligned for hanging indent
|
||||
E131,
|
||||
# continuation line missing indentation or outdented
|
||||
E122,
|
||||
exclude =
|
||||
test/test_malformed.py
|
|
@ -3,8 +3,6 @@
|
|||
# This configuration should be combined with suite definitions and other
|
||||
# mozharness configuration from android_common.py, or similar.
|
||||
|
||||
import os
|
||||
|
||||
config = {
|
||||
"deprecated_sdk_path": True,
|
||||
"robocop_package_name": "org.mozilla.roboexample.test",
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
# This configuration should be combined with suite definitions and other
|
||||
# mozharness configuration from android_common.py, or similar.
|
||||
|
||||
import os
|
||||
|
||||
config = {
|
||||
"deprecated_sdk_path": True,
|
||||
"tooltool_manifest_path": "testing/config/tooltool-manifests/androidx86/releng.manifest",
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import os
|
||||
import platform
|
||||
|
||||
PYTHON = "/usr/bin/env python"
|
||||
VENV_PATH = '%s/build/venv' % os.getcwd()
|
||||
|
|
|
@ -16,7 +16,6 @@ config = {
|
|||
"locales_file": "%s/mobile/locales/l10n-changesets.json" % MOZILLA_DIR,
|
||||
"locales_dir": "mobile/android/locales",
|
||||
"ignore_locales": ["en-US"],
|
||||
"nightly_build": False,
|
||||
'balrog_credentials_file': 'oauth.txt',
|
||||
"tools_repo": "https://hg.mozilla.org/build/tools",
|
||||
"tooltool_config": {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import sys
|
||||
|
||||
config = {
|
||||
"platform": "win32",
|
||||
"stage_product": "firefox",
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import sys
|
||||
|
||||
config = {
|
||||
"platform": "win32",
|
||||
"stage_product": "firefox",
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import sys
|
||||
|
||||
config = {
|
||||
"platform": "win64",
|
||||
"stage_product": "firefox",
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import sys
|
||||
|
||||
config = {
|
||||
"platform": "win64",
|
||||
"stage_product": "firefox",
|
||||
|
|
|
@ -24,6 +24,7 @@ flake8:
|
|||
- testing/marionette/puppeteer
|
||||
- testing/mochitest
|
||||
- testing/mozbase
|
||||
- testing/mozharness/configs
|
||||
- testing/mozharness/mozfile
|
||||
- testing/mozharness/mozharness/mozilla/mar.py
|
||||
- testing/mozharness/mozinfo
|
||||
|
|
Загрузка…
Ссылка в новой задаче