Commit Graph
10 Commits
Author SHA1 Message Date
Ganti Sai Sarath Chandra 6bda4ec56b Bug 1378422 - Add python 2 only classifiers to python modules under /testing, r=ahal
MozReview-Commit-ID: DRi8KFyCnBn
2017-08-19 04:19:06 +05:30
Francesco Pischedda 46c0d4af68 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
2016-09-30 16:08:37 +02:00
Andrew Halberstadt 52e38702e3 Bug 1014760 - Version bump mozbase modules that depend on mozlog 3.0, r=me 2015-07-17 10:06:59 -04:00
Andrew Halberstadt 5c1241cd79 Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.
2015-07-16 10:38:40 -04:00
Henrik Skupin b9f27e482a Bug 1176677 - [moznetwork] ImportError: "cannot import name structured", and release version 0.26. r=davehunt 2015-06-23 17:23:18 +02:00
Dave Hunt b8afb66f8c Bug 1175101 - [moznetwork] Bump version number to 0.25. r=wlachance 2015-06-16 05:39:00 -04:00
Dave Hunt ad41db9bb4 Bug 1160087 - [moznetwork] Add command line interface. r=wlach 2015-04-30 02:33:00 -04:00
Jonathan Griffin cda0d983a5 Bug 917750 - mirror several mozbase packages, r=ahal 2013-10-22 15:42:05 -07:00
Andrew Halberstadt 9f7260fd65 Bug 895940 - Mirror mozbase to m-c, r=jhammel 2013-07-25 16:27:53 -04:00
Andrew Halberstadt 103f5fe53e Bug 876761 - Mirror moznetwork and mozcrash to m-c, r=jhammel 2013-05-30 10:13:29 -04:00