Skip to content

Instantly share code, notes, and snippets.

@RJ722
Created July 16, 2017 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RJ722/4a98510768ff0702449cdb18d0352859 to your computer and use it in GitHub Desktop.
Save RJ722/4a98510768ff0702449cdb18d0352859 to your computer and use it in GitHub Desktop.
output when vulture run on flasky (https://github.com/miguelgrinberg/flasky)
app/__init__.py:17: Unused attribute 'session_protection'
app/__init__.py:18: Unused attribute 'login_view'
app/__init__.py:35: Unused variable 'sslify'
app/api_1_0/__init__.py:5: Unused import 'authentication'
app/api_1_0/__init__.py:5: Unused import 'errors'
app/api_1_0/__init__.py:5: Unused import 'users'
app/api_1_0/authentication.py:27: Unused function 'auth_error'
app/api_1_0/authentication.py:40: Unused function 'get_token'
app/api_1_0/comments.py:8: Unused function 'get_comments'
app/api_1_0/comments.py:29: Unused function 'get_comment'
app/api_1_0/comments.py:35: Unused function 'get_post_comments'
app/api_1_0/comments.py:59: Unused function 'new_post_comment'
app/api_1_0/errors.py:24: Unused function 'validation_error'
app/api_1_0/posts.py:9: Unused function 'get_posts'
app/api_1_0/posts.py:30: Unused function 'get_post'
app/api_1_0/posts.py:36: Unused function 'new_post'
app/api_1_0/posts.py:47: Unused function 'edit_post'
app/api_1_0/users.py:6: Unused function 'get_user'
app/api_1_0/users.py:12: Unused function 'get_user_posts'
app/api_1_0/users.py:34: Unused function 'get_user_followed_posts'
app/auth/__init__.py:5: Unused import 'views'
app/auth/forms.py:13: Unused variable 'submit'
app/auth/forms.py:25: Unused variable 'password2'
app/auth/forms.py:28: Unused function 'validate_email'
app/auth/forms.py:32: Unused function 'validate_username'
app/auth/views.py:23: Unused function 'unconfirmed'
app/auth/views.py:30: Unused function 'login'
app/auth/views.py:42: Unused function 'logout'
app/auth/views.py:50: Unused function 'register'
app/auth/views.py:79: Unused function 'resend_confirmation'
app/auth/views.py:89: Unused function 'change_password'
app/auth/views.py:104: Unused function 'password_reset_request'
app/auth/views.py:123: Unused function 'password_reset'
app/auth/views.py:140: Unused function 'change_email_request'
app/email.py:17: Unused attribute 'html'
app/main/__init__.py:9: Unused function 'inject_permissions'
app/main/errors.py:15: Unused function 'page_not_found'
app/main/errors.py:25: Unused function 'internal_server_error'
app/main/forms.py:10: Unused class 'NameForm'
app/main/forms.py:38: Unused attribute 'choices'
app/main/views.py:13: Unused function 'after_request'

app/main/views.py:24: Unused function 'server_shutdown'
app/main/views.py:35: Unused function 'index'
app/main/views.py:72: Unused function 'edit_profile'
app/main/views.py:89: Unused function 'edit_profile_admin'
app/main/views.py:139: Unused function 'edit'
app/main/views.py:205: Unused function 'followed_by'
app/main/views.py:222: Unused function 'show_all'
app/main/views.py:238: Unused function 'moderate'
app/main/views.py:251: Unused function 'moderate_enable'
app/main/views.py:256: Unused attribute 'disabled'
app/main/views.py:262: Unused function 'moderate_disable'
app/models.py:27: Unused variable 'users'
app/models.py:97: Unused variable 'i'
app/models.py:202: Unused function 'is_administrator'
app/models.py:280: Unused attribute 'anonymous_user'
app/models.py:283: Unused function 'load_user'
app/models.py:313: Unused variable 'initiator'
app/models.py:313: Unused variable 'oldvalue'
app/models.py:352: Unused variable 'disabled'
config.py:6: Unused variable 'SECRET_KEY'
config.py:7: Unused variable 'SSL_DISABLE'
config.py:8: Unused variable 'SQLALCHEMY_COMMIT_ON_TEARDOWN'
config.py:9: Unused variable 'SQLALCHEMY_TRACK_MODIFICATIONS'
config.py:10: Unused variable 'SQLALCHEMY_RECORD_QUERIES'
config.py:13: Unused variable 'MAIL_USE_TLS'
config.py:19: Unused variable 'FLASKY_POSTS_PER_PAGE'
config.py:20: Unused variable 'FLASKY_FOLLOWERS_PER_PAGE'
config.py:21: Unused variable 'FLASKY_COMMENTS_PER_PAGE'
config.py:22: Unused variable 'FLASKY_SLOW_DB_QUERY_TIME'
config.py:30: Unused variable 'DEBUG'
config.py:31: Unused variable 'SQLALCHEMY_DATABASE_URI'
config.py:36: Unused variable 'TESTING'
config.py:39: Unused variable 'WTF_CSRF_ENABLED'
manage.py:23: Unused variable 'migrate'
manage.py:33: Unused function 'test'
manage.py:55: Unused function 'profile'
manage.py:64: Unused function 'deploy'
migrations/versions/190163627111_account_confirmation.py:10: Unused variable 'revision'
migrations/versions/190163627111_account_confirmation.py:11: Unused variable 'down_revision'
migrations/versions/190163627111_account_confirmation.py:23: Unused function 'downgrade'
tests/test_api.py:10: Unused class 'APITestCase'
tests/test_api.py:11: Unused function 'setUp'
tests/test_api.py:19: Unused function 'tearDown'
tests/test_basics.py:6: Unused class 'BasicsTestCase'
tests/test_client.py:7: Unused class 'FlaskClientTestCase'
tests/test_selenium.py:10: Unused class 'SeleniumTestCase'
tests/test_selenium.py:13: Unused function 'setUpClass'
tests/test_selenium.py:53: Unused function 'tearDownClass'
tests/test_user_model.py:8: Unused class 'UserModelTestCase'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment