gecko-dev/tools/lint/flake8.yml
Andrew Halberstadt 4b93103061 Bug 1375166 - [mozlint] Don't require leading '.' in extensions, r=standard8
This was a regression from bug 1288432. The 'extensions' config in mozlint required a
leading period, but eslint requires them without the period (and this got copied over
to the linter definition). The result was mozlint filtering out any files (not dirs)
that were passed in.

This just modifies mozlint to strip out the period so both are acceptable.

MozReview-Commit-ID: CbNynYzrbGz

--HG--
extra : rebase_source : 51c740cb1d2febaee3ae46784f83381cda5e5eaa
2017-06-21 13:22:34 -04:00

24 lines
604 B
YAML

flake8:
description: Python linter
include:
- layout/tools/reftest
- python/mozlint
- security/manager
- taskcluster
- testing/firefox-ui
- testing/marionette/client
- testing/marionette/harness
- testing/marionette/puppeteer
- testing/mozbase
- testing/mochitest
- testing/talos/
- tools/git
- tools/lint
- tools/mercurial
- toolkit/components/telemetry
exclude:
- testing/mochitest/pywebsocket
extensions: ['py']
type: external
payload: flake8_:lint