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

Remove unused imports in tests #1126

Closed
jayvdb opened this issue Dec 14, 2016 · 4 comments
Closed

Remove unused imports in tests #1126

jayvdb opened this issue Dec 14, 2016 · 4 comments
Assignees

Comments

@jayvdb
Copy link
Member

jayvdb commented Dec 14, 2016

Remove the following unused imports, to help prepare for coala/coala#3066

tests/python/requirements/PySafetyBearTest.py:1: 'pytest' imported but unused
tests/python/test_files/pylint_test.py:2: 'platform' imported but unused
tests/scala/ScalaLintBearTest.py:5: 'coala_utils.ContextManagers.prepare_file' imported but unused
tests/java/CheckstyleBearTest.py:10: 'coalib.settings.Setting.path' imported but unused
tests/natural_language/LanguageToolBearTest.py:10: 'language_check' imported but unused
tests/natural_language/LanguageToolBearTest.py:11: 'guess_language' imported but unused
tests/cmake/CMakeLintBearTest.py:4: 'coala_utils.ContextManagers.prepare_file' imported but unused
tests/js/JSHintBearTest.py:5: 'coala_utils.ContextManagers.prepare_file' imported but unused
tests/js/JSONFormatBearTest.py:1: 'json' imported but unused
tests/js/JSComplexityBearTest.py:1: 'json' imported but unused
tests/general/IndentationBearTest.py:4: 'os' imported but unused
tests/general/IndentationBearTest.py:8: 'coala_utils.string_processing.Core.escape' imported but unused
tests/general/QuotesBearTest.py:9: 'coalib.testing.LocalBearTestHelper.verify_local_bear' imported but unused
tests/general/AnnotationBearTest.py:3: 'os' imported but unused
tests/general/AnnotationBearTest.py:6: 'coala_utils.string_processing.Core.escape' imported but unused
@iamprakashom
Copy link
Contributor

I am on it. Please assign it to me.

@jayvdb
Copy link
Member Author

jayvdb commented Dec 15, 2016

No. Next you should do a low difficulty task.

@Techievena
Copy link
Member

Where to get these files??

@Techievena
Copy link
Member

Sorry for the above silly question I figured it out. Can I be assigned this issue??

Techievena added a commit to Techievena/coala-bears that referenced this issue Dec 16, 2016
Remove the unused imports in tests directory,
to help prepare for coala/coala#3066

Fixes coala#1126
Techievena added a commit to Techievena/coala-bears that referenced this issue Dec 16, 2016
Remove the unused imports in tests directory,
to help prepare for coala/coala#3066

Fixes coala#1126
Techievena added a commit to Techievena/coala-bears that referenced this issue Dec 16, 2016
Remove the unused imports in tests directory,
to help prepare for coala/coala#3066

Fixes coala#1126
Techievena added a commit to Techievena/coala-bears that referenced this issue Dec 16, 2016
Remove the unused imports in tests directory,
to help prepare for coala/coala#3066

Fixes coala#1126
Techievena added a commit to Techievena/coala-bears that referenced this issue Dec 17, 2016
Remove the unused imports in tests directory,
to help prepare for coala/coala#3066

Fixes coala#1126
gosom pushed a commit to gosom/coala-bears that referenced this issue Jul 15, 2017
Remove the unused imports in tests directory,
to help prepare for coala/coala#3066

Fixes coala#1126
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants