gecko-dev/tools/lint/flake8.yml
Sylvestre Ledru fa08b7ce18 Bug 1438839 - Add tools/ as part of the whitelist of flake8 r=ahal
MozReview-Commit-ID: 3J44Yz7rV63

--HG--
extra : rebase_source : 4a270af9cc6c4fa37aba9f328643c66d165df2c3
extra : histedit_source : 5f092731ec6a420efccefbd850bdc937acd24b85
2018-02-16 11:48:12 +01:00

47 lines
1.5 KiB
YAML

---
flake8:
description: Python linter
include:
- build/*.py
- build/moz.configure/*.configure
- config/check_macroassembler_style.py
- config/mozunit.py
- configure.py
- layout/tools/reftest
- python/mach
- python/mach_commands.py
- python/mozboot
- python/mozbuild/mozpack/path.py
- python/mozlint
- python/mozterm
- python/mozversioncontrol
- security/manager
- taskcluster
- testing/firefox-ui
- testing/mach_commands.py
- testing/marionette/client
- testing/marionette/harness
- testing/marionette/puppeteer
- testing/mochitest
- testing/mozbase
- testing/mozharness/configs
- testing/mozharness/mozfile
- testing/mozharness/mozharness/mozilla/mar.py
- testing/mozharness/mozinfo
- testing/mozharness/scripts
- testing/remotecppunittests.py
- testing/runcppunittests.py
- testing/talos/
- testing/xpcshell
- toolkit/components/telemetry
- toolkit/crashreporter/tools/upload_symbols.py
- tools/
# Excludes should be added to topsrcdir/.flake8 due to a bug in flake8 where
# specifying --exclude causes custom configuration files to be ignored.
exclude: []
# The configure option is used by the build system
extensions: ['configure', 'py']
type: external
payload: python.flake8:lint
setup: python.flake8:setup