mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
pylint: allow a few more 3rd party modules
Strangely the following errors keep blocking the pre-commit lint hook on virt module while those never appear in the CI. [W8410(3rd-party-module-not-gated), ] 3rd-party module import is not gated in a try/except: 'base64' [W8410(3rd-party-module-not-gated), ] 3rd-party module import is not gated in a try/except: 'copy' [W8410(3rd-party-module-not-gated), ] 3rd-party module import is not gated in a try/except: 'os' [W8410(3rd-party-module-not-gated), ] 3rd-party module import is not gated in a try/except: 're' [W8410(3rd-party-module-not-gated), ] 3rd-party module import is not gated in a try/except: 'shutil' Add these modules to the allowed 3rd party modules to clear the errors.
This commit is contained in:
parent
ffd48362a1
commit
fdc77e62ca
1 changed files with 8 additions and 2 deletions
10
.pylintrc
10
.pylintrc
|
@ -684,8 +684,14 @@ allowed-3rd-party-modules=msgpack,
|
|||
setuptools,
|
||||
pytestsalt,
|
||||
saltfactories,
|
||||
distro
|
||||
|
||||
distro,
|
||||
os,
|
||||
re,
|
||||
shutil,
|
||||
copy,
|
||||
base64,
|
||||
tempfile,
|
||||
fnmatch
|
||||
|
||||
[EXCEPTIONS]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue