Commit Graph

25 Commits

Author SHA1 Message Date
Francesco Pischedda
f45ed99748 Bug 1280573 - Add testing/mozbase to flake8 linter: r=ahal
added testing/mozbase to tools/lint/flake8.lint
fixed a first batch of PEP8 errors/warnings

at first the commad autopep8 -i --max-line-length 99 -r -j 8 .
has been used to fix simpler problems, run from testing/mozbase

some of the issues can not easily fixed :
- undefined 'names' in code for example isLinux - isLinux and isBsd "fixed" with # noqa
- undefined 'message' resolved with return fmt.format(...
- undefined 'structured' resolved replacing those with mozlog
- long comments - some remaining - addressed with # noqa
- package level import everything - addressed with # flake8: noqa

restored testing/mozbase/mozdevice/mozdevice/Zeroconf.py
fixed issues reported on mozreview
fixed ')' in testing/mozbase/mozprocess/mozprocess/qijo.py imports
finally fixed multiline string at testing/mozbase/manifestparser/tests/test_manifestparser.py:114
^^^ and again, but now with ./mach python-test --path-only testing/mozbase/manifestparser/tests/test_manifestparser.py passing
fixed testing/mozbase/manifestparser/tests/test_convert_directory.py assert

fixed this error:
10:15:21     INFO -      return lambda line: stack_fixer_module.fixSymbols(line)
10:15:21     INFO -  TypeError: fixSymbols() takes exactly 2 arguments (1 given)

fixed two spaces lint error even of #  noqa comments
restored assignement to lambda with #  noqa to silence the lint error
global noqa for testing/mozbase/manifestparser/tests/test_filters.py
stupid is/is not error...

MozReview-Commit-ID: 1FpJF54GqIi

--HG--
extra : rebase_source : 3cf0277fb36a296e3506aeacc2ff05e1b03f9eac
2016-09-30 16:08:37 +02:00
Rob Thijssen
18da8e2f82 Bug 1287496 - Increment sleep timespan by (attempts * delay) seconds. r=ted
MozReview-Commit-ID: Gx9fxp3xfZA

--HG--
extra : rebase_source : b2bbfb62a257a7d538b19ed522e24378fda2098d
2016-07-18 18:12:01 +01:00
Ms2ger
4d796781c7 Bug 1257510 - Use modern exception syntax in mozbase; r=ahal
The comma form is long-deprecated.
2016-03-18 09:03:25 +01:00
Carsten "Tomcat" Book
6244cfb10e Backed out changeset 200da85932e9 (bug 1230862) for valgrind perma failures 2016-02-10 11:04:50 +01:00
Julien Pagès
cb348f4346 Bug 1230862 - Remove mozhttpd. r=wlach
--HG--
extra : commitid : HRDp24nhYo8
extra : rebase_source : 76443fa9938e488fcd06af7ba0676d491c9da36e
2016-02-09 03:26:43 +01:00
Henrik Skupin
2817467736 Bug 1243318 - [mozfile] extract_zip() should not set file permissions if there are no attributes available. r=ahal
--HG--
extra : rebase_source : 876a91216874bfbe71bd653ef0a1a1db49153bd8
2016-01-27 03:52:00 +01:00
Julien Pagès
cd63971121 Bug 1185971 - mozfile: add a mozfile.move function, and bump release 1.2. r=ahal
--HG--
rename : testing/mozbase/mozfile/tests/test_remove.py => testing/mozbase/mozfile/tests/test_move_remove.py
extra : commitid : 9JROGo4tYHS
extra : rebase_source : f19d3b4eaf2e181f35f0bdbdb74e009246d8d1ce
extra : amend_source : 388c870bdf7aa06956b8d8641fdf55303453835e
2015-07-23 19:11:16 +02:00
Gregory Szorc
16173f5d3e Bug 1176642 - Use absolute_import in mozfile; r=chmanchester
--HG--
extra : commitid : 8Ml4sdZ20jR
extra : rebase_source : 044bb0811ce0fc76612f3d2a48b059d4927a115d
2015-06-25 12:13:08 -07:00
Julien Pagès
224d0c19ae Bug 859422 - Document why mozfile.remove works better than shutil.rmtree. r=wlach 2014-10-11 10:33:00 -04:00
Chris Manchester
1c97de1410 Bug 1035006 - Fix pyflakes warnings in mozbase.;r=wlach 2014-07-07 14:51:34 -04:00
Ahmed Kachkach
2eaea5cca0 Bug 1008943 - Lazy imports in mozfile for performance reasons. r=ahal 2014-05-13 11:19:00 -04:00
Andrew Halberstadt
2162ac0779 Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-19 16:42:01 -05:00
Wes Kocher
572d78adfd Backed out changeset a7f8c25c07ac (bug 949600) for breaking clobber due to new update_permissions code, regardless of whether this is a CLOSED TREE. 2014-02-18 16:12:34 -08:00
Andrew Halberstadt
354168bb48 Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-18 09:25:58 -05:00
Jonathan Griffin
55412b9c2e Bug 917750 - mirror several mozbase packages, r=ahal 2013-10-22 15:42:05 -07:00
Andrew Halberstadt
bfcbe4015d Bug 895940 - Mirror mozbase to m-c, r=jhammel 2013-07-25 16:27:53 -04:00
Jeff Hammel
f608040afd Bug 872285 - bump packages and mirror to m-c for bug 790765;r=ahal
--HG--
rename : testing/mozbase/mozfile/tests/is_url.py => testing/mozbase/mozfile/tests/test_url.py
2013-05-28 09:51:35 -07:00
Jeff Hammel
c23752e4c1 Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal 2013-03-21 21:06:28 -07:00
Phil Ringnalda
91489a9327 Back out 27fb990d7fc7 (bug 838374) for Android bustage
CLOSED TREE
2013-03-21 22:58:41 -07:00
Jeff Hammel
00016781fd Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal 2013-03-21 21:06:28 -07:00
Ryan VanderMeulen
9dc32220b2 Backed out changeset 7d2ea731f5a5 (bug 838374) for B2G test bustage on a CLOSED TREE. 2013-03-14 17:45:49 -04:00
Jeff Hammel
27d9bb71ca Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal 2013-03-14 13:06:14 -07:00
Jeff Hammel
8447c242b2 Bug 821820 - bump mozfile version to 0.2 and release to m-c;r=wlach ; DONTBUILD because NPOTB 2012-12-16 18:17:27 -08:00
Jeff Hammel
4226b40cc0 Bug 820606 - update mozfile on mozilla-central to version 0.1;r=gps 2012-12-12 10:01:27 -08:00
Jeff Hammel
1a43e8a377 Bug 795943 - Mirror mozbase -> m-c for week of Oct 1 @ 22aa0aee78;r=wlach
--HG--
extra : rebase_source : 389b6c3a2923c40167698b477e4d57b230b1a063
2012-10-01 14:00:55 -07:00