mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
Bug 1524444 - Respect -n for linting in py3/py2 and better support it in other linters. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D6847 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
03963da9ad
commit
bf9836a1bb
@ -40,6 +40,8 @@ class BaseType(object):
|
||||
config.get('extensions', []),
|
||||
)
|
||||
config['exclude'] = exclude
|
||||
elif config.get('exclude'):
|
||||
del config['exclude']
|
||||
|
||||
if not paths:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user