Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding pylint plugins back to fix --uses and --autodetect #293

Merged
merged 3 commits into from Nov 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion prospector/config/__init__.py
Expand Up @@ -163,7 +163,8 @@ def _find_used_libraries(self, config, profile):

# Bring in adaptors that we automatically detect are needed
if config.autodetect and profile.autodetect is True:
map(libraries.append, autodetect_libraries(self.workdir))
for found_dep in autodetect_libraries(self.workdir):
libraries.append(found_dep)

# Bring in adaptors for the specified libraries
for name in set(config.uses + profile.uses):
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Expand Up @@ -19,6 +19,9 @@

_INSTALL_REQUIRES = [
'pylint-plugin-utils>=0.2.6',
'pylint-django==2.0.2',
'pylint-celery==0.3',
'pylint-flask==0.5',
'requirements-detector>=0.6',
'setoptconf>=0.2.0',
'dodgy>=0.1.9',
Expand Down