gecko-dev/tools/lint/flake8.yml
terrameijar 9f28cc669c Bug 1506611 - Fixed linter errors in testing/awsy and testing/geckodriver r=ahal
Before this change, testing/awsy had 94 errors and testing/geckodriver had 17. The errors have been resolved

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

--HG--
extra : moz-landing-system : lando
2018-12-18 21:31:59 +00:00

68 lines
1.9 KiB
YAML

---
flake8:
description: Python linter
include:
- accessible/
- browser/
- build/
- config/
- configure.py
- gfx/gl/
- gfx/layers/
- intl/
- ipc/pull-chromium.py
- ipc/ipdl/
- js/
- memory/
- mobile/
- mozglue/
- layout/tools/reftest
- python/mach
- python/mach_commands.py
- python/mozboot
- python/mozbuild/mozpack/path.py
- python/mozlint
- python/mozrelease
- python/mozterm
- python/mozversioncontrol
- python/safety
- security/
- security/manager
- taskcluster
- testing/awsy
- testing/firefox-ui
- testing/geckodriver
- 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
- testing/mozharness/mozharness/mozilla/tooltool.py
- testing/mozharness/mozinfo
- testing/mozharness/scripts
- testing/mozharness/test
- testing/raptor
- testing/remotecppunittests.py
- testing/runcppunittests.py
- testing/talos/
- testing/xpcshell
- toolkit/components/telemetry
- toolkit/crashreporter/tools/upload_symbols.py
- tools/
- xpcom/
# 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']
support-files:
- '**/.flake8'
- 'tools/lint/python/flake8*'
type: external
payload: python.flake8:lint
setup: python.flake8:setup