-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change n is None to not n None types are falsey so we can shorten this expression to `if not module`. * Use in instead of .find `in` is more performant than find for search a string so use this instead. * Simplify and combine sub path module logic Do not include module.sub_paths as separate modules. Skip these except for `newrelic.hooks`. * Exclude standard lib/built-in modules Previously, we were capturing standard library and built-in Python modules as plugins. These are included with the version of Python the user installed and are not packages that need to be captured so exclude these from the list. * Capture module versions * Fixup: remove pkg_resources check * Ignore pylint function-redefined * Check plugin version info in tests
- Loading branch information
1 parent
a81513d
commit e891528
Showing
2 changed files
with
39 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters