gecko-dev/testing/mozharness
Andrew Halberstadt 01ca807367 Bug 1515746 - [flake8] Unsupport subdir .flake8 files and use new 'per-file-ignores' config instead, r=egao
This removes all .flake8 files except for the one at the root of the repo.
Instead we use the new 'per-file-ignores' config introduced in 3.7. To ignore
specific errors in a subdirectory, add a line like this to the root .flake8:

[per-file-ignores]
    path/to/subdir/*: E100, F200, ...

The reasons for this change are:

1. Unblock flake8 blacklist (bug 1367092).
2. Simplify configuration and code.
3. Encourage more consistent styling.
4. Improve performance.
5. Greater editor consistency.

Differential Revision: https://phabricator.services.mozilla.com/D18354

--HG--
extra : moz-landing-system : lando
2019-02-07 20:17:02 +00:00
..
configs Bug 1515746 - [flake8] Unsupport subdir .flake8 files and use new 'per-file-ignores' config instead, r=egao 2019-02-07 20:17:02 +00:00
docs Bug 1494091: [mozharness] Remove unsued signing code; r=Callek 2018-10-02 18:27:37 +00:00
examples
external_tools NO BUG - Vendor latest robustcheckout extension; r=sheehan 2018-12-06 10:34:12 -05:00
manifestparser
mozfile
mozharness Bug 1524626 - mozharness.base.log.LogMixin does not support exc_info, r=gbrown. 2019-02-01 10:12:47 -08:00
mozinfo
mozprocess
scripts Merge inbound to mozilla-central. a=merge 2019-01-24 23:43:35 +02:00
test Bug 1403131: [mozharness] Run lint against tests; r=mtabara 2018-10-30 17:02:10 +00:00
LICENSE
README.txt
mach_commands.py Bug 1492601 - Use MachCommandCondition.is_firefox_or_android, r=ahal. 2018-09-23 15:08:56 -07:00
moz.build Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/. r=ahal 2018-06-22 13:32:05 +02:00
requirements.txt Bug 1476001 Security updates for python r=jlund 2018-10-09 16:55:10 +00:00
setup.cfg
setup.py
tox.ini
unit.sh

README.txt

# Mozharness

## Docs
* https://developer.mozilla.org/en-US/docs/Mozharness_FAQ
* https://wiki.mozilla.org/ReleaseEngineering/Mozharness
* http://moz-releng-mozharness.readthedocs.org/en/latest/mozharness.mozilla.html
* http://moz-releng-docs.readthedocs.org/en/latest/software.html#mozharness

## Submitting changes
Like any Gecko change, please create a patch or submit to Mozreview and
open a Bugzilla ticket under the Mozharness component:
https://bugzilla.mozilla.org/enter_bug.cgi?product=Release%20Engineering&component=Mozharness

This bug will get triaged by Release Engineering

## Run unit tests
To run the unit tests of mozharness the `tox` package needs to be installed:

```
pip install tox
```

There are various ways to run the unit tests. Just make sure you are within the `$gecko_repo/testing/mozharness` directory before running one of the commands below:

```
tox                            # run all unit tests
tox -- -x                      # run all unit tests but stop after first failure
tox -- test/test_base_log.py   # only run the base log unit test
```

Happy contributing! =)