Skip to content

Instantly share code, notes, and snippets.

@singingwolfboy
Created January 9, 2015 20:39
Show Gist options
  • Save singingwolfboy/f633e6d2e915b5a3fd5c to your computer and use it in GitHub Desktop.
Save singingwolfboy/f633e6d2e915b5a3fd5c to your computer and use it in GitHub Desktop.
paver run_pylint
% paver run_pylint
Warning: could not find environment JSON file at '/Users/db/lms.env.json'
---> pavelib.quality.run_pylint
---> pavelib.prereqs.install_python_prereqs
pip install -q --exists-action w -r requirements/edx/pre.txt
pip install -q --exists-action w -r requirements/edx/github.txt
Could not find a tag or branch 'd89aae2a82f2b', assuming commit.
Could not find a tag or branch '88ec8a011e481918fdc9d2682d4017c835acd8be', assuming commit.
Could not find a tag or branch 'cd0b2b31997afccde519fe5b3365e61a9edb143f', assuming commit.
Could not find a tag or branch 'efe14679c9263ab491916ed960f5930127e05faf', assuming commit.
Could not find a tag or branch '776973740bdaad83a3b029f96e415a7d1e8bec2f', assuming commit.
Could not find a tag or branch 'd53fe0e81b623f084e91776bcf6369f8b7b63879', assuming commit.
Could not find a tag or branch '42cb1bb1dc680a60c6452e8bb2b843c2a0382c90', assuming commit.
Could not find a tag or branch '95e69341cebf5a6a9fbf7c4f5439d458898bdc3b', assuming commit.
Could not find a tag or branch 'c5bfa5d361d6685d8c643838fc0055c25f8b7999', assuming commit.
Could not find a tag or branch 'd175715e0fe3367ec0f1ee429c242d603f6e8b10', assuming commit.
git clone in ./src/xblock exists with URL https://github.com/edx/XBlock.git
The plan is to install the git repository https://github.com/edx-solutions/XBlock.git
Deleting ./src/xblock
Could not find a tag or branch '726847de5b2fba3c666722c73e32bac73ad6e794', assuming commit.
Could not find a tag or branch '75307b25032d8b0040b1408c01fd6cc9a1989bd5', assuming commit.
Could not find a tag or branch '4a259e3548a19e41cc39433caf68ea58d10a27ba', assuming commit.
Could not find a tag or branch '7579d052afcf474ece1239153cffe1c89935bc4f', assuming commit.
Could not find a tag or branch 'e46f9cda8a03e121a00c7e347084d142d22ebfb7', assuming commit.
Could not find a tag or branch '1254ed4d615a428591850656f39f26509b86d30a', assuming commit.
Could not find a tag or branch '97de68448e5495385ba043d3091f570a699d5b5f', assuming commit.
Could not find a tag or branch '56f048af9b6868613c14aeae760548834c495011', assuming commit.
Could not find a tag or branch 'ba00a5f2e0571e9a3f37d293a98efe4cbca850d5', assuming commit.
Could not find a tag or branch 'b41ba8778b98da0ea680ffb8bbc59492d669df2d', assuming commit.
Could not find a tag or branch '021485b4b721ee49e6a5598ee14f02131b244990', assuming commit.
pip install -q --exists-action w -r requirements/edx/local.txt
pip install -q --exists-action w -r requirements/edx/base.txt
Could not find a tag or branch '96e1922348bfe6d99201b9512a9ed946c87b7e0b', assuming commit.
pip install -q --exists-action w -r requirements/edx/post.txt
PYTHONPATH=lms:lms/djangoapps:lms/lib:common/djangoapps:common/lib pylint -f parseable lms comment_client courseware_search newrelic_logging xblock | tee /Users/db/clones/edx-platform/reports/lms/pylint.report
lms/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/tests.py:37: [W0622(redefined-builtin), TemplateLookupTests.test_add_lookup_to_main] Redefining built-in 'dir'
lms/urls.py:1: [C0111(missing-docstring)] Missing docstring
lms/urls.py:98: [C0103(invalid-name)] Invalid name "js_info_dict" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/urls.py:126: [C0103(invalid-name)] Invalid name "favicon_path" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/urls.py:512: [F0401(import-error)] Unable to import 'edinsights.core.registry'
lms/urls.py:559: [C0103(invalid-name)] Invalid name "handler404" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/urls.py:560: [C0103(invalid-name)] Invalid name "handler500" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/urls.py:512: [W0611(unused-import)] Unused import edinsights
lms/wsgi.py:1: [C0111(missing-docstring)] Missing docstring
lms/wsgi.py:27: [C0103(invalid-name)] Invalid name "application" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/wsgi.py:16: [W0611(unused-import)] Unused import settings
lms/wsgi_apache_lms.py:1: [C0111(missing-docstring)] Missing docstring
lms/wsgi_apache_lms.py:16: [C0103(invalid-name)] Invalid name "application" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/branding/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/branding/tests.py:109: [W0212(protected-access), AnonymousIndexPageTest.test_edge_redirect_to_login] Access to a protected member _headers of a client class
lms/djangoapps/branding/views.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/bulk_email/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/bulk_email/tasks.py:94: [W0613(unused-argument), _get_recipient_queryset] Unused argument 'course_location'
lms/djangoapps/bulk_email/tasks.py:392: [R0915(too-many-statements), _send_course_email] Too many statements (78/50)
lms/djangoapps/bulk_email/tasks.py:35: [W0611(unused-import)] Unused import CourseEmailTemplate
lms/djangoapps/bulk_email/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/bulk_email/tests/test_forms.py:117: [W0212(protected-access), CourseAuthorizationFormTest.test_course_name_only] Access to a protected member _errors of a client class
lms/djangoapps/certificates/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/certificates/models.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/certificates/models.py:52: [W0105(pointless-string-statement)] String statement has no effect
lms/djangoapps/certificates/models.py:55: [C0111(missing-docstring), CertificateStatuses] Missing docstring
lms/djangoapps/certificates/models.py:83: [C0111(missing-docstring), GeneratedCertificate] Missing docstring
lms/djangoapps/certificates/models.py:104: [C0111(missing-docstring), GeneratedCertificate.Meta] Missing docstring
lms/djangoapps/certificates/models.py:153: [C0103(invalid-name), certificate_status_for_student] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/certificates/queue.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/certificates/queue.py:22: [C0103(invalid-name)] Invalid name "logger" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/certificates/queue.py:156: [C0103(invalid-name), XQueueCertInterface.add_cert] Invalid name "VALID_STATUSES" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/certificates/queue.py:210: [C0103(invalid-name), XQueueCertInterface.add_cert] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/certificates/queue.py:128: [R0915(too-many-statements), XQueueCertInterface.add_cert] Too many statements (58/50)
lms/djangoapps/certificates/queue.py:250: [C0111(missing-docstring), XQueueCertInterface._send_to_xqueue] Missing docstring
lms/djangoapps/certificates/views.py:17: [C0103(invalid-name)] Invalid name "logger" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/certificates/views.py:13: [W0611(unused-import)] Unused import CourseDescriptor
lms/djangoapps/certificates/management/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/certificates/management/commands/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/certificates/management/commands/cert_whitelist.py:15: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/certificates/management/commands/cert_whitelist.py:77: [W0612(unused-variable), Command.handle] Unused variable 'created'
lms/djangoapps/certificates/management/commands/fix_ungraded_certs.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/certificates/management/commands/fix_ungraded_certs.py:8: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/certificates/management/commands/gen_cert_report.py:18: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/certificates/management/commands/gen_cert_report.py:11: [W0611(unused-import)] Unused import CourseDescriptor
lms/djangoapps/certificates/management/commands/gen_cert_report.py:9: [W0611(unused-import)] Unused import settings
lms/djangoapps/certificates/management/commands/gen_cert_report.py:14: [W0611(unused-import)] Unused import modulestore
lms/djangoapps/certificates/management/commands/regenerate_user.py:14: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/certificates/management/commands/regenerate_user.py:78: [C0103(invalid-name), Command.handle] Invalid name "xq" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/certificates/management/commands/regenerate_user.py:9: [W0611(unused-import)] Unused import CourseDescriptor
lms/djangoapps/certificates/management/commands/ungenerated_certs.py:21: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/certificates/management/commands/ungenerated_certs.py:73: [C0103(invalid-name), Command.handle] Invalid name "STATUS_INTERVAL" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/certificates/management/commands/ungenerated_certs.py:94: [C0103(invalid-name), Command.handle] Invalid name "xq" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/certificates/management/commands/ungenerated_certs.py:110: [W0612(unused-variable), Command.handle] Unused variable 'seconds'
lms/djangoapps/certificates/management/commands/ungenerated_certs.py:14: [W0611(unused-import)] Unused import CourseDescriptor
lms/djangoapps/certificates/management/commands/ungenerated_certs.py:10: [W0611(unused-import)] Unused import settings
lms/djangoapps/certificates/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/certificates/tests/factories.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/certificates/tests/factories.py:3: [W0611(unused-import)] Unused import SlashSeparatedCourseKey
lms/djangoapps/certificates/tests/tests.py:5: [W0611(unused-import)] Unused import TestCase
lms/djangoapps/circuit/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/circuit/models.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/circuit/models.py:4: [C0111(missing-docstring), ServerCircuit] Missing docstring
lms/djangoapps/circuit/views.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/circuit/views.py:23: [W0621(redefined-outer-name), circuit_line] Redefining name 'circuit_line' from outer scope (line 12)
lms/djangoapps/circuit/views.py:20: [W0702(bare-except), circuit_line] No exception type(s) specified
lms/djangoapps/circuit/views.py:18: [C0103(invalid-name), circuit_line] Invalid name "sc" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/circuit/views.py:34: [C0111(missing-docstring), edit_circuit] Missing docstring
lms/djangoapps/circuit/views.py:37: [W0702(bare-except), edit_circuit] No exception type(s) specified
lms/djangoapps/circuit/views.py:36: [C0103(invalid-name), edit_circuit] Invalid name "sc" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/circuit/views.py:38: [C0103(invalid-name), edit_circuit] Invalid name "sc" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/circuit/views.py:36: [W0612(unused-variable), edit_circuit] Unused variable 'sc'
lms/djangoapps/circuit/views.py:34: [W0613(unused-argument), edit_circuit] Unused argument 'request'
lms/djangoapps/circuit/views.py:48: [C0111(missing-docstring), save_circuit] Missing docstring
lms/djangoapps/circuit/views.py:56: [W0702(bare-except), save_circuit] No exception type(s) specified
lms/djangoapps/circuit/views.py:55: [C0103(invalid-name), save_circuit] Invalid name "sc" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/circuit/views.py:57: [C0103(invalid-name), save_circuit] Invalid name "sc" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/class_dashboard/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/course_wiki/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/course_wiki/editors.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/course_wiki/editors.py:13: [C0111(missing-docstring), CodeMirrorWidget] Missing docstring
lms/djangoapps/course_wiki/editors.py:36: [C0111(missing-docstring), CodeMirror] Missing docstring
lms/djangoapps/course_wiki/editors.py:39: [W0221(arguments-differ), CodeMirror.get_admin_widget] Arguments number differs from overridden method
lms/djangoapps/course_wiki/editors.py:39: [W0613(unused-argument), CodeMirror.get_admin_widget] Unused argument 'instance'
lms/djangoapps/course_wiki/editors.py:42: [C0111(missing-docstring), CodeMirror.get_widget] Missing docstring
lms/djangoapps/course_wiki/editors.py:42: [W0613(unused-argument), CodeMirror.get_widget] Unused argument 'instance'
lms/djangoapps/course_wiki/editors.py:45: [C0111(missing-docstring), CodeMirror.AdminMedia] Missing docstring
lms/djangoapps/course_wiki/editors.py:55: [C0111(missing-docstring), CodeMirror.Media] Missing docstring
lms/djangoapps/course_wiki/plugins/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:26: [W0702(bare-except)] No exception type(s) specified
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:27: [E0611(no-name-in-module)] No name 'etree' in module 'markdown'
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:30: [C0111(missing-docstring), CircuitExtension] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:31: [W0231(super-init-not-called), CircuitExtension.__init__] __init__ method from base class 'Extension' is not called
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:35: [C0103(invalid-name), CircuitExtension.extendMarkdown] Invalid name "extendMarkdown" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:35: [C0103(invalid-name), CircuitExtension.extendMarkdown] Invalid name "md" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:35: [C0103(invalid-name), CircuitExtension.extendMarkdown] Invalid name "md" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:48: [C0111(missing-docstring), CircuitPreprocessor] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:52: [C0103(invalid-name), CircuitPreprocessor.run.convertLine] Invalid name "convertLine" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:52: [C0111(missing-docstring), CircuitPreprocessor.run.convertLine] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:53: [C0103(invalid-name), CircuitPreprocessor.run.convertLine] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:43: [C0103(invalid-name), CircuitExtension.extendMarkdown] Invalid name "md" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:62: [C0111(missing-docstring), CircuitLink] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:63: [C0103(invalid-name), CircuitLink.handleMatch] Invalid name "handleMatch" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:63: [C0103(invalid-name), CircuitLink.handleMatch] Invalid name "m" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:63: [C0103(invalid-name), CircuitLink.handleMatch] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:43: [W0201(attribute-defined-outside-init), CircuitExtension.extendMarkdown] Attribute 'md' defined outside __init__
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:44: [W0201(attribute-defined-outside-init), CircuitExtension.extendMarkdown] Attribute 'ext' defined outside __init__
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:69: [C0103(invalid-name), makeExtension] Invalid name "makeExtension" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_circuit.py:69: [C0111(missing-docstring), makeExtension] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:18: [F0401(import-error)] Unable to import 'simplewiki.settings'
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:25: [W0702(bare-except)] No exception type(s) specified
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:26: [E0611(no-name-in-module)] No name 'etree' in module 'markdown'
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:29: [C0111(missing-docstring), ImageExtension] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:30: [W0231(super-init-not-called), ImageExtension.__init__] __init__ method from base class 'Extension' is not called
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:34: [C0103(invalid-name), ImageExtension.add_inline] Invalid name "md" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:34: [C0103(invalid-name), ImageExtension.add_inline] Invalid name "re" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:34: [C0111(missing-docstring), ImageExtension.add_inline] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:34: [C0103(invalid-name), ImageExtension.add_inline] Invalid name "md" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:34: [C0103(invalid-name), ImageExtension.add_inline] Invalid name "re" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:40: [C0103(invalid-name), ImageExtension.extendMarkdown] Invalid name "extendMarkdown" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:40: [C0103(invalid-name), ImageExtension.extendMarkdown] Invalid name "md" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:40: [C0103(invalid-name), ImageExtension.extendMarkdown] Invalid name "md" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:45: [C0111(missing-docstring), ImageLink] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:46: [C0103(invalid-name), ImageLink.handleMatch] Invalid name "handleMatch" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:46: [C0103(invalid-name), ImageLink.handleMatch] Invalid name "m" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:46: [C0103(invalid-name), ImageLink.handleMatch] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:66: [C0103(invalid-name), makeExtension] Invalid name "makeExtension" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_image.py:66: [C0111(missing-docstring), makeExtension] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:8: [W0702(bare-except)] No exception type(s) specified
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:9: [E0611(no-name-in-module)] No name 'etree' in module 'markdown'
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:9: [E0611(no-name-in-module)] No name 'AtomicString' in module 'markdown'
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:12: [C0111(missing-docstring), MathJaxPattern] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:17: [C0103(invalid-name), MathJaxPattern.handleMatch] Invalid name "handleMatch" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:17: [C0103(invalid-name), MathJaxPattern.handleMatch] Invalid name "m" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:17: [C0103(invalid-name), MathJaxPattern.handleMatch] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:18: [C0103(invalid-name), MathJaxPattern.handleMatch] Invalid name "el" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:23: [C0111(missing-docstring), MathJaxExtension] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:24: [C0103(invalid-name), MathJaxExtension.extendMarkdown] Invalid name "extendMarkdown" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:24: [C0103(invalid-name), MathJaxExtension.extendMarkdown] Invalid name "md" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:24: [C0103(invalid-name), MathJaxExtension.extendMarkdown] Invalid name "md" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:29: [C0103(invalid-name), makeExtension] Invalid name "makeExtension" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_mathjax.py:29: [C0111(missing-docstring), makeExtension] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:136: [E0611(no-name-in-module)] No name 'etree' in module 'markdown'
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:139: [C0103(invalid-name)] Invalid name "version" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:142: [C0111(missing-docstring), VideoExtension] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:143: [W0231(super-init-not-called), VideoExtension.__init__] __init__ method from base class 'Extension' is not called
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:167: [C0103(invalid-name), VideoExtension.add_inline] Invalid name "md" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:167: [C0103(invalid-name), VideoExtension.add_inline] Invalid name "re" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:167: [C0111(missing-docstring), VideoExtension.add_inline] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:167: [C0103(invalid-name), VideoExtension.add_inline] Invalid name "md" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:167: [C0103(invalid-name), VideoExtension.add_inline] Invalid name "re" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:173: [C0103(invalid-name), VideoExtension.extendMarkdown] Invalid name "extendMarkdown" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:173: [C0103(invalid-name), VideoExtension.extendMarkdown] Invalid name "md" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:173: [C0103(invalid-name), VideoExtension.extendMarkdown] Invalid name "md" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:192: [C0111(missing-docstring), Bliptv] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:193: [C0103(invalid-name), Bliptv.handleMatch] Invalid name "handleMatch" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:193: [C0103(invalid-name), Bliptv.handleMatch] Invalid name "m" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:193: [C0103(invalid-name), Bliptv.handleMatch] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:195: [E1101(no-member), Bliptv.handleMatch] Instance of 'Bliptv' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:196: [E1101(no-member), Bliptv.handleMatch] Instance of 'Bliptv' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:200: [C0111(missing-docstring), Dailymotion] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:201: [C0103(invalid-name), Dailymotion.handleMatch] Invalid name "handleMatch" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:201: [C0103(invalid-name), Dailymotion.handleMatch] Invalid name "m" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:201: [C0103(invalid-name), Dailymotion.handleMatch] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:203: [E1101(no-member), Dailymotion.handleMatch] Instance of 'Dailymotion' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:204: [E1101(no-member), Dailymotion.handleMatch] Instance of 'Dailymotion' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:208: [C0111(missing-docstring), Gametrailers] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:209: [C0103(invalid-name), Gametrailers.handleMatch] Invalid name "handleMatch" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:209: [C0103(invalid-name), Gametrailers.handleMatch] Invalid name "m" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:209: [C0103(invalid-name), Gametrailers.handleMatch] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:212: [E1101(no-member), Gametrailers.handleMatch] Instance of 'Gametrailers' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:213: [E1101(no-member), Gametrailers.handleMatch] Instance of 'Gametrailers' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:217: [C0111(missing-docstring), Metacafe] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:218: [C0103(invalid-name), Metacafe.handleMatch] Invalid name "handleMatch" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:218: [C0103(invalid-name), Metacafe.handleMatch] Invalid name "m" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:218: [C0103(invalid-name), Metacafe.handleMatch] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:220: [E1101(no-member), Metacafe.handleMatch] Instance of 'Metacafe' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:221: [E1101(no-member), Metacafe.handleMatch] Instance of 'Metacafe' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:225: [C0111(missing-docstring), Veoh] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:226: [C0103(invalid-name), Veoh.handleMatch] Invalid name "handleMatch" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:226: [C0103(invalid-name), Veoh.handleMatch] Invalid name "m" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:226: [C0103(invalid-name), Veoh.handleMatch] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:228: [E1101(no-member), Veoh.handleMatch] Instance of 'Veoh' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:229: [E1101(no-member), Veoh.handleMatch] Instance of 'Veoh' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:233: [C0111(missing-docstring), Vimeo] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:234: [C0103(invalid-name), Vimeo.handleMatch] Invalid name "handleMatch" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:234: [C0103(invalid-name), Vimeo.handleMatch] Invalid name "m" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:234: [C0103(invalid-name), Vimeo.handleMatch] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:236: [E1101(no-member), Vimeo.handleMatch] Instance of 'Vimeo' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:237: [E1101(no-member), Vimeo.handleMatch] Instance of 'Vimeo' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:241: [C0111(missing-docstring), Yahoo] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:242: [C0103(invalid-name), Yahoo.handleMatch] Invalid name "handleMatch" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:242: [C0103(invalid-name), Yahoo.handleMatch] Invalid name "m" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:242: [C0103(invalid-name), Yahoo.handleMatch] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:244: [E1101(no-member), Yahoo.handleMatch] Instance of 'Yahoo' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:245: [E1101(no-member), Yahoo.handleMatch] Instance of 'Yahoo' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:255: [C0111(missing-docstring), Youtube] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:256: [C0103(invalid-name), Youtube.handleMatch] Invalid name "handleMatch" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:256: [C0103(invalid-name), Youtube.handleMatch] Invalid name "m" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:256: [C0103(invalid-name), Youtube.handleMatch] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:258: [E1101(no-member), Youtube.handleMatch] Instance of 'Youtube' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:259: [E1101(no-member), Youtube.handleMatch] Instance of 'Youtube' has no 'ext' member
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:263: [C0111(missing-docstring), flash_object] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:284: [C0103(invalid-name), makeExtension] Invalid name "makeExtension" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/course_wiki/plugins/markdownedx/mdx_video.py:284: [C0111(missing-docstring), makeExtension] Missing docstring
lms/djangoapps/course_wiki/plugins/markdownedx/wiki_plugin.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/course_wiki/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/course_wiki/tests/tests.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/course_wiki/tests/tests.py:98: [W0612(unused-variable), WikiRedirectTestCase.create_course_page] Unused variable 'ending_status'
lms/djangoapps/courseware/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/courseware/access.py:33: [C0111(missing-docstring), debug] Missing docstring
lms/djangoapps/courseware/access.py:256: [C0111(missing-docstring), _has_access_error_desc.check_for_staff] Missing docstring
lms/djangoapps/courseware/access.py:296: [W0212(protected-access), _has_access_descriptor.can_load] Access to a protected member _class_tags of a client class
lms/djangoapps/courseware/access.py:379: [C0111(missing-docstring), _has_access_string.check_staff] Missing docstring
lms/djangoapps/courseware/access.py:368: [W0613(unused-argument), _has_access_string] Unused argument 'course_key'
lms/djangoapps/courseware/access.py:449: [C0103(invalid-name), _has_instructor_access_to_location] Invalid name "_has_instructor_access_to_location" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/courseware/access.py:449: [C0111(missing-docstring), _has_instructor_access_to_location] Missing docstring
lms/djangoapps/courseware/access.py:455: [C0111(missing-docstring), _has_staff_access_to_location] Missing docstring
lms/djangoapps/courseware/courses.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/courseware/courses.py:17: [W0404(reimported)] Reimport 'ModuleStoreEnum' (imported line 11)
lms/djangoapps/courseware/courses.py:78: [C0111(missing-docstring), UserNotEnrolled] Missing docstring
lms/djangoapps/courseware/courses.py:345: [W0613(unused-argument), get_courses] Unused argument 'domain'
lms/djangoapps/courseware/grades.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/courseware/grades.py:31: [C0103(invalid-name), yield_dynamic_descriptor_descendents] Invalid name "yield_dynamic_descriptor_descendents" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/courseware/grades.py:37: [C0111(missing-docstring), yield_dynamic_descriptor_descendents.get_dynamic_descriptor_children] Missing docstring
lms/djangoapps/courseware/middleware.py:16: [C0111(missing-docstring), RedirectUnenrolledMiddleware.process_exception] Missing docstring
lms/djangoapps/courseware/middleware.py:16: [W0613(unused-argument), RedirectUnenrolledMiddleware.process_exception] Unused argument 'request'
lms/djangoapps/courseware/models.py:45: [C0111(missing-docstring), StudentModule.Meta] Missing docstring
lms/djangoapps/courseware/models.py:85: [E1101(no-member), StudentModule.__repr__] Instance of 'ForeignKey' has no 'username' member
lms/djangoapps/courseware/models.py:101: [C0111(missing-docstring), StudentModuleHistory.Meta] Missing docstring
lms/djangoapps/courseware/models.py:134: [C0111(missing-docstring), XBlockFieldBase.Meta] Missing docstring
lms/djangoapps/courseware/models.py:162: [C0111(missing-docstring), XModuleUserStateSummaryField.Meta] Missing docstring
lms/djangoapps/courseware/models.py:188: [C0111(missing-docstring), XModuleStudentInfoField.Meta] Missing docstring
lms/djangoapps/courseware/models.py:206: [C0111(missing-docstring), OfflineComputedGrade.Meta] Missing docstring
lms/djangoapps/courseware/models.py:218: [C0111(missing-docstring), OfflineComputedGradeLog.Meta] Missing docstring
lms/djangoapps/courseware/module_render.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/courseware/module_render.py:89: [W0402(deprecated-module), make_track_function] Uses of a deprecated module 'track.views'
lms/djangoapps/courseware/module_render.py:91: [C0111(missing-docstring), make_track_function.function] Missing docstring
lms/djangoapps/courseware/module_render.py:252: [W0621(redefined-outer-name), get_module_system_for_user] Redefining name 'request_token' from outer scope (line 43)
lms/djangoapps/courseware/module_render.py:275: [C0111(missing-docstring), get_module_system_for_user.make_xqueue_callback] Missing docstring
lms/djangoapps/courseware/module_render.py:348: [C0111(missing-docstring), get_module_system_for_user.handle_grade_event] Missing docstring
lms/djangoapps/courseware/module_render.py:348: [W0613(unused-argument), get_module_system_for_user.handle_grade_event] Unused argument 'event_type'
lms/djangoapps/courseware/module_render.py:348: [W0613(unused-argument), get_module_system_for_user.handle_grade_event] Unused argument 'block'
lms/djangoapps/courseware/module_render.py:585: [W0621(redefined-outer-name), get_module_for_descriptor_internal] Redefining name 'request_token' from outer scope (line 43)
lms/djangoapps/courseware/views.py:72: [C0103(invalid-name)] Invalid name "template_imports" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/courseware/views.py:89: [E1103(maybe-no-member), user_groups] Module 'django.core.cache' has no 'get' member (but some types could not be inferred)
lms/djangoapps/courseware/views.py:95: [E1103(maybe-no-member), user_groups] Module 'django.core.cache' has no 'set' member (but some types could not be inferred)
lms/djangoapps/courseware/views.py:106: [W0621(redefined-outer-name), courses] Redefining name 'courses' from outer scope (line 102)
lms/djangoapps/courseware/views.py:222: [C0103(invalid-name), save_child_position] Invalid name "c" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/views.py:511: [W0703(broad-except), _index_bulk_op] Catching too general exception Exception
lms/djangoapps/courseware/views.py:423: [W1201(logging-not-lazy), _index_bulk_op] Specify string format arguments as logging function parameters
lms/djangoapps/courseware/views.py:433: [W1201(logging-not-lazy), _index_bulk_op] Specify string format arguments as logging function parameters
lms/djangoapps/courseware/views.py:511: [C0103(invalid-name), _index_bulk_op] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/views.py:574: [W0613(unused-argument), jump_to] Unused argument 'request'
lms/djangoapps/courseware/views.py:30: [W0611(unused-import)] Unused import wraps
lms/djangoapps/courseware/management/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/courseware/management/commands/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/courseware/management/commands/clean_xml.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/courseware/management/commands/clean_xml.py:28: [C0103(invalid-name), export] Invalid name "fs" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/management/commands/clean_xml.py:41: [W0702(bare-except), export] No exception type(s) specified
lms/djangoapps/courseware/management/commands/clean_xml.py:48: [C0111(missing-docstring), import_with_checks] Missing docstring
lms/djangoapps/courseware/management/commands/clean_xml.py:65: [C0111(missing-docstring), import_with_checks.str_of_err] Missing docstring
lms/djangoapps/courseware/management/commands/clean_xml.py:71: [C0103(invalid-name), import_with_checks] Invalid name "n" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/management/commands/clean_xml.py:48: [W0613(unused-argument), import_with_checks] Unused argument 'verbose'
lms/djangoapps/courseware/management/commands/clean_xml.py:111: [C0103(invalid-name), check_roundtrip] Invalid name "ok" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/management/commands/clean_xml.py:127: [C0111(missing-docstring), clean_xml] Missing docstring
lms/djangoapps/courseware/management/commands/clean_xml.py:128: [C0103(invalid-name), clean_xml] Invalid name "ok" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/management/commands/clean_xml.py:138: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/courseware/management/commands/clean_xml.py:149: [C0103(invalid-name), Command.handle] Invalid name "n" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/management/commands/dump_course_ids.py:32: [W0212(protected-access), Command.handle] Access to a protected member _get_modulestore_by_type of a client class
lms/djangoapps/courseware/management/commands/dump_course_structure.py:112: [C0111(missing-docstring), dump_module.is_inherited] Missing docstring
lms/djangoapps/courseware/management/commands/metadata_to_json.py:17: [C0111(missing-docstring), import_course] Missing docstring
lms/djangoapps/courseware/management/commands/metadata_to_json.py:30: [C0111(missing-docstring), import_course.str_of_err] Missing docstring
lms/djangoapps/courseware/management/commands/metadata_to_json.py:36: [C0103(invalid-name), import_course] Invalid name "n" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/management/commands/metadata_to_json.py:17: [W0613(unused-argument), import_course] Unused argument 'verbose'
lms/djangoapps/courseware/management/commands/metadata_to_json.py:50: [C0111(missing-docstring), node_metadata] Missing docstring
lms/djangoapps/courseware/management/commands/metadata_to_json.py:57: [E0602(undefined-variable), node_metadata] Undefined variable 'own_metadata'
lms/djangoapps/courseware/management/commands/metadata_to_json.py:58: [C0103(invalid-name), node_metadata] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/management/commands/metadata_to_json.py:62: [C0111(missing-docstring), get_metadata] Missing docstring
lms/djangoapps/courseware/management/commands/metadata_to_json.py:63: [C0103(invalid-name), get_metadata] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/management/commands/metadata_to_json.py:74: [C0111(missing-docstring), print_metadata] Missing docstring
lms/djangoapps/courseware/management/commands/metadata_to_json.py:86: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/courseware/management/commands/metadata_to_json.py:96: [C0103(invalid-name), Command.handle] Invalid name "n" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/management/commands/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/courseware/tests/__init__.py:62: [C0111(missing-docstring), BaseTestXmodule.new_descriptor_runtime] Missing docstring
lms/djangoapps/courseware/tests/__init__.py:67: [C0111(missing-docstring), BaseTestXmodule.initialize_module] Missing docstring
lms/djangoapps/courseware/tests/__init__.py:80: [W0212(protected-access), BaseTestXmodule.initialize_module] Access to a protected member _field_data of a client class
lms/djangoapps/courseware/tests/__init__.py:80: [W0212(protected-access), BaseTestXmodule.initialize_module] Access to a protected member _field_data of a client class
lms/djangoapps/courseware/tests/__init__.py:89: [C0111(missing-docstring), BaseTestXmodule.setup_course] Missing docstring
lms/djangoapps/courseware/tests/__init__.py:108: [W0612(unused-variable), BaseTestXmodule.setup_course] Unused variable 'i'
lms/djangoapps/courseware/tests/__init__.py:87: [W0201(attribute-defined-outside-init), BaseTestXmodule.initialize_module] Attribute 'item_url' defined outside __init__
lms/djangoapps/courseware/tests/__init__.py:106: [W0201(attribute-defined-outside-init), BaseTestXmodule.setup_course] Attribute 'users' defined outside __init__
lms/djangoapps/courseware/tests/__init__.py:100: [W0201(attribute-defined-outside-init), BaseTestXmodule.setup_course] Attribute 'section' defined outside __init__
lms/djangoapps/courseware/tests/__init__.py:115: [W0201(attribute-defined-outside-init), BaseTestXmodule.setup_course] Attribute 'clients' defined outside __init__
lms/djangoapps/courseware/tests/__init__.py:90: [W0201(attribute-defined-outside-init), BaseTestXmodule.setup_course] Attribute 'course' defined outside __init__
lms/djangoapps/courseware/tests/__init__.py:73: [W0201(attribute-defined-outside-init), BaseTestXmodule.initialize_module] Attribute 'item_descriptor' defined outside __init__
lms/djangoapps/courseware/tests/__init__.py:75: [W0201(attribute-defined-outside-init), BaseTestXmodule.initialize_module] Attribute 'runtime' defined outside __init__
lms/djangoapps/courseware/tests/__init__.py:116: [W0201(attribute-defined-outside-init), BaseTestXmodule.setup_course] Attribute 'login_statuses' defined outside __init__
lms/djangoapps/courseware/tests/__init__.py:137: [C0111(missing-docstring), XModuleRenderingTestBase] Missing docstring
lms/djangoapps/courseware/tests/helpers.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/courseware/tests/helpers.py:47: [C0111(missing-docstring), LoginEnrollmentTestCase.assert_request_status_code] Missing docstring
lms/djangoapps/courseware/tests/helpers.py:38: [W0201(attribute-defined-outside-init), LoginEnrollmentTestCase.setup_user] Attribute 'username' defined outside __init__
lms/djangoapps/courseware/tests/helpers.py:37: [W0201(attribute-defined-outside-init), LoginEnrollmentTestCase.setup_user] Attribute 'password' defined outside __init__
lms/djangoapps/courseware/tests/helpers.py:36: [W0201(attribute-defined-outside-init), LoginEnrollmentTestCase.setup_user] Attribute 'email' defined outside __init__
lms/djangoapps/courseware/tests/helpers.py:38: [W0201(attribute-defined-outside-init), LoginEnrollmentTestCase.setup_user] Attribute 'username' defined outside __init__
lms/djangoapps/courseware/tests/helpers.py:37: [W0201(attribute-defined-outside-init), LoginEnrollmentTestCase.setup_user] Attribute 'password' defined outside __init__
lms/djangoapps/courseware/tests/helpers.py:36: [W0201(attribute-defined-outside-init), LoginEnrollmentTestCase.setup_user] Attribute 'email' defined outside __init__
lms/djangoapps/courseware/tests/test_access.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/courseware/tests/test_courses.py:42: [W0201(attribute-defined-outside-init), CoursesTest.test_get_cms_course_block_link] Attribute 'course' defined outside __init__
lms/djangoapps/courseware/tests/test_courses.py:60: [C0322(no-space-before-operator), ModuleStoreBranchSettingTest.test_default_modulestore_preview_mapping] Operator not preceded by a space
MODULESTORE_BRANCH='fake_default_branch',
^
)
def test_default_modulestore_preview_mapping(self):
lms/djangoapps/courseware/tests/test_courses.py:63: [W0212(protected-access), ModuleStoreBranchSettingTest.test_default_modulestore_preview_mapping] Access to a protected member _get_modulestore_branch_setting of a client class
lms/djangoapps/courseware/tests/test_courses.py:71: [C0322(no-space-before-operator), ModuleStoreBranchSettingTest.test_default_modulestore_branch_mapping] Operator not preceded by a space
MODULESTORE_BRANCH='fake_default_branch',
^
)
def test_default_modulestore_branch_mapping(self):
lms/djangoapps/courseware/tests/test_courses.py:74: [W0212(protected-access), ModuleStoreBranchSettingTest.test_default_modulestore_branch_mapping] Access to a protected member _get_modulestore_branch_setting of a client class
lms/djangoapps/courseware/tests/test_draft_modulestore.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/courseware/tests/test_favicon.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/courseware/tests/test_favicon.py:12: [C0111(missing-docstring), FaviconTestCase] Missing docstring
lms/djangoapps/courseware/tests/test_footer.py:12: [C0111(missing-docstring), TestFooter] Missing docstring
lms/djangoapps/courseware/tests/test_footer.py:9: [W0611(unused-import)] Unused import override_settings
lms/djangoapps/courseware/tests/test_lti_integration.py:48: [C0103(invalid-name), TestLTI.setUp] Invalid name "sourcedId" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/tests/test_masquerade.py:47: [C0111(missing-docstring), TestStaffMasqueradeAsStudent.get_cw_section] Missing docstring
lms/djangoapps/courseware/tests/test_masquerade.py:83: [C0111(missing-docstring), TestStaffMasqueradeAsStudent.get_problem] Missing docstring
lms/djangoapps/courseware/tests/test_microsites.py:62: [C0111(missing-docstring), TestMicrosites.setup_users] Missing docstring
lms/djangoapps/courseware/tests/test_middleware.py:37: [W0212(protected-access), CoursewareMiddlewareTestCase.check_user_not_enrolled_redirect] Access to a protected member _headers of a client class
lms/djangoapps/courseware/tests/test_model_data.py:25: [C0111(missing-docstring), mock_field] Missing docstring
lms/djangoapps/courseware/tests/test_model_data.py:32: [W0102(dangerous-default-value), mock_descriptor] Dangerous default value [] as argument
lms/djangoapps/courseware/tests/test_model_data.py:32: [C0111(missing-docstring), mock_descriptor] Missing docstring
lms/djangoapps/courseware/tests/test_model_data.py:43: [C0103(invalid-name)] Invalid name "user_state_summary_key" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/courseware/tests/test_model_data.py:44: [C0103(invalid-name)] Invalid name "settings_key" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/courseware/tests/test_model_data.py:45: [C0103(invalid-name)] Invalid name "user_state_key" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/courseware/tests/test_model_data.py:46: [C0103(invalid-name)] Invalid name "prefs_key" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/courseware/tests/test_model_data.py:47: [C0103(invalid-name)] Invalid name "user_info_key" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/courseware/tests/test_model_data.py:50: [C0111(missing-docstring), StudentModuleFactory] Missing docstring
lms/djangoapps/courseware/tests/test_model_data.py:55: [C0111(missing-docstring), TestInvalidScopes] Missing docstring
lms/djangoapps/courseware/tests/test_model_data.py:106: [E1101(no-member), TestStudentModuleStorage.setUp] Instance of 'SubFactory' has no 'id' member
lms/djangoapps/courseware/tests/test_model_data.py:180: [C0111(missing-docstring), TestMissingStudentModule] Missing docstring
lms/djangoapps/courseware/tests/test_module_render.py:403: [C0111(missing-docstring), TestTOC.setup_modulestore] Missing docstring
lms/djangoapps/courseware/tests/test_module_render.py:410: [W0212(protected-access), TestTOC.setup_modulestore] Access to a protected member _get_modulestore_for_courseid of a client class
lms/djangoapps/courseware/tests/test_module_render.py:403: [W0613(unused-argument), TestTOC.setup_modulestore] Unused argument 'default_ms'
lms/djangoapps/courseware/tests/test_module_render.py:405: [W0201(attribute-defined-outside-init), TestTOC.setup_modulestore] Attribute 'chapter' defined outside __init__
lms/djangoapps/courseware/tests/test_module_render.py:410: [W0201(attribute-defined-outside-init), TestTOC.setup_modulestore] Attribute 'modulestore' defined outside __init__
lms/djangoapps/courseware/tests/test_module_render.py:413: [W0201(attribute-defined-outside-init), TestTOC.setup_modulestore] Attribute 'toy_course' defined outside __init__
lms/djangoapps/courseware/tests/test_module_render.py:408: [W0201(attribute-defined-outside-init), TestTOC.setup_modulestore] Attribute 'request' defined outside __init__
lms/djangoapps/courseware/tests/test_module_render.py:404: [W0201(attribute-defined-outside-init), TestTOC.setup_modulestore] Attribute 'course_key' defined outside __init__
lms/djangoapps/courseware/tests/test_module_render.py:414: [W0201(attribute-defined-outside-init), TestTOC.setup_modulestore] Attribute 'field_data_cache' defined outside __init__
lms/djangoapps/courseware/tests/test_module_render.py:893: [C0111(missing-docstring), TestAnonymousStudentId._get_anonymous_id] Missing docstring
lms/djangoapps/courseware/tests/test_split_module.py:109: [E1101(no-member), SplitTestBase._check_split_test] Instance of 'UserPartition' has no 'id' member
lms/djangoapps/courseware/tests/test_submitting_problems.py:167: [W0201(attribute-defined-outside-init), TestSubmittingProblems.add_graded_section_to_course] Attribute 'chapter' defined outside __init__
lms/djangoapps/courseware/tests/test_submitting_problems.py:381: [W0201(attribute-defined-outside-init), TestCourseGrader.dropping_setup] Attribute 'hw1_names' defined outside __init__
lms/djangoapps/courseware/tests/test_submitting_problems.py:357: [W0201(attribute-defined-outside-init), TestCourseGrader.weighted_setup] Attribute 'final_question' defined outside __init__
lms/djangoapps/courseware/tests/test_submitting_problems.py:385: [W0201(attribute-defined-outside-init), TestCourseGrader.dropping_setup] Attribute 'homework1' defined outside __init__
lms/djangoapps/courseware/tests/test_submitting_problems.py:383: [W0201(attribute-defined-outside-init), TestCourseGrader.dropping_setup] Attribute 'hw3_names' defined outside __init__
lms/djangoapps/courseware/tests/test_submitting_problems.py:391: [W0201(attribute-defined-outside-init), TestCourseGrader.dropping_setup] Attribute 'homework3' defined outside __init__
lms/djangoapps/courseware/tests/test_submitting_problems.py:388: [W0201(attribute-defined-outside-init), TestCourseGrader.dropping_setup] Attribute 'homework2' defined outside __init__
lms/djangoapps/courseware/tests/test_submitting_problems.py:355: [W0201(attribute-defined-outside-init), TestCourseGrader.weighted_setup] Attribute 'problem' defined outside __init__
lms/djangoapps/courseware/tests/test_submitting_problems.py:356: [W0201(attribute-defined-outside-init), TestCourseGrader.weighted_setup] Attribute 'final' defined outside __init__
lms/djangoapps/courseware/tests/test_submitting_problems.py:354: [W0201(attribute-defined-outside-init), TestCourseGrader.weighted_setup] Attribute 'homework' defined outside __init__
lms/djangoapps/courseware/tests/test_submitting_problems.py:382: [W0201(attribute-defined-outside-init), TestCourseGrader.dropping_setup] Attribute 'hw2_names' defined outside __init__
lms/djangoapps/courseware/tests/test_tabs.py:67: [W0621(redefined-outer-name), StaticTabDateTestCase.test_get_static_tab_contents] Redefining name 'static_tab' from outer scope (line 15)
lms/djangoapps/courseware/tests/test_video_handlers.py:28: [C0103(invalid-name)] Invalid name "SRT_content" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/courseware/tests/test_video_handlers.py:75: [C0111(missing-docstring), _get_subs_id] Missing docstring
lms/djangoapps/courseware/tests/test_video_handlers.py:91: [C0111(missing-docstring), _upload_sjson_file] Missing docstring
lms/djangoapps/courseware/tests/test_video_handlers.py:96: [C0111(missing-docstring), _upload_file] Missing docstring
lms/djangoapps/courseware/tests/test_video_mongo.py:31: [C0111(missing-docstring), TestVideoYouTube] Missing docstring
lms/djangoapps/courseware/tests/test_video_mongo.py:154: [W0621(redefined-outer-name), TestGetHtmlMethod.test_get_html_track] Redefining name 'SOURCE_XML' from outer scope (line 27)
lms/djangoapps/courseware/tests/test_video_mongo.py:154: [C0103(invalid-name), TestGetHtmlMethod.test_get_html_track] Invalid name "SOURCE_XML" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/tests/test_video_mongo.py:230: [C0103(invalid-name), TestGetHtmlMethod.test_get_html_track] Invalid name "DATA" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/tests/test_video_mongo.py:265: [W0621(redefined-outer-name), TestGetHtmlMethod.test_get_html_source] Redefining name 'SOURCE_XML' from outer scope (line 27)
lms/djangoapps/courseware/tests/test_video_mongo.py:265: [C0103(invalid-name), TestGetHtmlMethod.test_get_html_source] Invalid name "SOURCE_XML" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/tests/test_video_mongo.py:349: [C0103(invalid-name), TestGetHtmlMethod.test_get_html_source] Invalid name "DATA" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/tests/test_video_mongo.py:379: [W0621(redefined-outer-name), TestGetHtmlMethod.test_get_html_with_non_existent_edx_video_id] Redefining name 'SOURCE_XML' from outer scope (line 27)
lms/djangoapps/courseware/tests/test_video_mongo.py:379: [C0103(invalid-name), TestGetHtmlMethod.test_get_html_with_non_existent_edx_video_id] Invalid name "SOURCE_XML" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/tests/test_video_mongo.py:403: [C0103(invalid-name), TestGetHtmlMethod.test_get_html_with_non_existent_edx_video_id] Invalid name "DATA" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/tests/test_video_mongo.py:432: [W0621(redefined-outer-name), TestGetHtmlMethod.test_get_html_with_mocked_edx_video_id] Redefining name 'SOURCE_XML' from outer scope (line 27)
lms/djangoapps/courseware/tests/test_video_mongo.py:432: [C0103(invalid-name), TestGetHtmlMethod.test_get_html_with_mocked_edx_video_id] Invalid name "SOURCE_XML" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/tests/test_video_mongo.py:487: [C0103(invalid-name), TestGetHtmlMethod.test_get_html_with_mocked_edx_video_id] Invalid name "DATA" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/tests/test_video_mongo.py:547: [W0621(redefined-outer-name), TestGetHtmlMethod.test_get_html_with_existing_edx_video_id] Redefining name 'SOURCE_XML' from outer scope (line 27)
lms/djangoapps/courseware/tests/test_video_mongo.py:547: [C0103(invalid-name), TestGetHtmlMethod.test_get_html_with_existing_edx_video_id] Invalid name "SOURCE_XML" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/tests/test_video_mongo.py:604: [C0103(invalid-name), TestGetHtmlMethod.test_get_html_with_existing_edx_video_id] Invalid name "DATA" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/tests/test_video_mongo.py:645: [W0621(redefined-outer-name), TestGetHtmlMethod.test_get_html_cdn_source] Redefining name 'SOURCE_XML' from outer scope (line 27)
lms/djangoapps/courseware/tests/test_video_mongo.py:636: [C0111(missing-docstring), TestGetHtmlMethod.test_get_html_cdn_source.side_effect] Missing docstring
lms/djangoapps/courseware/tests/test_video_mongo.py:636: [W0613(unused-argument), TestGetHtmlMethod.test_get_html_cdn_source.side_effect] Unused argument 'kwargs'
lms/djangoapps/courseware/tests/test_video_mongo.py:645: [C0103(invalid-name), TestGetHtmlMethod.test_get_html_cdn_source] Invalid name "SOURCE_XML" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/tests/test_video_mongo.py:708: [C0103(invalid-name), TestGetHtmlMethod.test_get_html_cdn_source] Invalid name "DATA" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/courseware/tests/test_video_mongo.py:18: [W0611(unused-import)] Unused import get_video_info
lms/djangoapps/courseware/tests/test_video_mongo.py:4: [W0611(unused-import)] Unused import unittest
lms/djangoapps/courseware/tests/test_video_mongo.py:18: [W0611(unused-import)] Unused import ValVideoNotFoundError
lms/djangoapps/courseware/tests/test_video_mongo.py:15: [W0611(unused-import)] Unused import get_test_descriptor_system
lms/djangoapps/courseware/tests/test_video_mongo.py:10: [W0611(unused-import)] Unused import ScopeIds
lms/djangoapps/courseware/tests/test_video_mongo.py:11: [W0611(unused-import)] Unused import DictFieldData
lms/djangoapps/courseware/tests/test_video_mongo.py:13: [W0611(unused-import)] Unused import VideoDescriptor
lms/djangoapps/courseware/tests/test_video_xml.py:19: [W0611(unused-import)] Unused import get_test_descriptor_system
lms/djangoapps/courseware/tests/test_video_xml.py:21: [W0611(unused-import)] Unused import ScopeIds
lms/djangoapps/courseware/tests/test_video_xml.py:19: [W0611(unused-import)] Unused import get_test_system
lms/djangoapps/courseware/tests/test_video_xml.py:20: [W0611(unused-import)] Unused import DictFieldData
lms/djangoapps/courseware/tests/test_view_authentication.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/courseware/tests/test_view_authentication.py:107: [W0221(arguments-differ), TestViewAuth.login] Arguments number differs from overridden method
lms/djangoapps/courseware/tests/test_view_authentication.py:406: [E1101(no-member), TestBetatesterAccess.setUp] Instance of 'CourseFactory' has no 'id' member
lms/djangoapps/courseware/tests/test_view_authentication.py:413: [E1101(no-member), TestBetatesterAccess.test_course_beta_period] Instance of 'CourseFactory' has no 'has_started' member
lms/djangoapps/courseware/tests/test_view_authentication.py:427: [E1101(no-member), TestBetatesterAccess.test_content_beta_period] Instance of 'CourseFactory' has no 'id' member
lms/djangoapps/courseware/tests/test_view_authentication.py:430: [E1101(no-member), TestBetatesterAccess.test_content_beta_period] Instance of 'CourseFactory' has no 'id' member
lms/djangoapps/courseware/tests/tests.py:155: [C0111(missing-docstring), TestDraftModuleStore] Missing docstring
lms/djangoapps/dashboard/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/dashboard/support_urls.py:11: [E1120(no-value-for-parameter)] No value passed for parameter 'cls' in function call
lms/djangoapps/dashboard/support_urls.py:12: [E1120(no-value-for-parameter)] No value passed for parameter 'cls' in function call
lms/djangoapps/dashboard/sysadmin.py:40: [W0402(deprecated-module)] Uses of a deprecated module 'track.views'
lms/djangoapps/dashboard/management/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/dashboard/management/commands/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/dashboard/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/debug/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/debug/models.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/debug/views.py:24: [C0103(invalid-name), run_python] Invalid name "c" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/debug/views.py:29: [C0103(invalid-name), run_python] Invalid name "g" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/debug/views.py:32: [W0703(broad-except), run_python] Catching too general exception Exception
lms/djangoapps/debug/views.py:32: [C0103(invalid-name), run_python] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/debug/views.py:32: [W0612(unused-variable), run_python] Unused variable 'e'
lms/djangoapps/debug/management/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/debug/management/commands/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/helpers.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/helpers.py:7: [C0111(missing-docstring), include_mustache_templates] Missing docstring
lms/djangoapps/django_comment_client/helpers.py:10: [C0111(missing-docstring), include_mustache_templates.is_valid_file_name] Missing docstring
lms/djangoapps/django_comment_client/helpers.py:13: [C0111(missing-docstring), include_mustache_templates.read_file] Missing docstring
lms/djangoapps/django_comment_client/helpers.py:16: [C0111(missing-docstring), include_mustache_templates.template_id_from_file_name] Missing docstring
lms/djangoapps/django_comment_client/helpers.py:19: [C0111(missing-docstring), include_mustache_templates.process_mako] Missing docstring
lms/djangoapps/django_comment_client/helpers.py:22: [W0622(redefined-builtin), include_mustache_templates.make_script_tag] Redefining built-in 'id'
lms/djangoapps/django_comment_client/helpers.py:22: [C0103(invalid-name), include_mustache_templates.make_script_tag] Invalid name "id" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/helpers.py:22: [C0111(missing-docstring), include_mustache_templates.make_script_tag] Missing docstring
lms/djangoapps/django_comment_client/helpers.py:22: [C0103(invalid-name), include_mustache_templates.make_script_tag] Invalid name "id" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/middleware.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/models.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/mustache_helpers.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/mustache_helpers.py:10: [C0111(missing-docstring), pluralize] Missing docstring
lms/djangoapps/django_comment_client/mustache_helpers.py:10: [W0613(unused-argument), pluralize] Unused argument 'content'
lms/djangoapps/django_comment_client/mustache_helpers.py:19: [C0111(missing-docstring), url_for_user] Missing docstring
lms/djangoapps/django_comment_client/mustache_helpers.py:23: [C0111(missing-docstring), close_thread_text] Missing docstring
lms/djangoapps/django_comment_client/mustache_helpers.py:29: [C0103(invalid-name)] Invalid name "current_module" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/django_comment_client/mustache_helpers.py:30: [C0103(invalid-name)] Invalid name "all_functions" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/django_comment_client/mustache_helpers.py:32: [C0103(invalid-name)] Invalid name "mustache_helpers" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/django_comment_client/permissions.py:30: [C0111(missing-docstring), has_permission] Missing docstring
lms/djangoapps/django_comment_client/permissions.py:41: [C0111(missing-docstring), _check_condition] Missing docstring
lms/djangoapps/django_comment_client/permissions.py:42: [C0111(missing-docstring), _check_condition.check_open] Missing docstring
lms/djangoapps/django_comment_client/permissions.py:42: [W0613(unused-argument), _check_condition.check_open] Unused argument 'user'
lms/djangoapps/django_comment_client/permissions.py:48: [C0111(missing-docstring), _check_condition.check_author] Missing docstring
lms/djangoapps/django_comment_client/permissions.py:54: [C0111(missing-docstring), _check_condition.check_question_author] Missing docstring
lms/djangoapps/django_comment_client/permissions.py:83: [C0111(missing-docstring), _check_conditions_permissions.test] Missing docstring
lms/djangoapps/django_comment_client/permissions.py:126: [C0111(missing-docstring), check_permissions_by_view] Missing docstring
lms/djangoapps/django_comment_client/permissions.py:129: [C0103(invalid-name), check_permissions_by_view] Invalid name "p" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/permissions.py:131: [W1201(logging-not-lazy), check_permissions_by_view] Specify string format arguments as logging function parameters
lms/djangoapps/django_comment_client/settings.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/tests.py:15: [C0111(missing-docstring), PermissionsTestCase] Missing docstring
lms/djangoapps/django_comment_client/tests.py:16: [C0111(missing-docstring), PermissionsTestCase.random_str] Missing docstring
lms/djangoapps/django_comment_client/tests.py:43: [C0103(invalid-name), PermissionsTestCase.testDefaultRoles] Invalid name "testDefaultRoles" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/django_comment_client/tests.py:43: [C0111(missing-docstring), PermissionsTestCase.testDefaultRoles] Missing docstring
lms/djangoapps/django_comment_client/tests.py:47: [C0103(invalid-name), PermissionsTestCase.testPermission] Invalid name "testPermission" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/django_comment_client/tests.py:47: [C0111(missing-docstring), PermissionsTestCase.testPermission] Missing docstring
lms/djangoapps/django_comment_client/urls.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/utils.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/utils.py:29: [C0111(missing-docstring), extract] Missing docstring
lms/djangoapps/django_comment_client/utils.py:33: [C0111(missing-docstring), strip_none] Missing docstring
lms/djangoapps/django_comment_client/utils.py:37: [C0111(missing-docstring), strip_blank] Missing docstring
lms/djangoapps/django_comment_client/utils.py:38: [C0103(invalid-name), strip_blank._is_blank] Invalid name "v" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/utils.py:38: [C0111(missing-docstring), strip_blank._is_blank] Missing docstring
lms/djangoapps/django_comment_client/utils.py:38: [C0103(invalid-name), strip_blank._is_blank] Invalid name "v" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/utils.py:45: [C0111(missing-docstring), merge_dict] Missing docstring
lms/djangoapps/django_comment_client/utils.py:49: [C0111(missing-docstring), get_role_ids] Missing docstring
lms/djangoapps/django_comment_client/utils.py:54: [C0111(missing-docstring), has_forum_access] Missing docstring
lms/djangoapps/django_comment_client/utils.py:62: [C0111(missing-docstring), _get_discussion_modules] Missing docstring
lms/djangoapps/django_comment_client/utils.py:65: [C0111(missing-docstring), _get_discussion_modules.has_required_keys] Missing docstring
lms/djangoapps/django_comment_client/utils.py:68: [W1201(logging-not-lazy), _get_discussion_modules.has_required_keys] Specify string format arguments as logging function parameters
lms/djangoapps/django_comment_client/utils.py:75: [C0111(missing-docstring), get_discussion_id_map] Missing docstring
lms/djangoapps/django_comment_client/utils.py:76: [C0111(missing-docstring), get_discussion_id_map.get_entry] Missing docstring
lms/djangoapps/django_comment_client/utils.py:85: [C0111(missing-docstring), _filter_unstarted_categories] Missing docstring
lms/djangoapps/django_comment_client/utils.py:123: [C0111(missing-docstring), _sort_map_entries] Missing docstring
lms/djangoapps/django_comment_client/utils.py:146: [W0622(redefined-builtin), get_discussion_category_map] Redefining built-in 'id'
lms/djangoapps/django_comment_client/utils.py:142: [W0621(redefined-outer-name), get_discussion_category_map] Redefining name 'is_course_cohorted' from outer scope (line 20)
lms/djangoapps/django_comment_client/utils.py:135: [C0111(missing-docstring), get_discussion_category_map] Missing docstring
lms/djangoapps/django_comment_client/utils.py:146: [C0103(invalid-name), get_discussion_category_map] Invalid name "id" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/utils.py:136: [W0612(unused-variable), get_discussion_category_map] Unused variable 'course_id'
lms/djangoapps/django_comment_client/utils.py:223: [C0111(missing-docstring), JsonResponse] Missing docstring
lms/djangoapps/django_comment_client/utils.py:223: [R0924(incomplete-protocol), JsonResponse] Badly implemented Container, implements __delitem__, __getitem__, __setitem__ but not __len__
lms/djangoapps/django_comment_client/utils.py:230: [C0111(missing-docstring), JsonError] Missing docstring
lms/djangoapps/django_comment_client/utils.py:231: [W0102(dangerous-default-value), JsonError.__init__] Dangerous default value [] as argument
lms/djangoapps/django_comment_client/utils.py:230: [R0924(incomplete-protocol), JsonError] Badly implemented Container, implements __delitem__, __getitem__, __setitem__ but not __len__
lms/djangoapps/django_comment_client/utils.py:241: [C0111(missing-docstring), HtmlResponse] Missing docstring
lms/djangoapps/django_comment_client/utils.py:241: [R0924(incomplete-protocol), HtmlResponse] Badly implemented Container, implements __delitem__, __getitem__, __setitem__ but not __len__
lms/djangoapps/django_comment_client/utils.py:246: [C0111(missing-docstring), ViewNameMiddleware] Missing docstring
lms/djangoapps/django_comment_client/utils.py:247: [C0111(missing-docstring), ViewNameMiddleware.process_view] Missing docstring
lms/djangoapps/django_comment_client/utils.py:247: [W0613(unused-argument), ViewNameMiddleware.process_view] Unused argument 'view_args'
lms/djangoapps/django_comment_client/utils.py:247: [W0613(unused-argument), ViewNameMiddleware.process_view] Unused argument 'view_kwargs'
lms/djangoapps/django_comment_client/utils.py:258: [C0111(missing-docstring), QueryCountDebugMiddleware.process_response] Missing docstring
lms/djangoapps/django_comment_client/utils.py:273: [W1201(logging-not-lazy), QueryCountDebugMiddleware.process_response] Specify string format arguments as logging function parameters
lms/djangoapps/django_comment_client/utils.py:258: [W0613(unused-argument), QueryCountDebugMiddleware.process_response] Unused argument 'request'
lms/djangoapps/django_comment_client/utils.py:277: [C0111(missing-docstring), get_ability] Missing docstring
lms/djangoapps/django_comment_client/utils.py:313: [C0111(missing-docstring), get_annotated_content_infos.annotate] Missing docstring
lms/djangoapps/django_comment_client/utils.py:325: [C0111(missing-docstring), get_metadata_for_threads] Missing docstring
lms/djangoapps/django_comment_client/utils.py:326: [C0111(missing-docstring), get_metadata_for_threads.infogetter] Missing docstring
lms/djangoapps/django_comment_client/utils.py:335: [C0111(missing-docstring), render_mustache] Missing docstring
lms/djangoapps/django_comment_client/utils.py:335: [W0613(unused-argument), render_mustache] Unused argument 'args'
lms/djangoapps/django_comment_client/utils.py:335: [W0613(unused-argument), render_mustache] Unused argument 'kwargs'
lms/djangoapps/django_comment_client/utils.py:340: [C0111(missing-docstring), permalink] Missing docstring
lms/djangoapps/django_comment_client/utils.py:353: [C0111(missing-docstring), extend_content] Missing docstring
lms/djangoapps/django_comment_client/utils.py:372: [C0111(missing-docstring), add_courseware_context] Missing docstring
lms/djangoapps/django_comment_client/utils.py:453: [C0103(invalid-name), get_group_id_for_comments_service] Invalid name "get_group_id_for_comments_service" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/django_comment_client/base/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/base/tests.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/base/tests.py:385: [W0613(unused-argument), ViewsTestCase.test_update_thread_wrong_commentable_id] Unused argument 'mock_get_discussion_id_map'
lms/djangoapps/django_comment_client/base/tests.py:807: [E0602(undefined-variable), ViewPermissionsTestCase._set_mock_request_thread_and_comment.handle_request] Undefined variable 'ArgumentError'
lms/djangoapps/django_comment_client/base/tests.py:800: [W0613(unused-argument), ViewPermissionsTestCase._set_mock_request_thread_and_comment.handle_request] Unused argument 'kwargs'
lms/djangoapps/django_comment_client/base/tests.py:879: [W0613(unused-argument), UpdateThreadUnicodeTestCase._test_unicode_data] Unused argument 'mock_get_discussion_id_map'
lms/djangoapps/django_comment_client/base/tests.py:1012: [C0103(invalid-name), UsersEndpointTestCase.test_requires_GET] Invalid name "test_requires_GET" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/django_comment_client/base/tests.py:1034: [E1101(no-member), UsersEndpointTestCase.test_requires_requestor_enrolled_in_course] Instance of 'CourseEnrollmentFactory' has no 'delete' member
lms/djangoapps/django_comment_client/base/urls.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/base/views.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/base/views.py:38: [C0103(invalid-name), permitted] Invalid name "fn" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/base/views.py:38: [C0111(missing-docstring), permitted] Missing docstring
lms/djangoapps/django_comment_client/base/views.py:38: [C0103(invalid-name), permitted] Invalid name "fn" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/base/views.py:40: [C0111(missing-docstring), permitted.wrapper] Missing docstring
lms/djangoapps/django_comment_client/base/views.py:41: [C0111(missing-docstring), permitted.wrapper.fetch_content] Missing docstring
lms/djangoapps/django_comment_client/base/views.py:57: [C0111(missing-docstring), ajax_content_response] Missing docstring
lms/djangoapps/django_comment_client/base/views.py:223: [W0613(unused-argument), delete_thread] Unused argument 'request'
lms/djangoapps/django_comment_client/base/views.py:307: [W0613(unused-argument), delete_comment] Unused argument 'request'
lms/djangoapps/django_comment_client/base/views.py:480: [C0111(missing-docstring), follow_thread] Missing docstring
lms/djangoapps/django_comment_client/base/views.py:480: [W0613(unused-argument), follow_thread] Unused argument 'course_id'
lms/djangoapps/django_comment_client/base/views.py:490: [W0613(unused-argument), follow_commentable] Unused argument 'course_id'
lms/djangoapps/django_comment_client/base/views.py:504: [C0111(missing-docstring), follow_user] Missing docstring
lms/djangoapps/django_comment_client/base/views.py:504: [W0613(unused-argument), follow_user] Unused argument 'course_id'
lms/djangoapps/django_comment_client/base/views.py:514: [W0613(unused-argument), unfollow_thread] Unused argument 'course_id'
lms/djangoapps/django_comment_client/base/views.py:528: [W0613(unused-argument), unfollow_commentable] Unused argument 'course_id'
lms/djangoapps/django_comment_client/base/views.py:542: [W0613(unused-argument), unfollow_user] Unused argument 'course_id'
lms/djangoapps/django_comment_client/base/views.py:556: [W0613(unused-argument), upload] Unused argument 'course_id'
lms/djangoapps/django_comment_client/base/views.py:621: [W0612(unused-variable), users] Unused variable 'course'
lms/djangoapps/django_comment_client/base/views.py:3: [W0611(unused-import)] Unused import os
lms/djangoapps/django_comment_client/forum/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/forum/tests.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/forum/tests.py:97: [W0201(attribute-defined-outside-init), ViewsExceptionTestCase.test_user_followed_threads_exception] Attribute 'response' defined outside __init__
lms/djangoapps/django_comment_client/forum/tests.py:256: [W0613(unused-argument), SingleThreadTestCase.test_post] Unused argument 'mock_request'
lms/djangoapps/django_comment_client/forum/tests.py:285: [W0201(attribute-defined-outside-init), SingleCohortedThreadTestCase._create_mock_cohorted_thread] Attribute 'mock_text' defined outside __init__
lms/djangoapps/django_comment_client/forum/tests.py:286: [W0201(attribute-defined-outside-init), SingleCohortedThreadTestCase._create_mock_cohorted_thread] Attribute 'mock_thread_id' defined outside __init__
lms/djangoapps/django_comment_client/forum/tests.py:428: [W0221(arguments-differ), SingleThreadGroupIdTestCase.call_view] Arguments number differs from overridden method
lms/djangoapps/django_comment_client/forum/tests.py:525: [W0221(arguments-differ), ForumFormDiscussionGroupIdTestCase.call_view] Arguments number differs from overridden method
lms/djangoapps/django_comment_client/forum/tests.py:606: [W0221(arguments-differ), UserProfileDiscussionGroupIdTestCase.call_view] Arguments number differs from overridden method
lms/djangoapps/django_comment_client/forum/tests.py:884: [W0613(unused-argument), UserProfileTestCase.test_404_profiled_user] Unused argument 'mock_request'
lms/djangoapps/django_comment_client/forum/tests.py:888: [W0612(unused-variable), UserProfileTestCase.test_404_profiled_user] Unused variable 'response'
lms/djangoapps/django_comment_client/forum/tests.py:894: [W0613(unused-argument), UserProfileTestCase.test_404_course] Unused argument 'mock_request'
lms/djangoapps/django_comment_client/forum/tests.py:898: [W0612(unused-variable), UserProfileTestCase.test_404_course] Unused variable 'response'
lms/djangoapps/django_comment_client/forum/urls.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/forum/views.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/forum/views.py:236: [C0111(missing-docstring), single_thread] Missing docstring
lms/djangoapps/django_comment_client/forum/views.py:256: [C0103(invalid-name), single_thread] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/forum/views.py:329: [C0111(missing-docstring), user_profile] Missing docstring
lms/djangoapps/django_comment_client/forum/views.py:387: [C0111(missing-docstring), followed_threads] Missing docstring
lms/djangoapps/django_comment_client/management/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/management/commands/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/management/commands/assign_role.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/management/commands/assign_role.py:8: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/django_comment_client/management/commands/assign_roles_for_course.py:13: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/django_comment_client/management/commands/create_roles_for_existing.py:13: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/django_comment_client/management/commands/get_discussion_link.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/management/commands/get_discussion_link.py:9: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/django_comment_client/management/commands/reload_forum_users.py:10: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/django_comment_client/management/commands/reload_forum_users.py:13: [C0111(missing-docstring), Command.adduser] Missing docstring
lms/djangoapps/django_comment_client/management/commands/reload_forum_users.py:18: [W0703(broad-except), Command.adduser] Catching too general exception Exception
lms/djangoapps/django_comment_client/management/commands/seed_permissions_roles.py:9: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/django_comment_client/management/commands/show_permissions.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/management/commands/show_permissions.py:5: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/django_comment_client/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/tests/factories.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/tests/factories.py:5: [C0111(missing-docstring), RoleFactory] Missing docstring
lms/djangoapps/django_comment_client/tests/factories.py:11: [C0111(missing-docstring), PermissionFactory] Missing docstring
lms/djangoapps/django_comment_client/tests/group_id.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/tests/group_id.py:5: [C0111(missing-docstring), GroupIdAssertionMixin] Missing docstring
lms/djangoapps/django_comment_client/tests/group_id.py:16: [C0111(missing-docstring), GroupIdAssertionMixin._assert_comments_service_called_with_group_id] Missing docstring
lms/djangoapps/django_comment_client/tests/group_id.py:20: [C0111(missing-docstring), GroupIdAssertionMixin._assert_comments_service_called_without_group_id] Missing docstring
lms/djangoapps/django_comment_client/tests/group_id.py:24: [C0111(missing-docstring), GroupIdAssertionMixin._assert_html_response_contains_group_info] Missing docstring
lms/djangoapps/django_comment_client/tests/group_id.py:45: [C0111(missing-docstring), GroupIdAssertionMixin._assert_thread_contains_group_info] Missing docstring
lms/djangoapps/django_comment_client/tests/test_middleware.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/tests/test_middleware.py:11: [C0103(invalid-name), AjaxExceptionTestCase.setUp] Invalid name "a" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/tests/test_middleware.py:9: [C0111(missing-docstring), AjaxExceptionTestCase] Missing docstring
lms/djangoapps/django_comment_client/tests/test_models.py:31: [C0103(invalid-name), RoleClassTestCase.setUp] Invalid name "TA_role_2" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/tests/test_models.py:28: [C0103(invalid-name), RoleClassTestCase.setUp] Invalid name "TA_role" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/tests/test_models.py:34: [C0111(missing-docstring), RoleClassTestCase.setUp.Dummy] Missing docstring
lms/djangoapps/django_comment_client/tests/test_models.py:35: [E0211(no-method-argument), RoleClassTestCase.setUp.Dummy.render_template] Method has no argument
lms/djangoapps/django_comment_client/tests/test_models.py:35: [C0111(missing-docstring), RoleClassTestCase.setUp.Dummy.render_template] Missing docstring
lms/djangoapps/django_comment_client/tests/test_models.py:34: [W0612(unused-variable), RoleClassTestCase.setUp.Dummy] Unused variable 'Dummy'
lms/djangoapps/django_comment_client/tests/test_mustache_helpers.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/tests/test_mustache_helpers.py:5: [C0111(missing-docstring), PluralizeTest] Missing docstring
lms/djangoapps/django_comment_client/tests/test_mustache_helpers.py:21: [C0103(invalid-name), CloseThreadTextTest.setUp] Invalid name "contentOpen" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/tests/test_mustache_helpers.py:20: [C0103(invalid-name), CloseThreadTextTest.setUp] Invalid name "contentClosed" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/tests/test_mustache_helpers.py:18: [C0111(missing-docstring), CloseThreadTextTest] Missing docstring
lms/djangoapps/django_comment_client/tests/test_utils.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/tests/test_utils.py:21: [C0111(missing-docstring), DictionaryTestCase] Missing docstring
lms/djangoapps/django_comment_client/tests/test_utils.py:23: [C0103(invalid-name), DictionaryTestCase.test_extract] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/tests/test_utils.py:29: [C0103(invalid-name), DictionaryTestCase.test_strip_none] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/tests/test_utils.py:34: [C0103(invalid-name), DictionaryTestCase.test_strip_blank] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/tests/test_utils.py:39: [C0103(invalid-name), DictionaryTestCase.test_merge_dict] Invalid name "d1" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/tests/test_utils.py:40: [C0103(invalid-name), DictionaryTestCase.test_merge_dict] Invalid name "d2" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/tests/test_utils.py:59: [E1101(no-member), AccessUtilsTestCase.setUp] Instance of 'RoleFactory' has no 'users' member
lms/djangoapps/django_comment_client/tests/test_utils.py:64: [E1101(no-member), AccessUtilsTestCase.setUp] Instance of 'RoleFactory' has no 'users' member
lms/djangoapps/django_comment_client/tests/test_utils.py:66: [E1101(no-member), AccessUtilsTestCase.setUp] Instance of 'RoleFactory' has no 'users' member
lms/djangoapps/django_comment_client/tests/test_utils.py:68: [E1101(no-member), AccessUtilsTestCase.setUp] Instance of 'RoleFactory' has no 'users' member
lms/djangoapps/django_comment_client/tests/test_utils.py:167: [C0111(missing-docstring), CategoryMapTestCase.create_discussion] Missing docstring
lms/djangoapps/django_comment_client/tests/test_utils.py:178: [C0111(missing-docstring), CategoryMapTestCase.assertCategoryMapEquals] Missing docstring
lms/djangoapps/django_comment_client/tests/test_utils.py:197: [C0111(missing-docstring), CategoryMapTestCase.test_configured_topics.check_cohorted_topics] Missing docstring
lms/djangoapps/django_comment_client/tests/test_utils.py:258: [C0111(missing-docstring), CategoryMapTestCase.test_tree.check_cohorted] Missing docstring
lms/djangoapps/django_comment_client/tests/test_utils.py:620: [C0111(missing-docstring), JsonResponseTestCase] Missing docstring
lms/djangoapps/django_comment_client/tests/test_utils.py:621: [C0111(missing-docstring), JsonResponseTestCase._test_unicode_data] Missing docstring
lms/djangoapps/django_comment_client/tests/unicode.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/tests/unicode.py:4: [C0111(missing-docstring), UnicodeTestMixin] Missing docstring
lms/djangoapps/django_comment_client/tests/unicode.py:11: [C0103(invalid-name), UnicodeTestMixin.test_CJK] Invalid name "test_CJK" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/django_comment_client/tests/unicode.py:14: [C0103(invalid-name), UnicodeTestMixin.test_non_BMP] Invalid name "test_non_BMP" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/django_comment_client/tests/utils.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/tests/mock_cs_server/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/tests/mock_cs_server/mock_cs_server.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/tests/mock_cs_server/mock_cs_server.py:4: [C0103(invalid-name)] Invalid name "logger" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/django_comment_client/tests/mock_cs_server/mock_cs_server.py:13: [C0103(invalid-name), MockCommentServiceRequestHandler.do_POST] Invalid name "do_POST" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/django_comment_client/tests/mock_cs_server/mock_cs_server.py:33: [W0212(protected-access), MockCommentServiceRequestHandler.do_POST] Access to a protected member _response_str of a client class
lms/djangoapps/django_comment_client/tests/mock_cs_server/mock_cs_server.py:35: [W1201(logging-not-lazy), MockCommentServiceRequestHandler.do_POST] Specify string format arguments as logging function parameters
lms/djangoapps/django_comment_client/tests/mock_cs_server/mock_cs_server.py:50: [C0103(invalid-name), MockCommentServiceRequestHandler.do_PUT] Invalid name "do_PUT" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/djangoapps/django_comment_client/tests/mock_cs_server/mock_cs_server.py:70: [W0212(protected-access), MockCommentServiceRequestHandler.do_PUT] Access to a protected member _response_str of a client class
lms/djangoapps/django_comment_client/tests/mock_cs_server/mock_cs_server.py:72: [W1201(logging-not-lazy), MockCommentServiceRequestHandler.do_PUT] Specify string format arguments as logging function parameters
lms/djangoapps/django_comment_client/tests/mock_cs_server/mock_cs_server.py:93: [W0102(dangerous-default-value), MockCommentServiceServer.__init__] Dangerous default value {'username': 'new', 'external_id': 1} as argument
lms/djangoapps/django_comment_client/tests/mock_cs_server/test_mock_cs_server.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/django_comment_client/tests/mock_cs_server/test_mock_cs_server.py:5: [W0403(relative-import)] Relative import 'mock_cs_server', should be 'lms.djangoapps.django_comment_client.tests.mock_cs_server.mock_cs_server'
lms/djangoapps/django_comment_client/tests/mock_cs_server/test_mock_cs_server.py:22: [W0101(unreachable), MockCommentServiceServerTest.setUp] Unreachable code
lms/djangoapps/foldit/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/foldit/models.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/foldit/models.py:40: [W0102(dangerous-default-value), Score.get_tops_n] Dangerous default value ['994559'] as argument
lms/djangoapps/foldit/models.py:40: [C0103(invalid-name), Score.get_tops_n] Invalid name "n" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/foldit/models.py:40: [C0103(invalid-name), Score.get_tops_n] Invalid name "n" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/foldit/models.py:86: [C0111(missing-docstring), PuzzleComplete.Meta] Missing docstring
lms/djangoapps/foldit/models.py:105: [E1101(no-member), PuzzleComplete.__unicode__] Instance of 'ForeignKey' has no 'username' member
lms/djangoapps/foldit/views.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/foldit/views.py:52: [C0103(invalid-name), foldit_ops] Invalid name "a" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/foldit/views.py:110: [C0111(missing-docstring), save_scores] Missing docstring
lms/djangoapps/instructor/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/instructor/hint_manager.py:66: [W0613(unused-argument), get_hints] Unused argument 'request'
lms/djangoapps/instructor/hint_manager.py:137: [W0613(unused-argument), location_to_problem_name] Unused argument 'course_id'
lms/djangoapps/instructor/hint_manager.py:168: [C0103(invalid-name), delete_hints] Invalid name "pk" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor/hint_manager.py:196: [C0103(invalid-name), change_votes] Invalid name "pk" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor/hint_manager.py:263: [C0103(invalid-name), approve] Invalid name "pk" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor/offline_gradecalc.py:20: [C0111(missing-docstring), MyEncoder] Missing docstring
lms/djangoapps/instructor/offline_gradecalc.py:22: [C0111(missing-docstring), MyEncoder._iterencode] Missing docstring
lms/djangoapps/instructor/offline_gradecalc.py:24: [E1101(no-member), MyEncoder._iterencode] Instance of 'MyEncoder' has no '_iterencode_dict' member
lms/djangoapps/instructor/offline_gradecalc.py:24: [W0212(protected-access), MyEncoder._iterencode] Access to a protected member _asdict of a client class
lms/djangoapps/instructor/offline_gradecalc.py:26: [E1101(no-member), MyEncoder._iterencode] Class 'JSONEncoder' has no '_iterencode' member
lms/djangoapps/instructor/offline_gradecalc.py:53: [C0103(invalid-name), offline_grade_calculation] Invalid name "gs" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor/offline_gradecalc.py:60: [C0103(invalid-name), offline_grade_calculation] Invalid name "dt" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor/management/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/instructor/management/commands/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/instructor/management/commands/compute_grades.py:16: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/instructor/management/commands/compute_grades.py:41: [W0703(broad-except), Command.handle] Catching too general exception Exception
lms/djangoapps/instructor/management/commands/compute_grades.py:8: [W0611(unused-import)] Unused import modulestore
lms/djangoapps/instructor/management/commands/dump_grades.py:19: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/instructor/management/commands/dump_grades.py:34: [C0103(invalid-name), Command.handle] Invalid name "fn" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor/management/commands/dump_grades.py:40: [C0103(invalid-name), Command.handle] Invalid name "fn" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor/management/commands/dump_grades.py:68: [C0103(invalid-name), Command.handle] Invalid name "fp" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor/management/commands/dump_grades.py:13: [W0611(unused-import)] Unused import modulestore
lms/djangoapps/instructor/management/commands/openended_post.py:70: [W0613(unused-argument), post_submission_for_student] Unused argument 'course'
lms/djangoapps/instructor/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/instructor/tests/test_api.py:1378: [E1101(no-member), TestInstructorAPIBulkBetaEnrollment.test_remove_without_email] Instance of 'BetaTesterFactory' has no '_roles' member
lms/djangoapps/instructor/tests/test_api.py:1406: [E1101(no-member), TestInstructorAPIBulkBetaEnrollment.test_remove_with_email] Instance of 'BetaTesterFactory' has no '_roles' member
lms/djangoapps/instructor/tests/test_api.py:2622: [E1101(no-member), TestInstructorAPIAnalyticsProxy.FakeProxyResponse.__init__] Instance of 'LookupDict' has no 'OK' member
lms/djangoapps/instructor/tests/test_ecommerce.py:203: [E1101(no-member), TestECommerceDashboardViews.test_delete_coupon] Instance of 'Coupon' has no 'id' member
lms/djangoapps/instructor/tests/test_ecommerce.py:204: [E1101(no-member), TestECommerceDashboardViews.test_delete_coupon] Instance of 'Coupon' has no 'id' member
lms/djangoapps/instructor/tests/test_ecommerce.py:209: [E1101(no-member), TestECommerceDashboardViews.test_delete_coupon] Instance of 'Coupon' has no 'id' member
lms/djangoapps/instructor/tests/test_ecommerce.py:210: [E1101(no-member), TestECommerceDashboardViews.test_delete_coupon] Instance of 'Coupon' has no 'id' member
lms/djangoapps/instructor/tests/test_ecommerce.py:229: [E1101(no-member), TestECommerceDashboardViews.test_get_coupon_info] Instance of 'Coupon' has no 'id' member
lms/djangoapps/instructor/tests/test_ecommerce.py:230: [E1101(no-member), TestECommerceDashboardViews.test_get_coupon_info] Instance of 'Coupon' has no 'id' member
lms/djangoapps/instructor/tests/test_ecommerce.py:241: [E1101(no-member), TestECommerceDashboardViews.test_get_coupon_info] Instance of 'Coupon' has no 'id' member
lms/djangoapps/instructor/tests/test_ecommerce.py:242: [E1101(no-member), TestECommerceDashboardViews.test_get_coupon_info] Instance of 'Coupon' has no 'id' member
lms/djangoapps/instructor/tests/test_ecommerce.py:257: [E1101(no-member), TestECommerceDashboardViews.test_update_coupon] Instance of 'CourseKeyField' has no 'to_deprecated_string' member
lms/djangoapps/instructor/tests/test_ecommerce.py:262: [E1101(no-member), TestECommerceDashboardViews.test_update_coupon] Instance of 'Coupon' has no 'id' member
lms/djangoapps/instructor/tests/test_ecommerce.py:12: [W0611(unused-import)] Unused import PaidCourseRegistration
lms/djangoapps/instructor/tests/test_hint_manager.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/instructor/tests/test_hint_manager.py:29: [C0103(invalid-name), HintManagerTest.setUp] Invalid name "c" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor/tests/test_hint_manager.py:60: [C0103(invalid-name), HintManagerTest.test_student_block] Invalid name "c" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor/tests/test_legacy_enrollment.py:107: [C0103(invalid-name), TestInstructorEnrollsStudent.test_enrollment_new_student_autoenroll_on_email_off] Invalid name "ce" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor/tests/test_legacy_enrollment.py:165: [C0103(invalid-name), TestInstructorEnrollsStudent.test_enrollmemt_new_student_autoenroll_off_email_off] Invalid name "ce" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor/tests/test_legacy_enrollment.py:191: [W0612(unused-variable), TestInstructorEnrollsStudent.test_get_and_clean_student_list] Unused variable 'cleaned_string_lc'
lms/djangoapps/instructor/tests/test_legacy_enrollment.py:296: [C0103(invalid-name), TestInstructorEnrollsStudent.test_send_mail_to_student] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor/tests/test_legacy_enrollment.py:116: [W0201(attribute-defined-outside-init), TestInstructorEnrollsStudent.test_enrollment_new_student_autoenroll_on_email_off] Attribute 'student2' defined outside __init__
lms/djangoapps/instructor/tests/test_legacy_enrollment.py:111: [W0201(attribute-defined-outside-init), TestInstructorEnrollsStudent.test_enrollment_new_student_autoenroll_on_email_off] Attribute 'student1' defined outside __init__
lms/djangoapps/instructor/tests/test_legacy_enrollment.py:174: [W0201(attribute-defined-outside-init), TestInstructorEnrollsStudent.test_enrollmemt_new_student_autoenroll_off_email_off] Attribute 'student' defined outside __init__
lms/djangoapps/courseware/tests/helpers.py:37: [W0201(attribute-defined-outside-init), LoginEnrollmentTestCase.setup_user] Attribute 'password' defined outside __init__
lms/djangoapps/instructor/tests/test_legacy_xss.py:57: [C0103(invalid-name), TestXss._test_action] Invalid name "respUnicode" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor/tests/test_tools.py:147: [W0612(unused-variable), TestGetUnitsWithDueDate.setUp] Unused variable 'homework'
lms/djangoapps/instructor/views/api.py:1098: [R0915(too-many-statements), generate_registration_codes] Too many statements (58/50)
lms/djangoapps/instructor/views/coupons.py:10: [W0611(unused-import)] Unused import HttpResponseNotFound
lms/djangoapps/instructor/views/coupons.py:6: [W0611(unused-import)] Unused import Q
lms/djangoapps/instructor/views/coupons.py:10: [W0611(unused-import)] Unused import HttpResponse
lms/djangoapps/instructor/views/legacy.py:54: [W0402(deprecated-module)] Uses of a deprecated module 'track.views'
lms/djangoapps/instructor/views/legacy.py:106: [C0111(missing-docstring), instructor_dashboard.get_course_stats_table] Missing docstring
lms/djangoapps/instructor/views/legacy.py:377: [E1101(no-member), instructor_dashboard.get_analytics_result] Instance of 'LookupDict' has no 'OK' member
lms/djangoapps/instructor/views/legacy.py:912: [C0103(invalid-name), _do_enroll_students.sf] Invalid name "sf" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/instructor/views/legacy.py:912: [C0111(missing-docstring), _do_enroll_students.sf] Missing docstring
lms/djangoapps/instructor/views/legacy.py:1113: [C0111(missing-docstring), compute_course_stats.walk] Missing docstring
lms/djangoapps/instructor/views/tools.py:54: [C0103(invalid-name), bulk_email_is_enabled_for_course] Invalid name "bulk_email_is_enabled_for_course" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/instructor/views/tools.py:72: [C0111(missing-docstring), strip_if_string] Missing docstring
lms/djangoapps/instructor_analytics/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/instructor_analytics/basic.py:7: [W0611(unused-import)] Unused import CourseRegistrationCode
lms/djangoapps/instructor_analytics/basic.py:7: [W0611(unused-import)] Unused import OrderTypes
lms/djangoapps/instructor_analytics/management/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/instructor_analytics/management/commands/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/instructor_analytics/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/instructor_task/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/instructor_task/admin.py:12: [C0111(missing-docstring), InstructorTaskAdmin] Missing docstring
lms/djangoapps/instructor_task/admin.py:28: [C0111(missing-docstring), InstructorTaskAdmin.email] Missing docstring
lms/djangoapps/instructor_task/admin.py:32: [C0111(missing-docstring), InstructorTaskAdmin.username] Missing docstring
lms/djangoapps/instructor_task/api.py:227: [C0103(invalid-name), submit_calculate_students_features_csv] Invalid name "submit_calculate_students_features_csv" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/instructor_task/subtasks.py:168: [C0202(bad-classmethod-argument), SubtaskStatus.from_dict] Class method from_dict should have 'cls' as first argument
lms/djangoapps/instructor_task/subtasks.py:168: [C0103(invalid-name), SubtaskStatus.from_dict] Invalid name "d" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor_task/subtasks.py:168: [C0103(invalid-name), SubtaskStatus.from_dict] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/instructor_task/subtasks.py:176: [C0202(bad-classmethod-argument), SubtaskStatus.create] Class method create should have 'cls' as first argument
lms/djangoapps/instructor_task/subtasks.py:7: [W0611(unused-import)] Unused import math
lms/djangoapps/instructor_task/tasks_helper.py:21: [W0402(deprecated-module)] Uses of a deprecated module 'track.views'
lms/djangoapps/instructor_task/tasks_helper.py:48: [W0223(abstract-method), BaseInstructorTask] Method 'run' is abstract in class 'Task' but is not overridden
lms/djangoapps/instructor_task/tasks_helper.py:7: [W0611(unused-import)] Unused import urllib
lms/djangoapps/instructor_task/views.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/instructor_task/views.py:92: [R0915(too-many-statements), get_task_completion_info] Too many statements (68/50)
lms/djangoapps/instructor_task/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/instructor_task/tests/factories.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/instructor_task/tests/factories.py:11: [C0111(missing-docstring), InstructorTaskFactory] Missing docstring
lms/djangoapps/instructor_task/tests/test_api.py:82: [W0612(unused-variable), InstructorTaskModuleSubmitTest.test_submit_nonexistent_modules] Unused variable 'course_id'
lms/djangoapps/instructor_task/tests/test_api.py:98: [W0612(unused-variable), InstructorTaskModuleSubmitTest.test_submit_nonrescorable_modules] Unused variable 'course_id'
lms/djangoapps/instructor_task/tests/test_api.py:105: [C0111(missing-docstring), InstructorTaskModuleSubmitTest._test_submit_with_long_url] Missing docstring
lms/djangoapps/instructor_task/tests/test_api.py:127: [C0111(missing-docstring), InstructorTaskModuleSubmitTest._test_submit_task] Missing docstring
lms/djangoapps/instructor_task/tests/test_base.py:135: [W0201(attribute-defined-outside-init), InstructorTaskCourseTestCase.initialize_course] Attribute 'problem_section' defined outside __init__
lms/djangoapps/instructor_task/tests/test_base.py:118: [W0201(attribute-defined-outside-init), InstructorTaskCourseTestCase.initialize_course] Attribute 'module_store' defined outside __init__
lms/djangoapps/instructor_task/tests/test_integration.py:213: [E1101(no-member), TestRescoringTask.test_rescoring_failure] Instance of 'InstructorTask' has no 'id' member
lms/djangoapps/instructor_task/tests/test_integration.py:233: [E1101(no-member), TestRescoringTask.test_rescoring_bad_unicode_input] Instance of 'InstructorTask' has no 'id' member
lms/djangoapps/instructor_task/tests/test_integration.py:273: [E1101(no-member), TestRescoringTask.test_rescoring_code_problem] Instance of 'InstructorTask' has no 'id' member
lms/djangoapps/instructor_task/tests/test_integration.py:426: [E1101(no-member), TestResetAttemptsTask.test_reset_failure] Instance of 'InstructorTask' has no 'id' member
lms/djangoapps/instructor_task/tests/test_integration.py:432: [E1101(no-member), TestResetAttemptsTask.test_reset_non_problem] Instance of 'InstructorTask' has no 'id' member
lms/djangoapps/instructor_task/tests/test_integration.py:486: [E1101(no-member), TestDeleteProblemTask.test_delete_failure] Instance of 'InstructorTask' has no 'id' member
lms/djangoapps/instructor_task/tests/test_integration.py:492: [E1101(no-member), TestDeleteProblemTask.test_delete_non_problem] Instance of 'InstructorTask' has no 'id' member
lms/djangoapps/instructor_task/tests/test_subtasks.py:22: [W0613(unused-argument), TestSubtasks._enroll_students_in_course] Unused argument 'course_id'
lms/djangoapps/instructor_task/tests/test_tasks.py:31: [C0111(missing-docstring), TestTaskFailure] Missing docstring
lms/djangoapps/instructor_task/tests/test_tasks.py:35: [C0111(missing-docstring), TestInstructorTasks] Missing docstring
lms/djangoapps/instructor_task/tests/test_tasks.py:37: [E1003(bad-super-call), TestInstructorTasks.setUp] Bad first argument 'InstructorTaskModuleTestCase' given to super class
lms/djangoapps/instructor_task/tests/test_tasks.py:70: [W0201(attribute-defined-outside-init), TestInstructorTasks._run_task_with_mock_celery] Attribute 'current_task' defined outside __init__
lms/djangoapps/instructor_task/tests/test_tasks_helper.py:35: [W0201(attribute-defined-outside-init), TestInstructorGradeReport.test_unicode_emails] Attribute 'current_task' defined outside __init__
lms/djangoapps/instructor_task/tests/test_tasks_helper.py:89: [W0201(attribute-defined-outside-init), TestStudentReport.test_unicode_usernames] Attribute 'current_task' defined outside __init__
lms/djangoapps/licenses/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/licenses/models.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/licenses/models.py:12: [C0111(missing-docstring), CourseSoftware] Missing docstring
lms/djangoapps/licenses/models.py:22: [C0111(missing-docstring), UserLicense] Missing docstring
lms/djangoapps/licenses/models.py:36: [W0622(redefined-builtin), get_courses_licenses] Redefining built-in 'license'
lms/djangoapps/licenses/models.py:28: [C0111(missing-docstring), get_courses_licenses] Missing docstring
lms/djangoapps/licenses/models.py:50: [W0622(redefined-builtin), get_license] Redefining built-in 'license'
lms/djangoapps/licenses/models.py:45: [C0111(missing-docstring), get_license] Missing docstring
lms/djangoapps/licenses/models.py:58: [W0622(redefined-builtin), get_or_create_license] Redefining built-in 'license'
lms/djangoapps/licenses/models.py:57: [C0111(missing-docstring), get_or_create_license] Missing docstring
lms/djangoapps/licenses/models.py:66: [W0622(redefined-builtin), _create_license] Redefining built-in 'license'
lms/djangoapps/licenses/models.py:65: [C0111(missing-docstring), _create_license] Missing docstring
lms/djangoapps/licenses/views.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/licenses/views.py:23: [C0103(invalid-name)] Invalid name "License" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/licenses/views.py:31: [W0622(redefined-builtin), get_licenses_by_course] Redefining built-in 'license'
lms/djangoapps/licenses/views.py:26: [C0111(missing-docstring), get_licenses_by_course] Missing docstring
lms/djangoapps/licenses/views.py:51: [C0111(missing-docstring), user_software_license] Missing docstring
lms/djangoapps/licenses/management/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/licenses/management/commands/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/licenses/management/commands/generate_serial_numbers.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/licenses/management/commands/generate_serial_numbers.py:12: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/licenses/management/commands/generate_serial_numbers.py:35: [C0111(missing-docstring), Command._parse_arguments] Missing docstring
lms/djangoapps/licenses/management/commands/generate_serial_numbers.py:59: [W0622(redefined-builtin), Command._generate_serials] Redefining built-in 'license'
lms/djangoapps/licenses/management/commands/generate_serial_numbers.py:53: [C0111(missing-docstring), Command._generate_serials] Missing docstring
lms/djangoapps/licenses/management/commands/import_serial_numbers.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/licenses/management/commands/import_serial_numbers.py:12: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/licenses/management/commands/import_serial_numbers.py:35: [C0111(missing-docstring), Command._parse_arguments] Missing docstring
lms/djangoapps/licenses/management/commands/import_serial_numbers.py:65: [W0622(redefined-builtin), Command._import_serials] Redefining built-in 'license'
lms/djangoapps/licenses/management/commands/import_serial_numbers.py:52: [C0111(missing-docstring), Command._import_serials] Missing docstring
lms/djangoapps/linkedin/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/linkedin/management/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/linkedin/management/commands/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/linkedin/management/commands/linkedin_mailusers.py:120: [W0703(broad-except), Command.handle] Catching too general exception Exception
lms/djangoapps/linkedin/management/commands/linkedin_mailusers.py:258: [E0602(undefined-variable), Command.send_email] Undefined variable 'time'
lms/djangoapps/linkedin/management/commands/linkedin_mailusers.py:28: [W0611(unused-import)] Unused import get_template
lms/djangoapps/linkedin/management/commands/linkedin_mailusers.py:27: [W0611(unused-import)] Unused import Context
lms/djangoapps/lms_migration/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/lms_migration/migrate.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/lms_migration/migrate.py:13: [W0402(deprecated-module)] Uses of a deprecated module 'track.views'
lms/djangoapps/lms_migration/migrate.py:18: [F0401(import-error)] Unable to import 'django.contrib.csrf.middleware'
lms/djangoapps/lms_migration/migrate.py:18: [E0611(no-name-in-module)] No name 'csrf' in module 'django.contrib'
lms/djangoapps/lms_migration/migrate.py:25: [C0103(invalid-name), escape] Invalid name "s" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/migrate.py:25: [C0103(invalid-name), escape] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/migrate.py:34: [C0103(invalid-name), getip] Invalid name "ip" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/migrate.py:36: [C0103(invalid-name), getip] Invalid name "ip" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/migrate.py:40: [C0111(missing-docstring), get_commit_id] Missing docstring
lms/djangoapps/lms_migration/migrate.py:46: [C0111(missing-docstring), set_commit_id] Missing docstring
lms/djangoapps/lms_migration/migrate.py:66: [C0103(invalid-name), manage_modulestores] Invalid name "ip" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/migrate.py:72: [W1201(logging-not-lazy), manage_modulestores] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/migrate.py:76: [W1201(logging-not-lazy), manage_modulestores] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/migrate.py:80: [W1201(logging-not-lazy), manage_modulestores] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/migrate.py:93: [W1201(logging-not-lazy), manage_modulestores] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/migrate.py:94: [W1201(logging-not-lazy), manage_modulestores] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/migrate.py:144: [C0103(invalid-name), manage_modulestores] Invalid name "v" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/migrate.py:155: [C0103(invalid-name), manage_modulestores] Invalid name "ms" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/migrate.py:155: [W0212(protected-access), manage_modulestores] Access to a protected member _MODULESTORES of a client class
lms/djangoapps/lms_migration/migrate.py:155: [E1101(no-member), manage_modulestores] Module 'xmodule.modulestore.django' has no '_MODULESTORES' member
lms/djangoapps/lms_migration/migrate.py:161: [W1201(logging-not-lazy), manage_modulestores] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/migrate.py:162: [W1201(logging-not-lazy), manage_modulestores] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/migrate.py:163: [W1201(logging-not-lazy), manage_modulestores] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/migrate.py:52: [R0915(too-many-statements), manage_modulestores] Too many statements (60/50)
lms/djangoapps/lms_migration/migrate.py:182: [W0621(redefined-outer-name), gitreload] Redefining name 'ALLOWED_IPS' from outer scope (line 22)
lms/djangoapps/lms_migration/migrate.py:177: [C0103(invalid-name), gitreload] Invalid name "ip" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/migrate.py:182: [C0103(invalid-name), gitreload] Invalid name "ALLOWED_IPS" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/migrate.py:184: [C0103(invalid-name), gitreload] Invalid name "ALLOWED_IPS" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/migrate.py:188: [W1201(logging-not-lazy), gitreload] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/migrate.py:192: [W1201(logging-not-lazy), gitreload] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/migrate.py:200: [W1201(logging-not-lazy), gitreload] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/migrate.py:202: [W1201(logging-not-lazy), gitreload] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/migrate.py:204: [W1201(logging-not-lazy), gitreload] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/migrate.py:207: [W1201(logging-not-lazy), gitreload] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/migrate.py:212: [C0103(invalid-name), gitreload] Invalid name "gh" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/migrate.py:215: [C0103(invalid-name), gitreload] Invalid name "r" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/migrate.py:215: [E0602(undefined-variable), gitreload] Undefined variable 'requests'
lms/djangoapps/lms_migration/migrate.py:216: [W1201(logging-not-lazy), gitreload] Specify string format arguments as logging function parameters
lms/djangoapps/lms_migration/management/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/lms_migration/management/commands/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/lms_migration/management/commands/create_groups.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/lms_migration/management/commands/create_groups.py:34: [W0703(broad-except), create_groups] Catching too general exception Exception
lms/djangoapps/lms_migration/management/commands/create_groups.py:34: [W0612(unused-variable), create_groups] Unused variable 'err'
lms/djangoapps/lms_migration/management/commands/create_groups.py:48: [C0111(missing-docstring), create_group] Missing docstring
lms/djangoapps/lms_migration/management/commands/create_groups.py:52: [C0103(invalid-name), create_group] Invalid name "g" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/management/commands/create_groups.py:57: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/lms_migration/management/commands/create_user.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/lms_migration/management/commands/create_user.py:23: [C0111(missing-docstring), MyCompleter] Missing docstring
lms/djangoapps/lms_migration/management/commands/create_user.py:28: [C0111(missing-docstring), MyCompleter.complete] Missing docstring
lms/djangoapps/lms_migration/management/commands/create_user.py:37: [W0201(attribute-defined-outside-init), MyCompleter.complete] Attribute 'matches' defined outside __init__
lms/djangoapps/lms_migration/management/commands/create_user.py:46: [C0103(invalid-name), GenPasswd] Invalid name "GenPasswd" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/lms_migration/management/commands/create_user.py:46: [C0111(missing-docstring), GenPasswd] Missing docstring
lms/djangoapps/lms_migration/management/commands/create_user.py:47: [W0612(unused-variable), GenPasswd] Unused variable 'i'
lms/djangoapps/lms_migration/management/commands/create_user.py:53: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/lms_migration/management/commands/create_user.py:81: [W0702(bare-except), Command.handle] No exception type(s) specified
lms/djangoapps/lms_migration/management/commands/create_user.py:108: [E0602(undefined-variable), Command.handle] Undefined variable 'IntegrityError'
lms/djangoapps/lms_migration/management/commands/create_user.py:112: [C0103(invalid-name), Command.handle] Invalid name "r" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/management/commands/create_user.py:115: [C0103(invalid-name), Command.handle] Invalid name "up" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/management/commands/create_user.py:154: [C0103(invalid-name), Command.handle] Invalid name "g" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/management/commands/create_user.py:155: [E1101(no-member), Command.handle] Instance of 'ManyToManyField' has no 'add' member
lms/djangoapps/lms_migration/management/commands/create_user.py:56: [R0915(too-many-statements), Command.handle] Too many statements (75/50)
lms/djangoapps/lms_migration/management/commands/manage_course_groups.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/lms_migration/management/commands/manage_course_groups.py:16: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/lms_migration/management/commands/manage_course_groups.py:24: [C0103(invalid-name), Command.handle] Invalid name "g" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/management/commands/manage_course_groups.py:49: [C0103(invalid-name), Command.handle] Invalid name "u" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/management/commands/manage_course_groups.py:54: [C0103(invalid-name), Command.handle] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/management/commands/manage_course_groups.py:57: [C0103(invalid-name), Command.handle] Invalid name "u" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/lms_migration/management/commands/manage_course_groups.py:65: [W0703(broad-except), Command.handle] Catching too general exception Exception
lms/djangoapps/lms_migration/management/commands/manage_course_groups.py:62: [W0612(unused-variable), Command.handle] Unused variable 'uname'
lms/djangoapps/lms_xblock/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/lms_xblock/test/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/mobile_api/video_outlines/serializers.py:119: [W0613(unused-argument), video_summary] Unused argument 'course'
lms/djangoapps/notes/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/notes/api.py:151: [E0012(bad-option-value)] Bad option value 'unused-argument (course_key)'
lms/djangoapps/notes/api.py:151: [E0012(bad-option-value)] Bad option value 'unused-argument (course_key)'
lms/djangoapps/notes/api.py:166: [E0012(bad-option-value)] Bad option value 'unused-argument (course_key)'
lms/djangoapps/notes/api.py:166: [E0012(bad-option-value)] Bad option value 'unused-argument (course_key)'
lms/djangoapps/notes/api.py:250: [E0012(bad-option-value)] Bad option value 'unused-argument (course_key'
lms/djangoapps/notes/api.py:250: [E0012(bad-option-value)] Bad option value 'request)'
lms/djangoapps/notes/api.py:250: [E0012(bad-option-value)] Bad option value 'unused-argument (course_key'
lms/djangoapps/notes/api.py:250: [E0012(bad-option-value)] Bad option value 'request)'
lms/djangoapps/notes/api.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/notes/api.py:32: [C0103(invalid-name)] Invalid name "ApiResponse" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/notes/api.py:124: [C0103(invalid-name), index] Invalid name "MAX_LIMIT" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/notes/api.py:140: [C0103(invalid-name), create] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/notes/api.py:151: [W0613(unused-argument), read] Unused argument 'course_key'
lms/djangoapps/notes/api.py:180: [C0103(invalid-name), update] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/notes/api.py:166: [W0613(unused-argument), update] Unused argument 'course_key'
lms/djangoapps/notes/api.py:192: [W0613(unused-argument), delete] Unused argument 'course_id'
lms/djangoapps/notes/api.py:213: [C0103(invalid-name), search] Invalid name "MAX_LIMIT" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/notes/api.py:250: [W0613(unused-argument), root] Unused argument 'request'
lms/djangoapps/notes/api.py:250: [W0613(unused-argument), root] Unused argument 'course_key'
lms/djangoapps/notes/models.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/notes/models.py:11: [C0111(missing-docstring), Note] Missing docstring
lms/djangoapps/notes/models.py:25: [W0221(arguments-differ), Note.clean] Arguments number differs from overridden method
lms/djangoapps/notes/models.py:71: [E1101(no-member), Note.as_dict] Instance of 'ForeignKey' has no 'pk' member
lms/djangoapps/notes/tests.py:20: [C0111(missing-docstring), UtilsTest] Missing docstring
lms/djangoapps/notes/tests.py:78: [C0103(invalid-name), ApiTest.setUp] Invalid name "NOTE_ID_DOES_NOT_EXIST" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/notes/tests.py:48: [C0111(missing-docstring), ApiTest] Missing docstring
lms/djangoapps/notes/tests.py:80: [C0111(missing-docstring), ApiTest.login] Missing docstring
lms/djangoapps/notes/tests.py:91: [W0102(dangerous-default-value), ApiTest.url] Dangerous default value {} as argument
lms/djangoapps/notes/tests.py:91: [C0111(missing-docstring), ApiTest.url] Missing docstring
lms/djangoapps/notes/tests.py:95: [C0111(missing-docstring), ApiTest.create_notes] Missing docstring
lms/djangoapps/notes/tests.py:97: [C0103(invalid-name), ApiTest.create_notes] Invalid name "n" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/notes/tests.py:97: [W0612(unused-variable), ApiTest.create_notes] Unused variable 'n'
lms/djangoapps/notes/tests.py:143: [C0103(invalid-name), ApiTest.test_index_max_notes] Invalid name "MAX_LIMIT" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/notes/tests.py:344: [C0111(missing-docstring), NoteTest] Missing docstring
lms/djangoapps/notes/tests.py:390: [W0612(unused-variable), NoteTest.test_clean_invalid_note] Unused variable 'i'
lms/djangoapps/notes/tests.py:382: [W0612(unused-variable), NoteTest.test_clean_invalid_note] Unused variable 'empty_type'
lms/djangoapps/notes/tests.py:395: [C0103(invalid-name), NoteTest.test_as_dict] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/notes/urls.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/notes/urls.py:4: [C0103(invalid-name)] Invalid name "id_regex" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/notes/utils.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/notes/views.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/notes/views.py:19: [W0621(redefined-outer-name), notes] Redefining name 'notes' from outer scope (line 12)
lms/djangoapps/notification_prefs/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/notification_prefs/tests.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/notification_prefs/tests.py:19: [C0111(missing-docstring), NotificationPrefViewTest] Missing docstring
lms/djangoapps/notification_prefs/tests.py:7: [W0611(unused-import)] Unused import Client
lms/djangoapps/notification_prefs/views.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/notification_prefs/views.py:2: [E0611(no-name-in-module)] No name 'sha256' in module 'hashlib'
lms/djangoapps/notification_prefs/views.py:18: [C0111(missing-docstring), UsernameDecryptionException] Missing docstring
lms/djangoapps/notification_prefs/views.py:43: [C0111(missing-docstring), UsernameCipher._get_aes_cipher] Missing docstring
lms/djangoapps/notification_prefs/views.py:63: [C0111(missing-docstring), UsernameCipher.encrypt] Missing docstring
lms/djangoapps/notification_prefs/views.py:72: [C0111(missing-docstring), UsernameCipher.decrypt] Missing docstring
lms/djangoapps/notification_prefs/views.py:147: [C0103(invalid-name), ajax_status] Invalid name "qs" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/notifier_api/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/notifier_api/models.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/notifier_api/serializers.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/notifier_api/serializers.py:30: [C0111(missing-docstring), NotifierUserSerializer.get_name] Missing docstring
lms/djangoapps/notifier_api/serializers.py:33: [C0111(missing-docstring), NotifierUserSerializer.get_preferences] Missing docstring
lms/djangoapps/notifier_api/serializers.py:41: [C0111(missing-docstring), NotifierUserSerializer.get_course_info] Missing docstring
lms/djangoapps/notifier_api/serializers.py:66: [C0111(missing-docstring), NotifierUserSerializer.Meta] Missing docstring
lms/djangoapps/notifier_api/tests.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/notifier_api/tests.py:23: [C0111(missing-docstring), NotifierUsersViewSetTest] Missing docstring
lms/djangoapps/notifier_api/tests.py:40: [C0111(missing-docstring), NotifierUsersViewSetTest._set_up_course] Missing docstring
lms/djangoapps/notifier_api/tests.py:47: [E1101(no-member), NotifierUsersViewSetTest._set_up_course] Instance of 'CourseFactory' has no 'id' member
lms/djangoapps/notifier_api/tests.py:51: [E1101(no-member), NotifierUsersViewSetTest._set_up_course] Instance of 'CourseFactory' has no 'id' member
lms/djangoapps/notifier_api/tests.py:58: [E1101(no-member), NotifierUsersViewSetTest._set_up_course] Instance of 'CourseFactory' has no 'id' member
lms/djangoapps/notifier_api/tests.py:60: [E1103(maybe-no-member), NotifierUsersViewSetTest._set_up_course] Instance of 'UserFactory' has no 'roles' member (but some types could not be inferred)
lms/djangoapps/notifier_api/tests.py:62: [C0111(missing-docstring), NotifierUsersViewSetTest._assert_basic_user_info_correct] Missing docstring
lms/djangoapps/notifier_api/tests.py:75: [C0111(missing-docstring), NotifierUsersViewSetTest._make_detail_request] Missing docstring
lms/djangoapps/notifier_api/tests.py:82: [C0111(missing-docstring), NotifierUsersViewSetTest._get_detail] Missing docstring
lms/djangoapps/notifier_api/tests.py:150: [C0111(missing-docstring), NotifierUsersViewSetTest._make_list_request] Missing docstring
lms/djangoapps/notifier_api/tests.py:158: [C0111(missing-docstring), NotifierUsersViewSetTest._get_list] Missing docstring
lms/djangoapps/notifier_api/urls.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/notifier_api/urls.py:7: [C0103(invalid-name)] Invalid name "notifier_api_router" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/notifier_api/views.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/oauth2_handler/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/oauth2_handler/handlers.py:40: [C0111(missing-docstring), PermissionsHandler.scope_permissions] Missing docstring
lms/djangoapps/open_ended_grading/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/open_ended_grading/open_ended_notifications.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/open_ended_grading/open_ended_notifications.py:33: [C0111(missing-docstring), staff_grading_notifications] Missing docstring
lms/djangoapps/open_ended_grading/open_ended_notifications.py:50: [W0702(bare-except), staff_grading_notifications] No exception type(s) specified
lms/djangoapps/open_ended_grading/open_ended_notifications.py:68: [C0111(missing-docstring), peer_grading_notifications] Missing docstring
lms/djangoapps/open_ended_grading/open_ended_notifications.py:95: [W0702(bare-except), peer_grading_notifications] No exception type(s) specified
lms/djangoapps/open_ended_grading/open_ended_notifications.py:171: [W0702(bare-except), combined_notifications] No exception type(s) specified
lms/djangoapps/open_ended_grading/open_ended_notifications.py:189: [C0111(missing-docstring), get_value_from_cache] Missing docstring
lms/djangoapps/open_ended_grading/open_ended_notifications.py:195: [C0111(missing-docstring), set_value_in_cache] Missing docstring
lms/djangoapps/open_ended_grading/open_ended_notifications.py:200: [C0111(missing-docstring), create_key_name] Missing docstring
lms/djangoapps/open_ended_grading/open_ended_notifications.py:210: [C0111(missing-docstring), _get_value_from_cache] Missing docstring
lms/djangoapps/open_ended_grading/open_ended_notifications.py:211: [E1103(maybe-no-member), _get_value_from_cache] Module 'django.core.cache' has no 'get' member (but some types could not be inferred)
lms/djangoapps/open_ended_grading/open_ended_notifications.py:218: [W0702(bare-except), _get_value_from_cache] No exception type(s) specified
lms/djangoapps/open_ended_grading/open_ended_notifications.py:223: [C0111(missing-docstring), _set_value_in_cache] Missing docstring
lms/djangoapps/open_ended_grading/open_ended_notifications.py:224: [E1103(maybe-no-member), _set_value_in_cache] Module 'django.core.cache' has no 'set' member (but some types could not be inferred)
lms/djangoapps/open_ended_grading/staff_grading.py:21: [C0111(missing-docstring), StaffGrading.get_html] Missing docstring
lms/djangoapps/open_ended_grading/staff_grading_service.py:45: [C0111(missing-docstring), MockStaffGradingService.get_next] Missing docstring
lms/djangoapps/open_ended_grading/staff_grading_service.py:45: [W0613(unused-argument), MockStaffGradingService.get_next] Unused argument 'course_id'
lms/djangoapps/open_ended_grading/staff_grading_service.py:45: [W0613(unused-argument), MockStaffGradingService.get_next] Unused argument 'location'
lms/djangoapps/open_ended_grading/staff_grading_service.py:45: [W0613(unused-argument), MockStaffGradingService.get_next] Unused argument 'grader_id'
lms/djangoapps/open_ended_grading/staff_grading_service.py:58: [C0111(missing-docstring), MockStaffGradingService.get_problem_list] Missing docstring
lms/djangoapps/open_ended_grading/staff_grading_service.py:58: [W0613(unused-argument), MockStaffGradingService.get_problem_list] Unused argument 'course_id'
lms/djangoapps/open_ended_grading/staff_grading_service.py:58: [W0613(unused-argument), MockStaffGradingService.get_problem_list] Unused argument 'grader_id'
lms/djangoapps/open_ended_grading/staff_grading_service.py:80: [C0111(missing-docstring), MockStaffGradingService.save_grade] Missing docstring
lms/djangoapps/open_ended_grading/staff_grading_service.py:80: [W0613(unused-argument), MockStaffGradingService.save_grade] Unused argument 'submission_id'
lms/djangoapps/open_ended_grading/staff_grading_service.py:80: [W0613(unused-argument), MockStaffGradingService.save_grade] Unused argument 'skipped'
lms/djangoapps/open_ended_grading/staff_grading_service.py:80: [W0613(unused-argument), MockStaffGradingService.save_grade] Unused argument 'feedback'
lms/djangoapps/open_ended_grading/staff_grading_service.py:80: [W0613(unused-argument), MockStaffGradingService.save_grade] Unused argument 'score'
lms/djangoapps/open_ended_grading/staff_grading_service.py:80: [W0613(unused-argument), MockStaffGradingService.save_grade] Unused argument 'rubric_scores'
lms/djangoapps/open_ended_grading/staff_grading_service.py:81: [W0613(unused-argument), MockStaffGradingService.save_grade] Unused argument 'submission_flagged'
lms/djangoapps/open_ended_grading/staff_grading_service.py:197: [C0111(missing-docstring), StaffGradingService.get_notifications] Missing docstring
lms/djangoapps/open_ended_grading/staff_grading_service.py:210: [C0103(invalid-name)] Invalid name "_service" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/open_ended_grading/staff_grading_service.py:221: [W0603(global-statement), staff_grading_service] Using the global statement
lms/djangoapps/open_ended_grading/staff_grading_service.py:285: [C0103(invalid-name), get_next] Invalid name "p" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/open_ended_grading/staff_grading_service.py:338: [W0703(broad-except), get_problem_list] Catching too general exception Exception
lms/djangoapps/open_ended_grading/staff_grading_service.py:394: [C0103(invalid-name), save_grade] Invalid name "p" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/open_ended_grading/staff_grading_service.py:435: [E0602(undefined-variable), save_grade] Undefined variable 'result_json'
lms/djangoapps/open_ended_grading/staff_grading_service.py:442: [E0602(undefined-variable), save_grade] Undefined variable 'result_json'
lms/djangoapps/open_ended_grading/staff_grading_service.py:450: [C0111(missing-docstring), check_feedback_length] Missing docstring
lms/djangoapps/open_ended_grading/tests.py:52: [W0613(unused-argument), EmptyStaffGradingService.get_problem_list] Unused argument 'course_id'
lms/djangoapps/open_ended_grading/tests.py:52: [W0613(unused-argument), EmptyStaffGradingService.get_problem_list] Unused argument 'user_id'
lms/djangoapps/open_ended_grading/tests.py:70: [W0613(unused-argument), StudentProblemListMockQuery.get_grading_status_list] Unused argument 'args'
lms/djangoapps/open_ended_grading/tests.py:70: [W0613(unused-argument), StudentProblemListMockQuery.get_grading_status_list] Unused argument 'kwargs'
lms/djangoapps/open_ended_grading/tests.py:167: [C0111(missing-docstring), TestStaffGradingService.save_grade_base] Missing docstring
lms/djangoapps/open_ended_grading/tests.py:315: [C0103(invalid-name), TestPeerGradingService.test_get_next_submission_missing_location] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/open_ended_grading/tests.py:334: [C0111(missing-docstring), TestPeerGradingService.test_save_grade_success.fake_get_item] Missing docstring
lms/djangoapps/open_ended_grading/tests.py:347: [C0103(invalid-name), TestPeerGradingService.test_save_grade_missing_keys] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/open_ended_grading/tests.py:396: [C0111(missing-docstring), TestPeerGradingService.test_save_calibration_essay_success.fake_get_item] Missing docstring
lms/djangoapps/open_ended_grading/tests.py:464: [W0621(redefined-outer-name), TestPanel.test_open_ended_panel] Redefining name 'peer_grading_module' from outer scope (line 27)
lms/djangoapps/open_ended_grading/tests.py:464: [W0612(unused-variable), TestPanel.test_open_ended_panel] Unused variable 'peer_grading_module'
lms/djangoapps/open_ended_grading/tests.py:509: [W0612(unused-variable), TestPeerGradingFound.test_peer_grading_nopath] Unused variable 'url'
lms/djangoapps/open_ended_grading/utils.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/open_ended_grading/utils.py:140: [W0201(attribute-defined-outside-init), StudentProblemList.fetch_from_grading_service] Attribute 'problem_list' defined outside __init__
lms/djangoapps/open_ended_grading/views.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/open_ended_grading/views.py:13: [W0403(relative-import)] Relative import 'open_ended_notifications', should be 'lms.djangoapps.open_ended_grading.open_ended_notifications'
lms/djangoapps/open_ended_grading/views.py:44: [C0111(missing-docstring), _reverse_without_slash] Missing docstring
lms/djangoapps/open_ended_grading/views.py:157: [W0621(redefined-outer-name), student_problem_list] Redefining name 'student_problem_list' from outer scope (line 139)
lms/djangoapps/open_ended_grading/views.py:281: [W0612(unused-variable), combined_notifications] Unused variable 'problem_url'
lms/djangoapps/open_ended_grading/views.py:319: [C0103(invalid-name), take_action_on_flags] Invalid name "p" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/psychometrics/models.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/psychometrics/models.py:37: [C0103(invalid-name), PsychometricData.__unicode__] Invalid name "sm" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/models.py:38: [E1101(no-member), PsychometricData.__unicode__] Instance of 'ForeignKey' has no 'student' member
lms/djangoapps/psychometrics/models.py:39: [E1101(no-member), PsychometricData.__unicode__] Instance of 'ForeignKey' has no 'module_state_key' member
lms/djangoapps/psychometrics/models.py:40: [E1101(no-member), PsychometricData.__unicode__] Instance of 'ForeignKey' has no 'grade' member
lms/djangoapps/psychometrics/models.py:41: [E1101(no-member), PsychometricData.__unicode__] Instance of 'ForeignKey' has no 'max_grade' member
lms/djangoapps/psychometrics/psychoanalyze.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/psychometrics/psychoanalyze.py:14: [E0611(no-name-in-module)] No name 'curve_fit' in module 'scipy.optimize'
lms/djangoapps/psychometrics/psychoanalyze.py:33: [C0103(invalid-name), func_2pl] Invalid name "x" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:33: [C0103(invalid-name), func_2pl] Invalid name "a" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:33: [C0103(invalid-name), func_2pl] Invalid name "b" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:33: [C0103(invalid-name), func_2pl] Invalid name "x" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:33: [C0103(invalid-name), func_2pl] Invalid name "a" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:33: [C0103(invalid-name), func_2pl] Invalid name "b" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:37: [C0103(invalid-name), func_2pl] Invalid name "D" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:57: [C0103(invalid-name), StatVar.add] Invalid name "x" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:57: [C0111(missing-docstring), StatVar.add] Missing docstring
lms/djangoapps/psychometrics/psychoanalyze.py:57: [C0103(invalid-name), StatVar.add] Invalid name "x" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:74: [C0111(missing-docstring), StatVar.avg] Missing docstring
lms/djangoapps/psychometrics/psychoanalyze.py:79: [C0111(missing-docstring), StatVar.var] Missing docstring
lms/djangoapps/psychometrics/psychoanalyze.py:84: [C0111(missing-docstring), StatVar.sdv] Missing docstring
lms/djangoapps/psychometrics/psychoanalyze.py:85: [C0103(invalid-name), StatVar.sdv] Invalid name "v" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:94: [C0103(invalid-name), StatVar.__add__] Invalid name "x" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:94: [C0103(invalid-name), StatVar.__add__] Invalid name "x" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:115: [C0103(invalid-name), make_histogram] Invalid name "y" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:116: [C0103(invalid-name), make_histogram] Invalid name "b" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:147: [C0111(missing-docstring), generate_plots_for_problem] Missing docstring
lms/djangoapps/psychometrics/psychoanalyze.py:174: [C0103(invalid-name), generate_plots_for_problem] Invalid name "g" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:216: [W0702(bare-except), generate_plots_for_problem] No exception type(s) specified
lms/djangoapps/psychometrics/psychoanalyze.py:221: [C0103(invalid-name), generate_plots_for_problem] Invalid name "ct" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:222: [C0103(invalid-name), generate_plots_for_problem] Invalid name "dt" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:253: [C0103(invalid-name), generate_plots_for_problem] Invalid name "x" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:254: [C0103(invalid-name), generate_plots_for_problem] Invalid name "y" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:268: [W0703(broad-except), generate_plots_for_problem] Catching too general exception Exception
lms/djangoapps/psychometrics/psychoanalyze.py:269: [W1201(logging-not-lazy), generate_plots_for_problem] Specify string format arguments as logging function parameters
lms/djangoapps/psychometrics/psychoanalyze.py:296: [C0103(invalid-name), generate_plots_for_problem] Invalid name "a" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:296: [C0103(invalid-name), generate_plots_for_problem] Invalid name "b" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:164: [W0612(unused-variable), generate_plots_for_problem] Unused variable 'total_attempts'
lms/djangoapps/psychometrics/psychoanalyze.py:147: [R0915(too-many-statements), generate_plots_for_problem] Too many statements (92/50)
lms/djangoapps/psychometrics/psychoanalyze.py:314: [C0103(invalid-name), make_psychometrics_data_update_handler] Invalid name "make_psychometrics_data_update_handler" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/psychometrics/psychoanalyze.py:319: [C0103(invalid-name), make_psychometrics_data_update_handler] Invalid name "sm" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/psychoanalyze.py:331: [C0103(invalid-name), make_psychometrics_data_update_handler.psychometrics_data_update_handler] Invalid name "psychometrics_data_update_handler" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/psychometrics/psychoanalyze.py:341: [W0702(bare-except), make_psychometrics_data_update_handler.psychometrics_data_update_handler] No exception type(s) specified
lms/djangoapps/psychometrics/psychoanalyze.py:342: [W1201(logging-not-lazy), make_psychometrics_data_update_handler.psychometrics_data_update_handler] Specify string format arguments as logging function parameters
lms/djangoapps/psychometrics/psychoanalyze.py:348: [W0702(bare-except), make_psychometrics_data_update_handler.psychometrics_data_update_handler] No exception type(s) specified
lms/djangoapps/psychometrics/psychoanalyze.py:349: [W1201(logging-not-lazy), make_psychometrics_data_update_handler.psychometrics_data_update_handler] Specify string format arguments as logging function parameters
lms/djangoapps/psychometrics/psychoanalyze.py:353: [W0702(bare-except), make_psychometrics_data_update_handler.psychometrics_data_update_handler] No exception type(s) specified
lms/djangoapps/psychometrics/psychoanalyze.py:359: [W0702(bare-except), make_psychometrics_data_update_handler.psychometrics_data_update_handler] No exception type(s) specified
lms/djangoapps/psychometrics/psychoanalyze.py:360: [W1201(logging-not-lazy), make_psychometrics_data_update_handler.psychometrics_data_update_handler] Specify string format arguments as logging function parameters
lms/djangoapps/psychometrics/psychoanalyze.py:319: [W0612(unused-variable), make_psychometrics_data_update_handler] Unused variable 'status'
lms/djangoapps/psychometrics/management/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/psychometrics/management/commands/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/psychometrics/management/commands/init_psychometrics.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/psychometrics/management/commands/init_psychometrics.py:20: [C0111(missing-docstring), Command] Missing docstring
lms/djangoapps/psychometrics/management/commands/init_psychometrics.py:33: [C0103(invalid-name), Command.handle] Invalid name "sm" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/psychometrics/management/commands/init_psychometrics.py:40: [W0702(bare-except), Command.handle] No exception type(s) specified
lms/djangoapps/shoppingcart/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/shoppingcart/models.py:602: [W0613(unused-argument), OrderItem.add_to_order] Unused argument 'args'
lms/djangoapps/shoppingcart/models.py:903: [W0221(arguments-differ), PaidCourseRegistration.add_to_order] Arguments number differs from overridden method
lms/djangoapps/shoppingcart/models.py:942: [W0612(unused-variable), PaidCourseRegistration.add_to_order] Unused variable 'created'
lms/djangoapps/shoppingcart/models.py:1254: [W0221(arguments-differ), CertificateItem.add_to_order] Arguments number differs from overridden method
lms/djangoapps/shoppingcart/models.py:1315: [W0703(broad-except), CertificateItem.purchased_callback] Catching too general exception Exception
lms/djangoapps/shoppingcart/models.py:1313: [E1101(no-member), CertificateItem.purchased_callback] Instance of 'ForeignKey' has no 'user' member
lms/djangoapps/shoppingcart/models.py:1319: [E1101(no-member), CertificateItem.purchased_callback] Instance of 'ForeignKey' has no 'change_mode' member
lms/djangoapps/shoppingcart/models.py:1320: [E1101(no-member), CertificateItem.purchased_callback] Instance of 'ForeignKey' has no 'activate' member
lms/djangoapps/shoppingcart/models.py:1338: [E1103(maybe-no-member), CertificateItem.single_item_receipt_context] Instance of 'FakeDate' has no 'replace' member (but some types could not be inferred)
lms/djangoapps/shoppingcart/models.py:1406: [C0111(missing-docstring), CertificateItem.verified_certificates_contributing_more_than_minimum] Missing docstring
lms/djangoapps/shoppingcart/models.py:1462: [W0221(arguments-differ), Donation.add_to_order] Arguments number differs from overridden method
lms/djangoapps/shoppingcart/models.py:1543: [C0202(bad-classmethod-argument), Donation._line_item_description] Class method _line_item_description should have 'cls' as first argument
lms/djangoapps/shoppingcart/urls.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/shoppingcart/urls.py:26: [E1120(no-value-for-parameter)] No value passed for parameter 'cls' in function call
lms/djangoapps/shoppingcart/views.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/shoppingcart/views.py:183: [C0111(missing-docstring), clear_cart] Missing docstring
lms/djangoapps/shoppingcart/views.py:888: [E1103(maybe-no-member), csv_report] Instance of 'FakeDatetime' has no 'strftime' member (but some types could not be inferred)
lms/djangoapps/shoppingcart/views.py:898: [E1103(maybe-no-member), csv_report] Instance of 'FakeDatetime' has no 'strftime' member (but some types could not be inferred)
lms/djangoapps/shoppingcart/views.py:898: [E1103(maybe-no-member), csv_report] Instance of 'FakeDatetime' has no 'strftime' member (but some types could not be inferred)
lms/djangoapps/shoppingcart/views.py:885: [W0612(unused-variable), csv_report] Unused variable 'items'
lms/djangoapps/shoppingcart/management/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/shoppingcart/management/commands/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/shoppingcart/management/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/shoppingcart/processors/CyberSource.py:217: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\d'. String constant might be missing an r prefix.
lms/djangoapps/shoppingcart/processors/CyberSource.py:34: [W0401(wildcard-import)] Wildcard import shoppingcart.processors.exceptions
lms/djangoapps/shoppingcart/processors/CyberSource.py:39: [W0613(unused-argument), process_postpay_callback] Unused argument 'kwargs'
lms/djangoapps/shoppingcart/processors/CyberSource.py:119: [W0613(unused-argument), render_purchase_form_html] Unused argument 'kwargs'
lms/djangoapps/shoppingcart/processors/CyberSource.py:129: [C0111(missing-docstring), get_signed_purchase_params] Missing docstring
lms/djangoapps/shoppingcart/processors/CyberSource.py:129: [W0613(unused-argument), get_signed_purchase_params] Unused argument 'kwargs'
lms/djangoapps/shoppingcart/processors/CyberSource.py:133: [C0111(missing-docstring), get_purchase_params] Missing docstring
lms/djangoapps/shoppingcart/processors/CyberSource.py:136: [W0612(unused-variable), get_purchase_params] Unused variable 'cart_items'
lms/djangoapps/shoppingcart/processors/CyberSource.py:146: [C0111(missing-docstring), get_purchase_endpoint] Missing docstring
lms/djangoapps/shoppingcart/processors/CyberSource.py:217: [C0103(invalid-name), record_purchase] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/shoppingcart/processors/CyberSource.py:34: [W0614(unused-wildcard-import)] Unused import PaymentException from wildcard import
lms/djangoapps/shoppingcart/processors/CyberSource.py:34: [W0614(unused-wildcard-import)] Unused import CCProcessorUserCancelled from wildcard import
lms/djangoapps/shoppingcart/processors/CyberSource2.py:399: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\d'. String constant might be missing an r prefix.
lms/djangoapps/shoppingcart/processors/CyberSource2.py:33: [E0611(no-name-in-module)] No name 'sha256' in module 'hashlib'
lms/djangoapps/shoppingcart/processors/CyberSource2.py:38: [W0401(wildcard-import)] Wildcard import shoppingcart.processors.exceptions
lms/djangoapps/shoppingcart/processors/CyberSource2.py:399: [C0103(invalid-name), _record_purchase] Invalid name "mm" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/shoppingcart/processors/CyberSource2.py:38: [W0614(unused-wildcard-import)] Unused import PaymentException from wildcard import
lms/djangoapps/shoppingcart/processors/exceptions.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/shoppingcart/processors/exceptions.py:4: [C0111(missing-docstring), CCProcessorException] Missing docstring
lms/djangoapps/shoppingcart/processors/exceptions.py:8: [C0111(missing-docstring), CCProcessorSignatureException] Missing docstring
lms/djangoapps/shoppingcart/processors/exceptions.py:12: [C0111(missing-docstring), CCProcessorDataException] Missing docstring
lms/djangoapps/shoppingcart/processors/exceptions.py:16: [C0111(missing-docstring), CCProcessorWrongAmountException] Missing docstring
lms/djangoapps/shoppingcart/processors/exceptions.py:20: [C0111(missing-docstring), CCProcessorUserCancelled] Missing docstring
lms/djangoapps/shoppingcart/processors/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource.py:1: [C0103(invalid-name)] Invalid name "test_CyberSource" for type module (should match (([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$)
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource.py:53: [W0613(unused-argument), fakemicrosite] Unused argument 'default'
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource.py:63: [C0111(missing-docstring), CyberSourceTests] Missing docstring
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource.py:146: [C0103(invalid-name), CyberSourceTests.test_get_processor_decline_html] Invalid name "DECISION" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource.py:162: [W0622(redefined-builtin), CyberSourceTests.test_get_processor_exception_html] Redefining built-in 'type'
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource.py:178: [E1101(no-member), CyberSourceTests.test_record_purchase] Instance of 'UserFactory' has no 'save' member
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource.py:180: [E1101(no-member), CyberSourceTests.test_record_purchase] Instance of 'UserFactory' has no 'save' member
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource.py:226: [E1101(no-member), CyberSourceTests.test_payment_accepted_order] Instance of 'UserFactory' has no 'save' member
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource.py:272: [E1101(no-member), CyberSourceTests.test_render_purchase_form_html] Instance of 'UserFactory' has no 'save' member
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource.py:278: [W0612(unused-variable), CyberSourceTests.test_render_purchase_form_html] Unused variable 'render_kwargs'
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource.py:311: [E1101(no-member), CyberSourceTests.test_process_postpay_accepted] Instance of 'UserFactory' has no 'save' member
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource.py:336: [E1101(no-member), CyberSourceTests.test_process_postpay_not_accepted] Instance of 'UserFactory' has no 'save' member
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource2.py:1: [C0103(invalid-name)] Invalid name "test_CyberSource2" for type module (should match (([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$)
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource2.py:203: [W0613(unused-argument), CyberSource2Test.test_process_no_credit_card_digits] Unused argument 'callback'
lms/djangoapps/shoppingcart/processors/tests/test_CyberSource2.py:240: [W0613(unused-argument), CyberSource2Test.test_sign_then_verify_unicode] Unused argument 'purchased_callback'
lms/djangoapps/shoppingcart/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/shoppingcart/tests/test_models.py:50: [C0111(missing-docstring), OrderTest] Missing docstring
lms/djangoapps/shoppingcart/tests/test_models.py:391: [C0111(missing-docstring), OrderItemTest] Missing docstring
lms/djangoapps/shoppingcart/tests/test_models.py:417: [C0111(missing-docstring), PaidCourseRegistrationTest] Missing docstring
lms/djangoapps/shoppingcart/tests/test_reports.py:137: [C0103(invalid-name), ReportTypeTests.setUp] Invalid name "CORRECT_UNI_REVENUE_SHARE_CSV" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/shoppingcart/tests/test_reports.py:132: [C0103(invalid-name), ReportTypeTests.setUp] Invalid name "CORRECT_CERT_STATUS_CSV" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/shoppingcart/tests/test_reports.py:126: [C0103(invalid-name), ReportTypeTests.setUp] Invalid name "CORRECT_REFUND_REPORT_CSV" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/shoppingcart/tests/test_reports.py:32: [R0915(too-many-statements), ReportTypeTests.setUp] Too many statements (64/50)
lms/djangoapps/shoppingcart/tests/test_reports.py:148: [W0612(unused-variable), ReportTypeTests.test_refund_report_rows] Unused variable 'cert'
lms/djangoapps/shoppingcart/tests/test_reports.py:225: [C0103(invalid-name), ItemizedPurchaseReportTest.setUp] Invalid name "CORRECT_CSV" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/shoppingcart/tests/test_reports.py:237: [W0612(unused-variable), ItemizedPurchaseReportTest.test_purchased_items_btw_dates] Unused variable 'item'
lms/djangoapps/shoppingcart/tests/test_views.py:51: [C0111(missing-docstring), mock_render_purchase_form_html] Missing docstring
lms/djangoapps/shoppingcart/tests/test_views.py:54: [C0103(invalid-name)] Invalid name "form_mock" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/shoppingcart/tests/test_views.py:57: [C0111(missing-docstring), mock_render_to_response] Missing docstring
lms/djangoapps/shoppingcart/tests/test_views.py:60: [C0103(invalid-name)] Invalid name "render_mock" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/shoppingcart/tests/test_views.py:62: [C0103(invalid-name)] Invalid name "postpay_mock" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/shoppingcart/tests/test_views.py:70: [C0111(missing-docstring), ShoppingCartViewsTests] Missing docstring
lms/djangoapps/shoppingcart/tests/test_views.py:137: [C0111(missing-docstring), ShoppingCartViewsTests.login_user] Missing docstring
lms/djangoapps/shoppingcart/tests/test_views.py:720: [E1103(maybe-no-member), ShoppingCartViewsTests.test_postpay_callback_success] Instance of 'WSGIRequest' has no '__getitem__' member (but some types could not be inferred)
lms/djangoapps/shoppingcart/tests/test_views.py:732: [W0621(redefined-outer-name), ShoppingCartViewsTests.test_postpay_callback_failure] Redefining name '_' from outer scope (line 14)
lms/djangoapps/shoppingcart/tests/test_views.py:913: [W0612(unused-variable), ShoppingCartViewsTests.test_reg_code_with_multiple_courses_and_checkout_scenario] Unused variable 'item1'
lms/djangoapps/shoppingcart/tests/test_views.py:1107: [W0621(redefined-outer-name), ShoppingCartViewsTests.test_show_receipt_success_with_upgrade] Redefining name '_' from outer scope (line 14)
lms/djangoapps/shoppingcart/tests/test_views.py:1092: [C0103(invalid-name), ShoppingCartViewsTests.test_show_receipt_success_with_upgrade] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/shoppingcart/tests/test_views.py:1666: [C0111(missing-docstring), DonationViewTest._receipt_url] Missing docstring
lms/djangoapps/shoppingcart/tests/test_views.py:1547: [W0201(attribute-defined-outside-init), DonationViewTest.test_donation_for_course_receipt] Attribute 'course' defined outside __init__
lms/djangoapps/static_template_view/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/static_template_view/views.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/static_template_view/views.py:15: [C0103(invalid-name)] Invalid name "valid_templates" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/static_template_view/views.py:18: [C0103(invalid-name)] Invalid name "valid_templates" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/static_template_view/views.py:25: [C0111(missing-docstring), index] Missing docstring
lms/djangoapps/static_template_view/views.py:25: [W0613(unused-argument), index] Unused argument 'request'
lms/djangoapps/static_template_view/views.py:34: [W0613(unused-argument), render] Unused argument 'request'
lms/djangoapps/static_template_view/views.py:47: [W0613(unused-argument), render_press_release] Unused argument 'request'
lms/djangoapps/static_template_view/views.py:64: [C0111(missing-docstring), render_404] Missing docstring
lms/djangoapps/static_template_view/views.py:64: [W0613(unused-argument), render_404] Unused argument 'request'
lms/djangoapps/static_template_view/views.py:68: [C0111(missing-docstring), render_500] Missing docstring
lms/djangoapps/static_template_view/views.py:68: [W0613(unused-argument), render_500] Unused argument 'request'
lms/djangoapps/staticbook/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/staticbook/models.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/student_account/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/student_account/urls.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/student_account/views.py:31: [W0613(unused-argument), index] Unused argument 'request'
lms/djangoapps/student_account/views.py:151: [C0103(invalid-name), email_change_confirmation_handler] Invalid name "email_change_confirmation_handler" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/student_account/views.py:151: [W0613(unused-argument), email_change_confirmation_handler] Unused argument 'request'
lms/djangoapps/student_account/test/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/student_account/test/test_views.py:222: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\s'. String constant might be missing an r prefix.
lms/djangoapps/student_account/test/test_views.py:309: [W0612(unused-variable), StudentAccountUpdateTest.test_password_change_rate_limited] Unused variable 'attempt'
lms/djangoapps/student_profile/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/student_profile/urls.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/student_profile/views.py:9: [W0611(unused-import)] Unused import settings
lms/djangoapps/student_profile/test/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/survey/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/survey/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/verify_student/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/verify_student/admin.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/verify_student/api.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/verify_student/models.py:46: [C0111(missing-docstring), VerificationException] Missing docstring
lms/djangoapps/verify_student/models.py:70: [C0111(missing-docstring), status_before_must_be.decorator_func.with_status_check] Missing docstring
lms/djangoapps/verify_student/models.py:143: [W0108(unnecessary-lambda), PhotoVerification.<lambda>] Lambda may not be necessary
lms/djangoapps/verify_student/models.py:180: [C0111(missing-docstring), PhotoVerification.Meta] Missing docstring
lms/djangoapps/verify_student/models.py:386: [C0111(missing-docstring), PhotoVerification.upload_face_image] Missing docstring
lms/djangoapps/verify_student/models.py:390: [C0111(missing-docstring), PhotoVerification.upload_photo_id_image] Missing docstring
lms/djangoapps/verify_student/models.py:423: [E1101(no-member), PhotoVerification.mark_ready] Instance of 'ForeignKey' has no 'profile' member
lms/djangoapps/verify_student/models.py:724: [W0703(broad-except), SoftwareSecurePhotoVerification.submit] Catching too general exception Exception
lms/djangoapps/verify_student/ssencrypt.py:25: [E0611(no-name-in-module)] No name 'sha256' in module 'hashlib'
lms/djangoapps/verify_student/ssencrypt.py:83: [C0111(missing-docstring), random_aes_key] Missing docstring
lms/djangoapps/verify_student/urls.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/verify_student/urls.py:28: [E1120(no-value-for-parameter)] No value passed for parameter 'cls' in function call
lms/djangoapps/verify_student/urls.py:46: [E1120(no-value-for-parameter)] No value passed for parameter 'cls' in function call
lms/djangoapps/verify_student/views.py:42: [W0403(relative-import)] Relative import 'ssencrypt', should be 'lms.djangoapps.verify_student.ssencrypt'
lms/djangoapps/verify_student/views.py:59: [C0111(missing-docstring), VerifyView] Missing docstring
lms/djangoapps/verify_student/views.py:435: [E1103(maybe-no-member), PayAndVerifyView.get] Instance of 'FakeDate' has no 'replace' member (but some types could not be inferred)
lms/djangoapps/verify_student/views.py:854: [W0612(unused-variable), results_callback] Unused variable 'sig_valid'
lms/djangoapps/verify_student/views.py:987: [W0703(broad-except), ReverifyView.post] Catching too general exception Exception
lms/djangoapps/verify_student/views.py:1115: [C0103(invalid-name), reverification_submission_confirmation] Invalid name "reverification_submission_confirmation" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/verify_student/management/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/verify_student/management/commands/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/verify_student/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/verify_student/tests/test_models.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/verify_student/tests/test_models.py:59: [C0111(missing-docstring), MockKey.set_contents_from_string] Missing docstring
lms/djangoapps/verify_student/tests/test_models.py:62: [C0111(missing-docstring), MockKey.generate_url] Missing docstring
lms/djangoapps/verify_student/tests/test_models.py:62: [W0613(unused-argument), MockKey.generate_url] Unused argument 'duration'
lms/djangoapps/verify_student/tests/test_models.py:60: [W0201(attribute-defined-outside-init), MockKey.set_contents_from_string] Attribute 'contents' defined outside __init__
lms/djangoapps/verify_student/tests/test_models.py:77: [C0111(missing-docstring), MockS3Connection.get_bucket] Missing docstring
lms/djangoapps/verify_student/tests/test_models.py:90: [C0103(invalid-name), mock_software_secure_post] Invalid name "EXPECTED_KEYS" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/verify_student/tests/test_models.py:81: [W0613(unused-argument), mock_software_secure_post] Unused argument 'url'
lms/djangoapps/verify_student/tests/test_models.py:102: [W0612(unused-variable), mock_software_secure_post] Unused variable 'user_photo_key'
lms/djangoapps/verify_student/tests/test_models.py:81: [W0613(unused-argument), mock_software_secure_post] Unused argument 'headers'
lms/djangoapps/verify_student/tests/test_models.py:101: [W0612(unused-variable), mock_software_secure_post] Unused variable 'photo_id_key'
lms/djangoapps/verify_student/tests/test_models.py:81: [W0613(unused-argument), mock_software_secure_post] Unused argument 'kwargs'
lms/djangoapps/verify_student/tests/test_models.py:110: [W0613(unused-argument), mock_software_secure_post_error] Unused argument 'url'
lms/djangoapps/verify_student/tests/test_models.py:110: [W0613(unused-argument), mock_software_secure_post_error] Unused argument 'headers'
lms/djangoapps/verify_student/tests/test_models.py:110: [W0613(unused-argument), mock_software_secure_post_error] Unused argument 'data'
lms/djangoapps/verify_student/tests/test_models.py:110: [W0613(unused-argument), mock_software_secure_post_error] Unused argument 'kwargs'
lms/djangoapps/verify_student/tests/test_models.py:120: [C0103(invalid-name), mock_software_secure_post_unavailable] Invalid name "mock_software_secure_post_unavailable" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/djangoapps/verify_student/tests/test_models.py:120: [W0613(unused-argument), mock_software_secure_post_unavailable] Unused argument 'url'
lms/djangoapps/verify_student/tests/test_models.py:120: [W0613(unused-argument), mock_software_secure_post_unavailable] Unused argument 'headers'
lms/djangoapps/verify_student/tests/test_models.py:120: [W0613(unused-argument), mock_software_secure_post_unavailable] Unused argument 'data'
lms/djangoapps/verify_student/tests/test_models.py:120: [W0613(unused-argument), mock_software_secure_post_unavailable] Unused argument 'kwargs'
lms/djangoapps/verify_student/tests/test_models.py:126: [C0111(missing-docstring), TestPhotoVerification] Missing docstring
lms/djangoapps/verify_student/tests/test_models.py:161: [C0103(invalid-name), TestPhotoVerification.test_state_transitions] Invalid name "DENY_ERROR_MSG" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/verify_student/tests/test_models.py:314: [W0631(undefined-loop-variable), TestPhotoVerification.test_user_is_verified] Using possibly undefined loop variable 'status'
lms/djangoapps/verify_student/tests/test_ssencrypt.py:1: [C0111(missing-docstring)] Missing docstring
lms/djangoapps/verify_student/tests/test_ssencrypt.py:2: [E0611(no-name-in-module)] No name 'assert_equals' in module 'nose.tools'
lms/djangoapps/verify_student/tests/test_ssencrypt.py:14: [C0111(missing-docstring), test_aes.assert_roundtrip] Missing docstring
lms/djangoapps/verify_student/tests/test_ssencrypt.py:4: [W0611(unused-import)] Unused import random_aes_key
lms/djangoapps/verify_student/tests/test_views.py:54: [C0111(missing-docstring), mock_render_to_response] Missing docstring
lms/djangoapps/verify_student/tests/test_views.py:57: [C0103(invalid-name)] Invalid name "render_mock" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/djangoapps/verify_student/tests/test_views.py:60: [C0111(missing-docstring), StartView] Missing docstring
lms/djangoapps/verify_student/tests/test_views.py:62: [C0111(missing-docstring), StartView.start_url] Missing docstring
lms/djangoapps/verify_student/tests/test_views.py:70: [W0612(unused-variable), StartView.test_start_new_verification] Unused variable 'user'
lms/djangoapps/verify_student/tests/test_views.py:73: [C0111(missing-docstring), StartView.must_be_logged_in] Missing docstring
lms/djangoapps/verify_student/tests/test_views.py:74: [E1101(no-member), StartView.must_be_logged_in] Instance of 'StartView' has no 'assertHttpForbidden' member
lms/djangoapps/verify_student/tests/test_views.py:252: [C0111(missing-docstring), TestVerifyView] Missing docstring
lms/djangoapps/verify_student/tests/test_views.py:330: [W0212(protected-access), TestVerifiedView.test_verified_course_mode_none] Access to a protected member _headers of a client class
lms/djangoapps/verify_student/tests/test_views.py:330: [E1103(maybe-no-member), TestVerifiedView.test_verified_course_mode_none] Instance of 'WSGIRequest' has no '_headers' member (but some types could not be inferred)
lms/djangoapps/verify_student/tests/test_views.py:415: [E0213(no-self-argument), TestPhotoVerificationResultsCallback.mocked_has_valid_signature] Method should have "self" as first argument
lms/djangoapps/verify_student/tests/test_views.py:415: [C0111(missing-docstring), TestPhotoVerificationResultsCallback.mocked_has_valid_signature] Missing docstring
lms/djangoapps/verify_student/tests/test_views.py:415: [W0613(unused-argument), TestPhotoVerificationResultsCallback.mocked_has_valid_signature] Unused argument 'access_key'
lms/djangoapps/verify_student/tests/test_views.py:415: [W0613(unused-argument), TestPhotoVerificationResultsCallback.mocked_has_valid_signature] Unused argument 'headers_dict'
lms/djangoapps/verify_student/tests/test_views.py:415: [W0613(unused-argument), TestPhotoVerificationResultsCallback.mocked_has_valid_signature] Unused argument 'secret_key'
lms/djangoapps/verify_student/tests/test_views.py:415: [W0613(unused-argument), TestPhotoVerificationResultsCallback.mocked_has_valid_signature] Unused argument 'body_dict'
lms/djangoapps/verify_student/tests/test_views.py:648: [E1103(maybe-no-member), TestMidCourseReverifyView.test_midcourse_reverify_get] Instance of 'dict' has no 'emit' member (but some types could not be inferred)
lms/djangoapps/verify_student/tests/test_views.py:682: [E1103(maybe-no-member), TestMidCourseReverifyView.test_midcourse_reverify_post_success] Instance of 'dict' has no 'emit' member (but some types could not be inferred)
lms/envs/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/envs/acceptance.py:27: [W0402(deprecated-module)] Uses of a deprecated module 'string'
lms/envs/acceptance.py:30: [C0111(missing-docstring), seed] Missing docstring
lms/envs/acceptance.py:27: [W0611(unused-import)] Unused import string
lms/envs/aws.py:231: [C0103(invalid-name)] Invalid name "local_loglevel" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/envs/common.py:324: [E1120(no-value-for-parameter)] No value passed for parameter 'self' in function call
lms/envs/dev.py:16: [W0611(unused-import)] Unused import get_logger_config
lms/envs/dev_ike.py:29: [C0103(invalid-name)] Invalid name "myhost" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
lms/envs/dev_with_worker.py:15: [W0403(relative-import)] Relative import 'dev', should be 'lms.envs.dev'
lms/envs/discussionsettings.py:1: [C0111(missing-docstring)] Missing docstring
lms/envs/edx4edx_aws.py:1: [C0111(missing-docstring)] Missing docstring
lms/envs/cms/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/envs/cms/aws.py:11: [E0602(undefined-variable)] Undefined variable 'ENV_ROOT'
lms/envs/cms/aws.py:12: [E0602(undefined-variable)] Undefined variable 'json'
lms/envs/cms/dev.py:47: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\.'. String constant might be missing an r prefix.
lms/envs/cms/dev.py:11: [E0602(undefined-variable)] Undefined variable 'FEATURES'
lms/envs/cms/dev.py:13: [E0602(undefined-variable)] Undefined variable 'SUBDOMAIN_BRANDING'
lms/envs/cms/dev.py:14: [E0602(undefined-variable)] Undefined variable 'SUBDOMAIN_BRANDING'
lms/envs/cms/dev.py:21: [E0602(undefined-variable)] Undefined variable 'FEATURES'
lms/envs/devgroups/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/envs/devgroups/courses.py:1: [C0111(missing-docstring)] Missing docstring
lms/envs/devgroups/courses.py:37: [C0111(missing-docstring), path_for_db] Missing docstring
lms/envs/devgroups/courses.py:38: [E0602(undefined-variable), path_for_db] Undefined variable 'ENV_ROOT'
lms/envs/devgroups/courses.py:41: [C0111(missing-docstring), course_db_for] Missing docstring
lms/envs/devgroups/h_cs50.py:1: [C0111(missing-docstring)] Missing docstring
lms/envs/devgroups/m_6002.py:1: [C0111(missing-docstring)] Missing docstring
lms/envs/devgroups/portal.py:10: [W0403(relative-import)] Relative import 'courses', should be 'lms.envs.devgroups.courses'
lms/envs/devgroups/portal.py:14: [E0602(undefined-variable)] Undefined variable 'DATABASES'
lms/lib/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/__init__.py:1: [W0401(wildcard-import)] Wildcard import comment_client
lms/lib/comment_client/comment.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/comment.py:4: [W0403(relative-import)] Relative import 'models', should be 'lms.lib.comment_client.models'
lms/lib/comment_client/comment.py:5: [W0403(relative-import)] Relative import 'settings', should be 'lms.lib.comment_client.settings'
lms/lib/comment_client/comment.py:8: [C0111(missing-docstring), Comment] Missing docstring
lms/lib/comment_client/comment.py:30: [C0111(missing-docstring), Comment.thread] Missing docstring
lms/lib/comment_client/comment.py:34: [W0102(dangerous-default-value), Comment.url_for_comments] Dangerous default value {} as argument
lms/lib/comment_client/comment.py:34: [C0111(missing-docstring), Comment.url_for_comments] Missing docstring
lms/lib/comment_client/comment.py:41: [W0102(dangerous-default-value), Comment.url] Dangerous default value {} as argument
lms/lib/comment_client/comment.py:47: [C0103(invalid-name), Comment.flagAbuse] Invalid name "flagAbuse" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/lib/comment_client/comment.py:47: [C0111(missing-docstring), Comment.flagAbuse] Missing docstring
lms/lib/comment_client/comment.py:62: [W0212(protected-access), Comment.flagAbuse] Access to a protected member _update_from_response of a client class
lms/lib/comment_client/comment.py:64: [C0103(invalid-name), Comment.unFlagAbuse] Invalid name "unFlagAbuse" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/lib/comment_client/comment.py:64: [C0103(invalid-name), Comment.unFlagAbuse] Invalid name "removeAll" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/comment.py:64: [C0111(missing-docstring), Comment.unFlagAbuse] Missing docstring
lms/lib/comment_client/comment.py:64: [C0103(invalid-name), Comment.unFlagAbuse] Invalid name "removeAll" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/comment.py:83: [W0212(protected-access), Comment.unFlagAbuse] Access to a protected member _update_from_response of a client class
lms/djangoapps/django_comment_client/base/views.py:247: [W0201(attribute-defined-outside-init), update_comment] Attribute 'body' defined outside __init__
lms/djangoapps/django_comment_client/base/views.py:266: [W0201(attribute-defined-outside-init), endorse_comment] Attribute 'endorsement_user_id' defined outside __init__
lms/djangoapps/django_comment_client/base/views.py:265: [W0201(attribute-defined-outside-init), endorse_comment] Attribute 'endorsed' defined outside __init__
lms/lib/comment_client/comment.py:8: [R0924(incomplete-protocol), Comment] Badly implemented Container, implements __getitem__, __setitem__ but not __delitem__, __len__
lms/lib/comment_client/comment.py:86: [C0111(missing-docstring), _url_for_thread_comments] Missing docstring
lms/lib/comment_client/comment.py:90: [C0111(missing-docstring), _url_for_comment] Missing docstring
lms/lib/comment_client/comment.py:94: [C0111(missing-docstring), _url_for_flag_abuse_comment] Missing docstring
lms/lib/comment_client/comment.py:98: [C0111(missing-docstring), _url_for_unflag_abuse_comment] Missing docstring
lms/lib/comment_client/commentable.py:2: [W0403(relative-import)] Relative import 'models', should be 'lms.lib.comment_client.models'
lms/lib/comment_client/commentable.py:3: [W0403(relative-import)] Relative import 'settings', should be 'lms.lib.comment_client.settings'
lms/lib/comment_client/commentable.py:6: [C0111(missing-docstring), Commentable] Missing docstring
lms/lib/comment_client/commentable.py:6: [R0924(incomplete-protocol), Commentable] Badly implemented Container, implements __getitem__, __setitem__ but not __delitem__, __len__
lms/lib/comment_client/models.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/models.py:9: [C0111(missing-docstring), Model] Missing docstring
lms/lib/comment_client/models.py:22: [W0613(unused-argument), Model.__init__] Unused argument 'args'
lms/lib/comment_client/models.py:53: [C0111(missing-docstring), Model.items] Missing docstring
lms/lib/comment_client/models.py:56: [C0111(missing-docstring), Model.get] Missing docstring
lms/lib/comment_client/models.py:59: [C0111(missing-docstring), Model.to_dict] Missing docstring
lms/lib/comment_client/models.py:63: [C0111(missing-docstring), Model.retrieve] Missing docstring
lms/lib/comment_client/models.py:69: [C0111(missing-docstring), Model._retrieve] Missing docstring
lms/lib/comment_client/models.py:69: [W0613(unused-argument), Model._retrieve] Unused argument 'args'
lms/lib/comment_client/models.py:69: [W0613(unused-argument), Model._retrieve] Unused argument 'kwargs'
lms/lib/comment_client/models.py:98: [W0622(redefined-builtin), Model.find] Redefining built-in 'id'
lms/lib/comment_client/models.py:98: [C0103(invalid-name), Model.find] Invalid name "id" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/models.py:98: [C0111(missing-docstring), Model.find] Missing docstring
lms/lib/comment_client/models.py:98: [C0103(invalid-name), Model.find] Invalid name "id" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/models.py:101: [C0111(missing-docstring), Model._update_from_response] Missing docstring
lms/lib/comment_client/models.py:102: [C0103(invalid-name), Model._update_from_response] Invalid name "v" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/models.py:113: [C0111(missing-docstring), Model.updatable_attributes] Missing docstring
lms/lib/comment_client/models.py:116: [C0111(missing-docstring), Model.initializable_attributes] Missing docstring
lms/lib/comment_client/models.py:120: [C0111(missing-docstring), Model.before_save] Missing docstring
lms/lib/comment_client/models.py:124: [C0111(missing-docstring), Model.after_save] Missing docstring
lms/lib/comment_client/models.py:127: [C0111(missing-docstring), Model.save] Missing docstring
lms/lib/comment_client/models.py:151: [C0111(missing-docstring), Model.delete] Missing docstring
lms/lib/comment_client/models.py:158: [W0102(dangerous-default-value), Model.url_with_id] Dangerous default value {} as argument
lms/lib/comment_client/models.py:158: [C0111(missing-docstring), Model.url_with_id] Missing docstring
lms/lib/comment_client/models.py:162: [W0102(dangerous-default-value), Model.url_without_id] Dangerous default value {} as argument
lms/lib/comment_client/models.py:162: [C0111(missing-docstring), Model.url_without_id] Missing docstring
lms/lib/comment_client/models.py:162: [W0613(unused-argument), Model.url_without_id] Unused argument 'params'
lms/lib/comment_client/models.py:166: [W0102(dangerous-default-value), Model.url] Dangerous default value {} as argument
lms/lib/comment_client/models.py:166: [C0111(missing-docstring), Model.url] Missing docstring
lms/lib/comment_client/models.py:9: [R0924(incomplete-protocol), Model] Badly implemented Container, implements __getitem__, __setitem__ but not __delitem__, __len__
lms/lib/comment_client/settings.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/thread.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/thread.py:6: [W0403(relative-import)] Relative import 'models', should be 'lms.lib.comment_client.models'
lms/lib/comment_client/thread.py:7: [W0403(relative-import)] Relative import 'settings', should be 'lms.lib.comment_client.settings'
lms/lib/comment_client/thread.py:12: [C0111(missing-docstring), Thread] Missing docstring
lms/lib/comment_client/thread.py:41: [C0111(missing-docstring), Thread.search] Missing docstring
lms/lib/comment_client/thread.py:95: [W0102(dangerous-default-value), Thread.url_for_threads] Dangerous default value {} as argument
lms/lib/comment_client/thread.py:95: [C0111(missing-docstring), Thread.url_for_threads] Missing docstring
lms/lib/comment_client/thread.py:102: [W0102(dangerous-default-value), Thread.url_for_search_threads] Dangerous default value {} as argument
lms/lib/comment_client/thread.py:102: [C0111(missing-docstring), Thread.url_for_search_threads] Missing docstring
lms/lib/comment_client/thread.py:102: [W0613(unused-argument), Thread.url_for_search_threads] Unused argument 'params'
lms/lib/comment_client/thread.py:106: [W0102(dangerous-default-value), Thread.url] Dangerous default value {} as argument
lms/lib/comment_client/thread.py:138: [C0103(invalid-name), Thread.flagAbuse] Invalid name "flagAbuse" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/lib/comment_client/thread.py:138: [C0111(missing-docstring), Thread.flagAbuse] Missing docstring
lms/lib/comment_client/thread.py:142: [E0602(undefined-variable), Thread.flagAbuse] Undefined variable '_url_for_flag_comment'
lms/lib/comment_client/thread.py:153: [W0212(protected-access), Thread.flagAbuse] Access to a protected member _update_from_response of a client class
lms/lib/comment_client/thread.py:155: [C0103(invalid-name), Thread.unFlagAbuse] Invalid name "unFlagAbuse" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/lib/comment_client/thread.py:155: [C0103(invalid-name), Thread.unFlagAbuse] Invalid name "removeAll" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/thread.py:155: [C0111(missing-docstring), Thread.unFlagAbuse] Missing docstring
lms/lib/comment_client/thread.py:155: [C0103(invalid-name), Thread.unFlagAbuse] Invalid name "removeAll" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/thread.py:159: [E0602(undefined-variable), Thread.unFlagAbuse] Undefined variable '_url_for_unflag_comment'
lms/lib/comment_client/thread.py:174: [W0212(protected-access), Thread.unFlagAbuse] Access to a protected member _update_from_response of a client class
lms/lib/comment_client/thread.py:176: [C0111(missing-docstring), Thread.pin] Missing docstring
lms/lib/comment_client/thread.py:188: [C0111(missing-docstring), Thread.un_pin] Missing docstring
lms/djangoapps/django_comment_client/base/views.py:144: [W0201(attribute-defined-outside-init), update_thread] Attribute 'body' defined outside __init__
lms/djangoapps/django_comment_client/base/views.py:145: [W0201(attribute-defined-outside-init), update_thread] Attribute 'title' defined outside __init__
lms/djangoapps/django_comment_client/base/views.py:149: [W0201(attribute-defined-outside-init), update_thread] Attribute 'thread_type' defined outside __init__
lms/djangoapps/django_comment_client/base/views.py:154: [W0201(attribute-defined-outside-init), update_thread] Attribute 'commentable_id' defined outside __init__
lms/djangoapps/django_comment_client/base/views.py:281: [W0201(attribute-defined-outside-init), openclose_thread] Attribute 'closed' defined outside __init__
lms/djangoapps/django_comment_client/base/views.py:111: [W0201(attribute-defined-outside-init), create_thread] Attribute 'group_id' defined outside __init__
lms/lib/comment_client/thread.py:12: [R0924(incomplete-protocol), Thread] Badly implemented Container, implements __getitem__, __setitem__ but not __delitem__, __len__
lms/lib/comment_client/thread.py:201: [C0111(missing-docstring), _url_for_flag_abuse_thread] Missing docstring
lms/lib/comment_client/thread.py:205: [C0111(missing-docstring), _url_for_unflag_abuse_thread] Missing docstring
lms/lib/comment_client/thread.py:209: [C0111(missing-docstring), _url_for_pin_thread] Missing docstring
lms/lib/comment_client/thread.py:213: [C0111(missing-docstring), _url_for_un_pin_thread] Missing docstring
lms/lib/comment_client/user.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/user.py:3: [W0403(relative-import)] Relative import 'models', should be 'lms.lib.comment_client.models'
lms/lib/comment_client/user.py:4: [W0403(relative-import)] Relative import 'settings', should be 'lms.lib.comment_client.settings'
lms/lib/comment_client/user.py:7: [C0111(missing-docstring), User] Missing docstring
lms/lib/comment_client/user.py:27: [C0111(missing-docstring), User.from_django_user] Missing docstring
lms/lib/comment_client/user.py:32: [C0111(missing-docstring), User.follow] Missing docstring
lms/lib/comment_client/user.py:34: [W0612(unused-variable), User.follow] Unused variable 'response'
lms/lib/comment_client/user.py:42: [C0111(missing-docstring), User.unfollow] Missing docstring
lms/lib/comment_client/user.py:44: [W0612(unused-variable), User.unfollow] Unused variable 'response'
lms/lib/comment_client/user.py:52: [C0111(missing-docstring), User.vote] Missing docstring
lms/lib/comment_client/user.py:67: [W0212(protected-access), User.vote] Access to a protected member _update_from_response of a client class
lms/lib/comment_client/user.py:69: [C0111(missing-docstring), User.unvote] Missing docstring
lms/lib/comment_client/user.py:84: [W0212(protected-access), User.unvote] Access to a protected member _update_from_response of a client class
lms/lib/comment_client/user.py:86: [W0102(dangerous-default-value), User.active_threads] Dangerous default value {} as argument
lms/lib/comment_client/user.py:86: [C0111(missing-docstring), User.active_threads] Missing docstring
lms/lib/comment_client/user.py:102: [W0102(dangerous-default-value), User.subscribed_threads] Dangerous default value {} as argument
lms/lib/comment_client/user.py:102: [C0111(missing-docstring), User.subscribed_threads] Missing docstring
lms/lib/comment_client/user.py:134: [C0103(invalid-name), User._retrieve] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/base/views.py:636: [W0201(attribute-defined-outside-init), users] Attribute 'course_id' defined outside __init__
lms/djangoapps/django_comment_client/forum/views.py:93: [W0201(attribute-defined-outside-init), get_threads] Attribute 'default_sort_key' defined outside __init__
lms/lib/comment_client/user.py:7: [R0924(incomplete-protocol), User] Badly implemented Container, implements __getitem__, __setitem__ but not __delitem__, __len__
lms/lib/comment_client/user.py:151: [C0111(missing-docstring), _url_for_vote_comment] Missing docstring
lms/lib/comment_client/user.py:155: [C0111(missing-docstring), _url_for_vote_thread] Missing docstring
lms/lib/comment_client/user.py:159: [C0111(missing-docstring), _url_for_subscription] Missing docstring
lms/lib/comment_client/user.py:163: [C0111(missing-docstring), _url_for_user_active_threads] Missing docstring
lms/lib/comment_client/user.py:167: [C0103(invalid-name), _url_for_user_subscribed_threads] Invalid name "_url_for_user_subscribed_threads" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/lib/comment_client/user.py:167: [C0111(missing-docstring), _url_for_user_subscribed_threads] Missing docstring
lms/lib/comment_client/utils.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/utils.py:13: [C0111(missing-docstring), strip_none] Missing docstring
lms/lib/comment_client/utils.py:17: [C0111(missing-docstring), strip_blank] Missing docstring
lms/lib/comment_client/utils.py:18: [C0103(invalid-name), strip_blank._is_blank] Invalid name "v" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/utils.py:18: [C0111(missing-docstring), strip_blank._is_blank] Missing docstring
lms/lib/comment_client/utils.py:18: [C0103(invalid-name), strip_blank._is_blank] Invalid name "v" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/utils.py:23: [C0111(missing-docstring), extract] Missing docstring
lms/lib/comment_client/utils.py:30: [C0111(missing-docstring), merge_dict] Missing docstring
lms/lib/comment_client/utils.py:35: [C0111(missing-docstring), request_timer] Missing docstring
lms/lib/comment_client/utils.py:53: [C0111(missing-docstring), perform_request] Missing docstring
lms/lib/comment_client/utils.py:135: [C0111(missing-docstring), CommentClientError] Missing docstring
lms/lib/comment_client/utils.py:136: [W0231(super-init-not-called), CommentClientError.__init__] __init__ method from base class 'Exception' is not called
lms/lib/comment_client/utils.py:143: [C0111(missing-docstring), CommentClientRequestError] Missing docstring
lms/lib/comment_client/utils.py:149: [C0111(missing-docstring), CommentClient500Error] Missing docstring
lms/lib/comment_client/utils.py:153: [C0111(missing-docstring), CommentClientMaintenanceError] Missing docstring
lms/lib/newrelic_logging/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/newrelic_logging/__init__.py:6: [C0111(missing-docstring), NewRelicHandler] Missing docstring
lms/lib/comment_client/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/__init__.py:1: [W0401(wildcard-import)] Wildcard import comment_client
lms/lib/comment_client/comment.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/comment.py:4: [W0403(relative-import)] Relative import 'models', should be 'lms.lib.comment_client.models'
lms/lib/comment_client/comment.py:5: [W0403(relative-import)] Relative import 'settings', should be 'lms.lib.comment_client.settings'
lms/lib/comment_client/comment.py:8: [C0111(missing-docstring), Comment] Missing docstring
lms/lib/comment_client/comment.py:30: [C0111(missing-docstring), Comment.thread] Missing docstring
lms/lib/comment_client/comment.py:34: [W0102(dangerous-default-value), Comment.url_for_comments] Dangerous default value {} as argument
lms/lib/comment_client/comment.py:34: [C0111(missing-docstring), Comment.url_for_comments] Missing docstring
lms/lib/comment_client/comment.py:41: [W0102(dangerous-default-value), Comment.url] Dangerous default value {} as argument
lms/lib/comment_client/comment.py:47: [C0103(invalid-name), Comment.flagAbuse] Invalid name "flagAbuse" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/lib/comment_client/comment.py:47: [C0111(missing-docstring), Comment.flagAbuse] Missing docstring
lms/lib/comment_client/comment.py:62: [W0212(protected-access), Comment.flagAbuse] Access to a protected member _update_from_response of a client class
lms/lib/comment_client/comment.py:64: [C0103(invalid-name), Comment.unFlagAbuse] Invalid name "unFlagAbuse" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/lib/comment_client/comment.py:64: [C0103(invalid-name), Comment.unFlagAbuse] Invalid name "removeAll" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/comment.py:64: [C0111(missing-docstring), Comment.unFlagAbuse] Missing docstring
lms/lib/comment_client/comment.py:64: [C0103(invalid-name), Comment.unFlagAbuse] Invalid name "removeAll" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/comment.py:83: [W0212(protected-access), Comment.unFlagAbuse] Access to a protected member _update_from_response of a client class
lms/djangoapps/django_comment_client/base/views.py:247: [W0201(attribute-defined-outside-init), update_comment] Attribute 'body' defined outside __init__
lms/djangoapps/django_comment_client/base/views.py:266: [W0201(attribute-defined-outside-init), endorse_comment] Attribute 'endorsement_user_id' defined outside __init__
lms/djangoapps/django_comment_client/base/views.py:265: [W0201(attribute-defined-outside-init), endorse_comment] Attribute 'endorsed' defined outside __init__
lms/lib/comment_client/comment.py:8: [R0924(incomplete-protocol), Comment] Badly implemented Container, implements __getitem__, __setitem__ but not __delitem__, __len__
lms/lib/comment_client/comment.py:86: [C0111(missing-docstring), _url_for_thread_comments] Missing docstring
lms/lib/comment_client/comment.py:90: [C0111(missing-docstring), _url_for_comment] Missing docstring
lms/lib/comment_client/comment.py:94: [C0111(missing-docstring), _url_for_flag_abuse_comment] Missing docstring
lms/lib/comment_client/comment.py:98: [C0111(missing-docstring), _url_for_unflag_abuse_comment] Missing docstring
lms/lib/comment_client/commentable.py:2: [W0403(relative-import)] Relative import 'models', should be 'lms.lib.comment_client.models'
lms/lib/comment_client/commentable.py:3: [W0403(relative-import)] Relative import 'settings', should be 'lms.lib.comment_client.settings'
lms/lib/comment_client/commentable.py:6: [C0111(missing-docstring), Commentable] Missing docstring
lms/lib/comment_client/commentable.py:6: [R0924(incomplete-protocol), Commentable] Badly implemented Container, implements __getitem__, __setitem__ but not __delitem__, __len__
lms/lib/comment_client/models.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/models.py:9: [C0111(missing-docstring), Model] Missing docstring
lms/lib/comment_client/models.py:22: [W0613(unused-argument), Model.__init__] Unused argument 'args'
lms/lib/comment_client/models.py:53: [C0111(missing-docstring), Model.items] Missing docstring
lms/lib/comment_client/models.py:56: [C0111(missing-docstring), Model.get] Missing docstring
lms/lib/comment_client/models.py:59: [C0111(missing-docstring), Model.to_dict] Missing docstring
lms/lib/comment_client/models.py:63: [C0111(missing-docstring), Model.retrieve] Missing docstring
lms/lib/comment_client/models.py:69: [C0111(missing-docstring), Model._retrieve] Missing docstring
lms/lib/comment_client/models.py:69: [W0613(unused-argument), Model._retrieve] Unused argument 'args'
lms/lib/comment_client/models.py:69: [W0613(unused-argument), Model._retrieve] Unused argument 'kwargs'
lms/lib/comment_client/models.py:98: [W0622(redefined-builtin), Model.find] Redefining built-in 'id'
lms/lib/comment_client/models.py:98: [C0103(invalid-name), Model.find] Invalid name "id" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/models.py:98: [C0111(missing-docstring), Model.find] Missing docstring
lms/lib/comment_client/models.py:98: [C0103(invalid-name), Model.find] Invalid name "id" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/models.py:101: [C0111(missing-docstring), Model._update_from_response] Missing docstring
lms/lib/comment_client/models.py:102: [C0103(invalid-name), Model._update_from_response] Invalid name "v" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/models.py:113: [C0111(missing-docstring), Model.updatable_attributes] Missing docstring
lms/lib/comment_client/models.py:116: [C0111(missing-docstring), Model.initializable_attributes] Missing docstring
lms/lib/comment_client/models.py:120: [C0111(missing-docstring), Model.before_save] Missing docstring
lms/lib/comment_client/models.py:124: [C0111(missing-docstring), Model.after_save] Missing docstring
lms/lib/comment_client/models.py:127: [C0111(missing-docstring), Model.save] Missing docstring
lms/lib/comment_client/models.py:151: [C0111(missing-docstring), Model.delete] Missing docstring
lms/lib/comment_client/models.py:158: [W0102(dangerous-default-value), Model.url_with_id] Dangerous default value {} as argument
lms/lib/comment_client/models.py:158: [C0111(missing-docstring), Model.url_with_id] Missing docstring
lms/lib/comment_client/models.py:162: [W0102(dangerous-default-value), Model.url_without_id] Dangerous default value {} as argument
lms/lib/comment_client/models.py:162: [C0111(missing-docstring), Model.url_without_id] Missing docstring
lms/lib/comment_client/models.py:162: [W0613(unused-argument), Model.url_without_id] Unused argument 'params'
lms/lib/comment_client/models.py:166: [W0102(dangerous-default-value), Model.url] Dangerous default value {} as argument
lms/lib/comment_client/models.py:166: [C0111(missing-docstring), Model.url] Missing docstring
lms/lib/comment_client/models.py:9: [R0924(incomplete-protocol), Model] Badly implemented Container, implements __getitem__, __setitem__ but not __delitem__, __len__
lms/lib/comment_client/settings.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/thread.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/thread.py:6: [W0403(relative-import)] Relative import 'models', should be 'lms.lib.comment_client.models'
lms/lib/comment_client/thread.py:7: [W0403(relative-import)] Relative import 'settings', should be 'lms.lib.comment_client.settings'
lms/lib/comment_client/thread.py:12: [C0111(missing-docstring), Thread] Missing docstring
lms/lib/comment_client/thread.py:41: [C0111(missing-docstring), Thread.search] Missing docstring
lms/lib/comment_client/thread.py:95: [W0102(dangerous-default-value), Thread.url_for_threads] Dangerous default value {} as argument
lms/lib/comment_client/thread.py:95: [C0111(missing-docstring), Thread.url_for_threads] Missing docstring
lms/lib/comment_client/thread.py:102: [W0102(dangerous-default-value), Thread.url_for_search_threads] Dangerous default value {} as argument
lms/lib/comment_client/thread.py:102: [C0111(missing-docstring), Thread.url_for_search_threads] Missing docstring
lms/lib/comment_client/thread.py:102: [W0613(unused-argument), Thread.url_for_search_threads] Unused argument 'params'
lms/lib/comment_client/thread.py:106: [W0102(dangerous-default-value), Thread.url] Dangerous default value {} as argument
lms/lib/comment_client/thread.py:138: [C0103(invalid-name), Thread.flagAbuse] Invalid name "flagAbuse" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/lib/comment_client/thread.py:138: [C0111(missing-docstring), Thread.flagAbuse] Missing docstring
lms/lib/comment_client/thread.py:142: [E0602(undefined-variable), Thread.flagAbuse] Undefined variable '_url_for_flag_comment'
lms/lib/comment_client/thread.py:153: [W0212(protected-access), Thread.flagAbuse] Access to a protected member _update_from_response of a client class
lms/lib/comment_client/thread.py:155: [C0103(invalid-name), Thread.unFlagAbuse] Invalid name "unFlagAbuse" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
lms/lib/comment_client/thread.py:155: [C0103(invalid-name), Thread.unFlagAbuse] Invalid name "removeAll" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/thread.py:155: [C0111(missing-docstring), Thread.unFlagAbuse] Missing docstring
lms/lib/comment_client/thread.py:155: [C0103(invalid-name), Thread.unFlagAbuse] Invalid name "removeAll" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/thread.py:159: [E0602(undefined-variable), Thread.unFlagAbuse] Undefined variable '_url_for_unflag_comment'
lms/lib/comment_client/thread.py:174: [W0212(protected-access), Thread.unFlagAbuse] Access to a protected member _update_from_response of a client class
lms/lib/comment_client/thread.py:176: [C0111(missing-docstring), Thread.pin] Missing docstring
lms/lib/comment_client/thread.py:188: [C0111(missing-docstring), Thread.un_pin] Missing docstring
lms/djangoapps/django_comment_client/base/views.py:144: [W0201(attribute-defined-outside-init), update_thread] Attribute 'body' defined outside __init__
lms/djangoapps/django_comment_client/base/views.py:145: [W0201(attribute-defined-outside-init), update_thread] Attribute 'title' defined outside __init__
lms/djangoapps/django_comment_client/base/views.py:149: [W0201(attribute-defined-outside-init), update_thread] Attribute 'thread_type' defined outside __init__
lms/djangoapps/django_comment_client/base/views.py:154: [W0201(attribute-defined-outside-init), update_thread] Attribute 'commentable_id' defined outside __init__
lms/djangoapps/django_comment_client/base/views.py:281: [W0201(attribute-defined-outside-init), openclose_thread] Attribute 'closed' defined outside __init__
lms/djangoapps/django_comment_client/base/views.py:111: [W0201(attribute-defined-outside-init), create_thread] Attribute 'group_id' defined outside __init__
lms/lib/comment_client/thread.py:12: [R0924(incomplete-protocol), Thread] Badly implemented Container, implements __getitem__, __setitem__ but not __delitem__, __len__
lms/lib/comment_client/thread.py:201: [C0111(missing-docstring), _url_for_flag_abuse_thread] Missing docstring
lms/lib/comment_client/thread.py:205: [C0111(missing-docstring), _url_for_unflag_abuse_thread] Missing docstring
lms/lib/comment_client/thread.py:209: [C0111(missing-docstring), _url_for_pin_thread] Missing docstring
lms/lib/comment_client/thread.py:213: [C0111(missing-docstring), _url_for_un_pin_thread] Missing docstring
lms/lib/comment_client/user.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/user.py:3: [W0403(relative-import)] Relative import 'models', should be 'lms.lib.comment_client.models'
lms/lib/comment_client/user.py:4: [W0403(relative-import)] Relative import 'settings', should be 'lms.lib.comment_client.settings'
lms/lib/comment_client/user.py:7: [C0111(missing-docstring), User] Missing docstring
lms/lib/comment_client/user.py:27: [C0111(missing-docstring), User.from_django_user] Missing docstring
lms/lib/comment_client/user.py:32: [C0111(missing-docstring), User.follow] Missing docstring
lms/lib/comment_client/user.py:34: [W0612(unused-variable), User.follow] Unused variable 'response'
lms/lib/comment_client/user.py:42: [C0111(missing-docstring), User.unfollow] Missing docstring
lms/lib/comment_client/user.py:44: [W0612(unused-variable), User.unfollow] Unused variable 'response'
lms/lib/comment_client/user.py:52: [C0111(missing-docstring), User.vote] Missing docstring
lms/lib/comment_client/user.py:67: [W0212(protected-access), User.vote] Access to a protected member _update_from_response of a client class
lms/lib/comment_client/user.py:69: [C0111(missing-docstring), User.unvote] Missing docstring
lms/lib/comment_client/user.py:84: [W0212(protected-access), User.unvote] Access to a protected member _update_from_response of a client class
lms/lib/comment_client/user.py:86: [W0102(dangerous-default-value), User.active_threads] Dangerous default value {} as argument
lms/lib/comment_client/user.py:86: [C0111(missing-docstring), User.active_threads] Missing docstring
lms/lib/comment_client/user.py:102: [W0102(dangerous-default-value), User.subscribed_threads] Dangerous default value {} as argument
lms/lib/comment_client/user.py:102: [C0111(missing-docstring), User.subscribed_threads] Missing docstring
lms/lib/comment_client/user.py:134: [C0103(invalid-name), User._retrieve] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/djangoapps/django_comment_client/base/views.py:636: [W0201(attribute-defined-outside-init), users] Attribute 'course_id' defined outside __init__
lms/djangoapps/django_comment_client/forum/views.py:93: [W0201(attribute-defined-outside-init), get_threads] Attribute 'default_sort_key' defined outside __init__
lms/lib/comment_client/user.py:7: [R0924(incomplete-protocol), User] Badly implemented Container, implements __getitem__, __setitem__ but not __delitem__, __len__
lms/lib/comment_client/user.py:151: [C0111(missing-docstring), _url_for_vote_comment] Missing docstring
lms/lib/comment_client/user.py:155: [C0111(missing-docstring), _url_for_vote_thread] Missing docstring
lms/lib/comment_client/user.py:159: [C0111(missing-docstring), _url_for_subscription] Missing docstring
lms/lib/comment_client/user.py:163: [C0111(missing-docstring), _url_for_user_active_threads] Missing docstring
lms/lib/comment_client/user.py:167: [C0103(invalid-name), _url_for_user_subscribed_threads] Invalid name "_url_for_user_subscribed_threads" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
lms/lib/comment_client/user.py:167: [C0111(missing-docstring), _url_for_user_subscribed_threads] Missing docstring
lms/lib/comment_client/utils.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/comment_client/utils.py:13: [C0111(missing-docstring), strip_none] Missing docstring
lms/lib/comment_client/utils.py:17: [C0111(missing-docstring), strip_blank] Missing docstring
lms/lib/comment_client/utils.py:18: [C0103(invalid-name), strip_blank._is_blank] Invalid name "v" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/utils.py:18: [C0111(missing-docstring), strip_blank._is_blank] Missing docstring
lms/lib/comment_client/utils.py:18: [C0103(invalid-name), strip_blank._is_blank] Invalid name "v" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
lms/lib/comment_client/utils.py:23: [C0111(missing-docstring), extract] Missing docstring
lms/lib/comment_client/utils.py:30: [C0111(missing-docstring), merge_dict] Missing docstring
lms/lib/comment_client/utils.py:35: [C0111(missing-docstring), request_timer] Missing docstring
lms/lib/comment_client/utils.py:53: [C0111(missing-docstring), perform_request] Missing docstring
lms/lib/comment_client/utils.py:135: [C0111(missing-docstring), CommentClientError] Missing docstring
lms/lib/comment_client/utils.py:136: [W0231(super-init-not-called), CommentClientError.__init__] __init__ method from base class 'Exception' is not called
lms/lib/comment_client/utils.py:143: [C0111(missing-docstring), CommentClientRequestError] Missing docstring
lms/lib/comment_client/utils.py:149: [C0111(missing-docstring), CommentClient500Error] Missing docstring
lms/lib/comment_client/utils.py:153: [C0111(missing-docstring), CommentClientMaintenanceError] Missing docstring
lms/lib/newrelic_logging/__init__.py:1: [C0111(missing-docstring)] Missing docstring
lms/lib/newrelic_logging/__init__.py:6: [C0111(missing-docstring), NewRelicHandler] Missing docstring
src/xblock/xblock/_version.py:1: [C0111(missing-docstring)] Missing docstring
src/xblock/xblock/_version.py:12: [C0103(invalid-name)] Invalid name "git_refnames" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
src/xblock/xblock/_version.py:13: [C0103(invalid-name)] Invalid name "git_full" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
src/xblock/xblock/_version.py:16: [C0103(invalid-name)] Invalid name "tag_prefix" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
src/xblock/xblock/_version.py:17: [C0103(invalid-name)] Invalid name "parentdir_prefix" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
src/xblock/xblock/_version.py:18: [C0103(invalid-name)] Invalid name "versionfile_source" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
src/xblock/xblock/_version.py:22: [C0111(missing-docstring), run_command] Missing docstring
src/xblock/xblock/_version.py:24: [C0103(invalid-name), run_command] Invalid name "p" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:25: [C0103(invalid-name), run_command] Invalid name "c" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:28: [C0103(invalid-name), run_command] Invalid name "p" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:33: [C0103(invalid-name), run_command] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:54: [W0621(redefined-outer-name), versions_from_parentdir] Redefining name 'parentdir_prefix' from outer scope (line 17)
src/xblock/xblock/_version.py:54: [C0111(missing-docstring), versions_from_parentdir] Missing docstring
src/xblock/xblock/_version.py:65: [C0111(missing-docstring), git_get_keywords] Missing docstring
src/xblock/xblock/_version.py:75: [C0103(invalid-name), git_get_keywords] Invalid name "mo" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:79: [C0103(invalid-name), git_get_keywords] Invalid name "mo" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:87: [W0621(redefined-outer-name), git_versions_from_keywords] Redefining name 'tag_prefix' from outer scope (line 16)
src/xblock/xblock/_version.py:87: [C0111(missing-docstring), git_versions_from_keywords] Missing docstring
src/xblock/xblock/_version.py:98: [C0103(invalid-name), git_versions_from_keywords] Invalid name "TAG" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:116: [C0103(invalid-name), git_versions_from_keywords] Invalid name "r" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:128: [W0621(redefined-outer-name), git_versions_from_vcs] Redefining name 'tag_prefix' from outer scope (line 16)
src/xblock/xblock/_version.py:128: [C0111(missing-docstring), git_versions_from_vcs] Missing docstring
src/xblock/xblock/_version.py:139: [C0103(invalid-name), git_versions_from_vcs] Invalid name "GITS" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:141: [C0103(invalid-name), git_versions_from_vcs] Invalid name "GITS" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:160: [W0102(dangerous-default-value), get_versions] Dangerous default value {'version': 'unknown', 'full': ''} as argument
src/xblock/xblock/_version.py:160: [C0111(missing-docstring), get_versions] Missing docstring
src/xblock/xblock/_version.py:176: [W0612(unused-variable), get_versions] Unused variable 'i'
src/xblock/xblock/fields.py:151: [C0103(invalid-name)] Invalid name "ScopeBase" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
src/xblock/xblock/fields.py:232: [E1101(no-member), Scope.__eq__] Instance of 'Scope' has no 'user' member
src/xblock/xblock/fields.py:232: [E1101(no-member), Scope.__eq__] Instance of 'Scope' has no 'block' member
src/xblock/xblock/fields.py:235: [E1001(slots-on-old-class), ScopeIds] Use of __slots__ on an old style class
src/xblock/xblock/runtime.py:48: [E1002(super-on-old-class), KeyValueStore.Key.__new__] Use of super on an old style class
src/xblock/xblock/django/request.py:125: [C0103(invalid-name), DjangoWebobRequest.GET] Invalid name "GET" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
src/xblock/xblock/django/request.py:132: [C0103(invalid-name), DjangoWebobRequest.POST] Invalid name "POST" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
src/xblock/xblock/test/django/test_request.py:41: [E1103(maybe-no-member), TestDjangoWebobRequest.test_post_already_read] Instance of 'dict' has no 'getlist' member (but some types could not be inferred)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.lib.comment_client.thread:0
==lms.lib.comment_client.thread:0
import logging
from eventtracking import tracker
from .utils import merge_dict, strip_blank, strip_none, extract, perform_request
from .utils import CommentClientRequestError
import models
import settings
log = logging.getLogger(__name__)
class Thread(models.Model):
accessible_fields = [
'id', 'title', 'body', 'anonymous', 'anonymous_to_peers', 'course_id',
'closed', 'tags', 'votes', 'commentable_id', 'username', 'user_id',
'created_at', 'updated_at', 'comments_count', 'unread_comments_count',
'at_position_list', 'children', 'type', 'highlighted_title',
'highlighted_body', 'endorsed', 'read', 'group_id', 'group_name', 'pinned',
'abuse_flaggers', 'resp_skip', 'resp_limit', 'resp_total', 'thread_type',
'endorsed_responses', 'non_endorsed_responses', 'non_endorsed_resp_total',
]
updatable_fields = [
'title', 'body', 'anonymous', 'anonymous_to_peers', 'course_id',
'closed', 'user_id', 'commentable_id', 'group_id', 'group_name', 'pinned', 'thread_type'
]
metric_tag_fields = [
'course_id', 'group_id', 'pinned', 'closed', 'anonymous', 'anonymous_to_peers',
'endorsed', 'read'
]
initializable_fields = updatable_fields + ['thread_type']
base_url = "{prefix}/threads".format(prefix=settings.PREFIX)
default_retrieve_params = {'recursive': False}
type = 'thread'
@classmethod
def search(cls, query_params):
default_params = {'page': 1,
'per_page': 20,
'course_id': query_params['course_id'],
'recursive': False}
params = merge_dict(default_params, strip_blank(strip_none(query_params)))
if query_params.get('text'):
url = cls.url(action='search')
else:
url = cls.url(action='get_all', params=extract(params, 'commentable_id'))
if params.get('commentable_id'):
del params['commentable_id']
response = perform_request(
'get',
url,
params,
metric_tags=[u'course_id:{}'.format(query_params['course_id'])],
metric_action='thread.search',
paged_results=True
)
if query_params.get('text'):
search_query = query_params['text']
course_id = query_params['course_id']
group_id = query_params['group_id'] if 'group_id' in query_params else None
requested_page = params['page']
total_results = response.get('total_results')
corrected_text = response.get('corrected_text')
# Record search result metric to allow search quality analysis.
# course_id is already included in the context for the event tracker
tracker.emit(
'edx.forum.searched',
{
'query': search_query,
'corrected_text': corrected_text,
'group_id': group_id,
'page': requested_page,
'total_results': total_results,
}
)
log.info(
u'forum_text_search query="{search_query}" corrected_text="{corrected_text}" course_id={course_id} group_id={group_id} page={requested_page} total_results={total_results}'.format(
search_query=search_query,
corrected_text=corrected_text,
course_id=course_id,
group_id=group_id,
requested_page=requested_page,
total_results=total_results
)
)
return response.get('collection', []), response.get('page', 1), response.get('num_pages', 1), response.get('corrected_text')
@classmethod
def url_for_threads(cls, params={}):
if params.get('commentable_id'):
return u"{prefix}/{commentable_id}/threads".format(prefix=settings.PREFIX, commentable_id=params['commentable_id'])
else:
return u"{prefix}/threads".format(prefix=settings.PREFIX)
@classmethod
def url_for_search_threads(cls, params={}):
return "{prefix}/search/threads".format(prefix=settings.PREFIX)
@classmethod
def url(cls, action, params={}):
if action in ['get_all', 'post']:
return cls.url_for_threads(params)
elif action == 'search':
return cls.url_for_search_threads(params)
else:
return super(Thread, cls).url(action, params)
# TODO: This is currently overriding Model._retrieve only to add parameters
# for the request. Model._retrieve should be modified to handle this such
# that subclasses don't need to override for this.
def _retrieve(self, *args, **kwargs):
url = self.url(action='get', params=self.attributes)
request_params = {
'recursive': kwargs.get('recursive'),
'user_id': kwargs.get('user_id'),
'mark_as_read': kwargs.get('mark_as_read', True),
'resp_skip': kwargs.get('response_skip'),
'resp_limit': kwargs.get('response_limit'),
}
request_params = strip_none(request_params)
response = perform_request(
'get',
url,
request_params,
metric_action='model.retrieve',
metric_tags=self._metric_tags
)
self._update_from_response(response)
def flagAbuse(self, user, voteable):
if voteable.type == 'thread':
url = _url_for_flag_abuse_thread(voteable.id)
elif voteable.type == 'comment':
url = _url_for_flag_comment(voteable.id)
else:
raise CommentClientRequestError("Can only flag/unflag threads or comments")
params = {'user_id': user.id}
response = perform_request(
'put',
url,
params,
metric_action='thread.abuse.flagged',
metric_tags=self._metric_tags
)
voteable._update_from_response(response)
def unFlagAbuse(self, user, voteable, removeAll):
if voteable.type == 'thread':
url = _url_for_unflag_abuse_thread(voteable.id)
elif voteable.type == 'comment':
url = _url_for_unflag_comment(voteable.id)
else:
raise CommentClientRequestError("Can only flag/unflag for threads or comments")
params = {'user_id': user.id}
#if you're an admin, when you unflag, remove ALL flags
if removeAll:
params['all'] = True
response = perform_request(
'put',
url,
params,
metric_tags=self._metric_tags,
metric_action='thread.abuse.unflagged'
)
voteable._update_from_response(response)
def pin(self, user, thread_id):
url = _url_for_pin_thread(thread_id)
params = {'user_id': user.id}
response = perform_request(
'put',
url,
params,
metric_tags=self._metric_tags,
metric_action='thread.pin'
)
self._update_from_response(response)
def un_pin(self, user, thread_id):
url = _url_for_un_pin_thread(thread_id)
params = {'user_id': user.id}
response = perform_request(
'put',
url,
params,
metric_tags=self._metric_tags,
metric_action='thread.unpin'
)
self._update_from_response(response)
def _url_for_flag_abuse_thread(thread_id):
return "{prefix}/threads/{thread_id}/abuse_flag".format(prefix=settings.PREFIX, thread_id=thread_id)
def _url_for_unflag_abuse_thread(thread_id):
return "{prefix}/threads/{thread_id}/abuse_unflag".format(prefix=settings.PREFIX, thread_id=thread_id)
def _url_for_pin_thread(thread_id):
return "{prefix}/threads/{thread_id}/pin".format(prefix=settings.PREFIX, thread_id=thread_id)
def _url_for_un_pin_thread(thread_id):
return "{prefix}/threads/{thread_id}/unpin".format(prefix=settings.PREFIX, thread_id=thread_id)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.lib.comment_client.models:0
==lms.lib.comment_client.models:0
import logging
from .utils import extract, perform_request, CommentClientRequestError
log = logging.getLogger(__name__)
class Model(object):
accessible_fields = ['id']
updatable_fields = ['id']
initializable_fields = ['id']
base_url = None
default_retrieve_params = {}
metric_tag_fields = []
DEFAULT_ACTIONS_WITH_ID = ['get', 'put', 'delete']
DEFAULT_ACTIONS_WITHOUT_ID = ['get_all', 'post']
DEFAULT_ACTIONS = DEFAULT_ACTIONS_WITH_ID + DEFAULT_ACTIONS_WITHOUT_ID
def __init__(self, *args, **kwargs):
self.attributes = extract(kwargs, self.accessible_fields)
self.retrieved = False
def __getattr__(self, name):
if name == 'id':
return self.attributes.get('id', None)
try:
return self.attributes[name]
except KeyError:
if self.retrieved or self.id is None:
raise AttributeError("Field {0} does not exist".format(name))
self.retrieve()
return self.__getattr__(name)
def __setattr__(self, name, value):
if name == 'attributes' or name not in (self.accessible_fields + self.updatable_fields):
super(Model, self).__setattr__(name, value)
else:
self.attributes[name] = value
def __getitem__(self, key):
if key not in self.accessible_fields:
raise KeyError("Field {0} does not exist".format(key))
return self.attributes.get(key)
def __setitem__(self, key, value):
if key not in (self.accessible_fields + self.updatable_fields):
raise KeyError("Field {0} does not exist".format(key))
self.attributes.__setitem__(key, value)
def items(self, *args, **kwargs):
return self.attributes.items(*args, **kwargs)
def get(self, *args, **kwargs):
return self.attributes.get(*args, **kwargs)
def to_dict(self):
self.retrieve()
return self.attributes
def retrieve(self, *args, **kwargs):
if not self.retrieved:
self._retrieve(*args, **kwargs)
self.retrieved = True
return self
def _retrieve(self, *args, **kwargs):
url = self.url(action='get', params=self.attributes)
response = perform_request(
'get',
url,
self.default_retrieve_params,
metric_tags=self._metric_tags,
metric_action='model.retrieve'
)
self._update_from_response(response)
@property
def _metric_tags(self):
"""
Returns a list of tags to be used when recording metrics about this model.
Each field named in ``self.metric_tag_fields`` is used as a tag value,
under the key ``<class>.<metric_field>``. The tag model_class is used to
record the class name of the model.
"""
tags = [
u'{}.{}:{}'.format(self.__class__.__name__, attr, self[attr])
for attr in self.metric_tag_fields
if attr in self.attributes
]
tags.append(u'model_class:{}'.format(self.__class__.__name__))
return tags
@classmethod
def find(cls, id):
return cls(id=id)
def _update_from_response(self, response_data):
for k, v in response_data.items():
if k in self.accessible_fields:
self.__setattr__(k, v)
else:
log.warning(
"Unexpected field {field_name} in model {model_name}".format(
field_name=k,
model_name=self.__class__.__name__
)
)
def updatable_attributes(self):
return extract(self.attributes, self.updatable_fields)
def initializable_attributes(self):
return extract(self.attributes, self.initializable_fields)
@classmethod
def before_save(cls, instance):
pass
@classmethod
def after_save(cls, instance):
pass
def save(self):
self.before_save(self)
if self.id: # if we have id already, treat this as an update
url = self.url(action='put', params=self.attributes)
response = perform_request(
'put',
url,
self.updatable_attributes(),
metric_tags=self._metric_tags,
metric_action='model.update'
)
else: # otherwise, treat this as an insert
url = self.url(action='post', params=self.attributes)
response = perform_request(
'post',
url,
self.initializable_attributes(),
metric_tags=self._metric_tags,
metric_action='model.insert'
)
self.retrieved = True
self._update_from_response(response)
self.after_save(self)
def delete(self):
url = self.url(action='delete', params=self.attributes)
response = perform_request('delete', url, metric_tags=self._metric_tags, metric_action='model.delete')
self.retrieved = True
self._update_from_response(response)
@classmethod
def url_with_id(cls, params={}):
return cls.base_url + '/' + str(params['id'])
@classmethod
def url_without_id(cls, params={}):
return cls.base_url
@classmethod
def url(cls, action, params={}):
if cls.base_url is None:
raise CommentClientRequestError("Must provide base_url when using default url function")
if action not in cls.DEFAULT_ACTIONS:
raise ValueError("Invalid action {0}. The supported action must be in {1}".format(action, str(cls.DEFAULT_ACTIONS)))
elif action in cls.DEFAULT_ACTIONS_WITH_ID:
try:
return cls.url_with_id(params)
except KeyError:
raise CommentClientRequestError("Cannot perform action {0} without id".format(action))
else: # action must be in DEFAULT_ACTIONS_WITHOUT_ID now
return cls.url_without_id()
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.lib.comment_client.user:0
==lms.lib.comment_client.user:0
from .utils import merge_dict, perform_request, CommentClientRequestError
import models
import settings
class User(models.Model):
accessible_fields = [
'username', 'follower_ids', 'upvoted_ids', 'downvoted_ids',
'id', 'external_id', 'subscribed_user_ids', 'children', 'course_id',
'group_id', 'subscribed_thread_ids', 'subscribed_commentable_ids',
'subscribed_course_ids', 'threads_count', 'comments_count',
'default_sort_key'
]
updatable_fields = ['username', 'external_id', 'default_sort_key']
initializable_fields = updatable_fields
metric_tag_fields = ['course_id']
base_url = "{prefix}/users".format(prefix=settings.PREFIX)
default_retrieve_params = {'complete': True}
type = 'user'
@classmethod
def from_django_user(cls, user):
return cls(id=str(user.id),
external_id=str(user.id),
username=user.username)
def follow(self, source):
params = {'source_type': source.type, 'source_id': source.id}
response = perform_request(
'post',
_url_for_subscription(self.id),
params,
metric_action='user.follow',
metric_tags=self._metric_tags + ['target.type:{}'.format(source.type)],
)
def unfollow(self, source):
params = {'source_type': source.type, 'source_id': source.id}
response = perform_request(
'delete',
_url_for_subscription(self.id),
params,
metric_action='user.unfollow',
metric_tags=self._metric_tags + ['target.type:{}'.format(source.type)],
)
def vote(self, voteable, value):
if voteable.type == 'thread':
url = _url_for_vote_thread(voteable.id)
elif voteable.type == 'comment':
url = _url_for_vote_comment(voteable.id)
else:
raise CommentClientRequestError("Can only vote / unvote for threads or comments")
params = {'user_id': self.id, 'value': value}
response = perform_request(
'put',
url,
params,
metric_action='user.vote',
metric_tags=self._metric_tags + ['target.type:{}'.format(voteable.type)],
)
voteable._update_from_response(response)
def unvote(self, voteable):
if voteable.type == 'thread':
url = _url_for_vote_thread(voteable.id)
elif voteable.type == 'comment':
url = _url_for_vote_comment(voteable.id)
else:
raise CommentClientRequestError("Can only vote / unvote for threads or comments")
params = {'user_id': self.id}
response = perform_request(
'delete',
url,
params,
metric_action='user.unvote',
metric_tags=self._metric_tags + ['target.type:{}'.format(voteable.type)],
)
voteable._update_from_response(response)
def active_threads(self, query_params={}):
if not self.course_id:
raise CommentClientRequestError("Must provide course_id when retrieving active threads for the user")
url = _url_for_user_active_threads(self.id)
params = {'course_id': self.course_id.to_deprecated_string()}
params = merge_dict(params, query_params)
response = perform_request(
'get',
url,
params,
metric_action='user.active_threads',
metric_tags=self._metric_tags,
paged_results=True,
)
return response.get('collection', []), response.get('page', 1), response.get('num_pages', 1)
def subscribed_threads(self, query_params={}):
if not self.course_id:
raise CommentClientRequestError("Must provide course_id when retrieving subscribed threads for the user")
url = _url_for_user_subscribed_threads(self.id)
params = {'course_id': self.course_id.to_deprecated_string()}
params = merge_dict(params, query_params)
response = perform_request(
'get',
url,
params,
metric_action='user.subscribed_threads',
metric_tags=self._metric_tags,
paged_results=True
)
return response.get('collection', []), response.get('page', 1), response.get('num_pages', 1)
def _retrieve(self, *args, **kwargs):
url = self.url(action='get', params=self.attributes)
retrieve_params = self.default_retrieve_params.copy()
retrieve_params.update(kwargs)
if self.attributes.get('course_id'):
retrieve_params['course_id'] = self.course_id.to_deprecated_string()
if self.attributes.get('group_id'):
retrieve_params['group_id'] = self.group_id
try:
response = perform_request(
'get',
url,
retrieve_params,
metric_action='model.retrieve',
metric_tags=self._metric_tags,
)
except CommentClientRequestError as e:
if e.status_code == 404:
# attempt to gracefully recover from a previous failure
# to sync this user to the comments service.
self.save()
response = perform_request(
'get',
url,
retrieve_params,
metric_action='model.retrieve',
metric_tags=self._metric_tags,
)
else:
raise
self._update_from_response(response)
def _url_for_vote_comment(comment_id):
return "{prefix}/comments/{comment_id}/votes".format(prefix=settings.PREFIX, comment_id=comment_id)
def _url_for_vote_thread(thread_id):
return "{prefix}/threads/{thread_id}/votes".format(prefix=settings.PREFIX, thread_id=thread_id)
def _url_for_subscription(user_id):
return "{prefix}/users/{user_id}/subscriptions".format(prefix=settings.PREFIX, user_id=user_id)
def _url_for_user_active_threads(user_id):
return "{prefix}/users/{user_id}/active_threads".format(prefix=settings.PREFIX, user_id=user_id)
def _url_for_user_subscribed_threads(user_id):
return "{prefix}/users/{user_id}/subscribed_threads".format(prefix=settings.PREFIX, user_id=user_id)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.lib.comment_client.utils:0
==lms.lib.comment_client.utils:0
from contextlib import contextmanager
import dogstats_wrapper as dog_stats_api
import logging
import requests
from django.conf import settings
from time import time
from uuid import uuid4
from django.utils.translation import get_language
log = logging.getLogger(__name__)
def strip_none(dic):
return dict([(k, v) for k, v in dic.iteritems() if v is not None])
def strip_blank(dic):
def _is_blank(v):
return isinstance(v, str) and len(v.strip()) == 0
return dict([(k, v) for k, v in dic.iteritems() if not _is_blank(v)])
def extract(dic, keys):
if isinstance(keys, str):
return strip_none({keys: dic.get(keys)})
else:
return strip_none({k: dic.get(k) for k in keys})
def merge_dict(dic1, dic2):
return dict(dic1.items() + dic2.items())
@contextmanager
def request_timer(request_id, method, url, tags=None):
start = time()
with dog_stats_api.timer('comment_client.request.time', tags=tags):
yield
end = time()
duration = end - start
log.info(
u"comment_client_request_log: request_id={request_id}, method={method}, "
u"url={url}, duration={duration}".format(
request_id=request_id,
method=method,
url=url,
duration=duration
)
)
def perform_request(method, url, data_or_params=None, raw=False,
metric_action=None, metric_tags=None, paged_results=False):
if metric_tags is None:
metric_tags = []
metric_tags.append(u'method:{}'.format(method))
if metric_action:
metric_tags.append(u'action:{}'.format(metric_action))
if data_or_params is None:
data_or_params = {}
headers = {
'X-Edx-Api-Key': getattr(settings, "COMMENTS_SERVICE_KEY", None),
'Accept-Language': get_language(),
}
request_id = uuid4()
request_id_dict = {'request_id': request_id}
if method in ['post', 'put', 'patch']:
data = data_or_params
params = request_id_dict
else:
data = None
params = merge_dict(data_or_params, request_id_dict)
with request_timer(request_id, method, url, metric_tags):
response = requests.request(
method,
url,
data=data,
params=params,
headers=headers,
timeout=5
)
metric_tags.append(u'status_code:{}'.format(response.status_code))
if response.status_code > 200:
metric_tags.append(u'result:failure')
else:
metric_tags.append(u'result:success')
dog_stats_api.increment('comment_client.request.count', tags=metric_tags)
if 200 < response.status_code < 500:
raise CommentClientRequestError(response.text, response.status_code)
# Heroku returns a 503 when an application is in maintenance mode
elif response.status_code == 503:
raise CommentClientMaintenanceError(response.text)
elif response.status_code == 500:
raise CommentClient500Error(response.text)
else:
if raw:
return response.text
else:
try:
data = response.json()
except ValueError:
raise CommentClientError(
u"Comments service returned invalid JSON for request {request_id}; first 100 characters: '{content}'".format(
request_id=request_id,
content=response.text[:100]
)
)
if paged_results:
dog_stats_api.histogram(
'comment_client.request.paged.result_count',
value=len(data.get('collection', [])),
tags=metric_tags
)
dog_stats_api.histogram(
'comment_client.request.paged.page',
value=data.get('page', 1),
tags=metric_tags
)
dog_stats_api.histogram(
'comment_client.request.paged.num_pages',
value=data.get('num_pages', 1),
tags=metric_tags
)
return data
class CommentClientError(Exception):
def __init__(self, msg):
self.message = msg
def __str__(self):
return repr(self.message)
class CommentClientRequestError(CommentClientError):
def __init__(self, msg, status_code=400):
super(CommentClientRequestError, self).__init__(msg)
self.status_code = status_code
class CommentClient500Error(CommentClientError):
pass
class CommentClientMaintenanceError(CommentClientError):
pass
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.lib.comment_client.comment:0
==lms.lib.comment_client.comment:0
from .utils import CommentClientRequestError, perform_request
from .thread import Thread, _url_for_flag_abuse_thread, _url_for_unflag_abuse_thread
import models
import settings
class Comment(models.Model):
accessible_fields = [
'id', 'body', 'anonymous', 'anonymous_to_peers', 'course_id',
'endorsed', 'parent_id', 'thread_id', 'username', 'votes', 'user_id',
'closed', 'created_at', 'updated_at', 'depth', 'at_position_list',
'type', 'commentable_id', 'abuse_flaggers', 'endorsement',
]
updatable_fields = [
'body', 'anonymous', 'anonymous_to_peers', 'course_id', 'closed',
'user_id', 'endorsed', 'endorsement_user_id',
]
initializable_fields = updatable_fields
metrics_tag_fields = ['course_id', 'endorsed', 'closed']
base_url = "{prefix}/comments".format(prefix=settings.PREFIX)
type = 'comment'
@property
def thread(self):
return Thread(id=self.thread_id, type='thread')
@classmethod
def url_for_comments(cls, params={}):
if params.get('thread_id'):
return _url_for_thread_comments(params['thread_id'])
else:
return _url_for_comment(params['parent_id'])
@classmethod
def url(cls, action, params={}):
if action in ['post']:
return cls.url_for_comments(params)
else:
return super(Comment, cls).url(action, params)
def flagAbuse(self, user, voteable):
if voteable.type == 'thread':
url = _url_for_flag_abuse_thread(voteable.id)
elif voteable.type == 'comment':
url = _url_for_flag_abuse_comment(voteable.id)
else:
raise CommentClientRequestError("Can only flag/unflag threads or comments")
params = {'user_id': user.id}
response = perform_request(
'put',
url,
params,
metric_tags=self._metric_tags,
metric_action='comment.abuse.flagged'
)
voteable._update_from_response(response)
def unFlagAbuse(self, user, voteable, removeAll):
if voteable.type == 'thread':
url = _url_for_unflag_abuse_thread(voteable.id)
elif voteable.type == 'comment':
url = _url_for_unflag_abuse_comment(voteable.id)
else:
raise CommentClientRequestError("Can flag/unflag for threads or comments")
params = {'user_id': user.id}
if removeAll:
params['all'] = True
response = perform_request(
'put',
url,
params,
metric_tags=self._metric_tags,
metric_action='comment.abuse.unflagged'
)
voteable._update_from_response(response)
def _url_for_thread_comments(thread_id):
return "{prefix}/threads/{thread_id}/comments".format(prefix=settings.PREFIX, thread_id=thread_id)
def _url_for_comment(comment_id):
return "{prefix}/comments/{comment_id}".format(prefix=settings.PREFIX, comment_id=comment_id)
def _url_for_flag_abuse_comment(comment_id):
return "{prefix}/comments/{comment_id}/abuse_flag".format(prefix=settings.PREFIX, comment_id=comment_id)
def _url_for_unflag_abuse_comment(comment_id):
return "{prefix}/comments/{comment_id}/abuse_unflag".format(prefix=settings.PREFIX, comment_id=comment_id)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.lib.courseware_search.lms_result_processor:5
==lms.lib.courseware_search.lms_result_processor:5
from opaque_keys.edx.locations import SlashSeparatedCourseKey
from search.views import SearchResultProcessor
from xmodule.modulestore.django import modulestore
from xmodule.modulestore.search import path_to_location
from courseware.access import has_access
class LmsSearchResultProcessor(SearchResultProcessor):
""" SearchResultProcessor for LMS Search """
_course_key = None
_usage_key = None
_module_store = None
_module_temp_dictionary = {}
def get_course_key(self):
""" fetch course key object from string representation - retain result for subsequent uses """
if self._course_key is None:
self._course_key = SlashSeparatedCourseKey.from_deprecated_string(self._results_fields["course"])
return self._course_key
def get_usage_key(self):
""" fetch usage key for component from string representation - retain result for subsequent uses """
if self._usage_key is None:
self._usage_key = self.get_course_key().make_usage_key_from_deprecated_string(self._results_fields["id"])
return self._usage_key
def get_module_store(self):
""" module store accessor - retain result for subsequent uses """
if self._module_store is None:
self._module_store = modulestore()
return self._module_store
def get_item(self, usage_key):
""" fetch item from the modulestore - don't refetch if we've already retrieved it beforehand """
if usage_key not in self._module_temp_dictionary:
self._module_temp_dictionary[usage_key] = self.get_module_store().get_item(usage_key)
return self._module_temp_dictionary[usage_key]
@property
def location(self):
"""
Blend "location" property into the resultset, so that the path to the found component can be shown within the UI
"""
# TODO: update whern changes to "cohorted-courseware" branch are merged in
(course_key, chapter, section, position) = path_to_location(self.get_module_store(), self.get_usage_key())
def get_display_name(category, item_id):
""" helper to get display name from object """
item = self.get_item(course_key.make_usage_key(category, item_id))
return getattr(item, "display_name", None)
def get_position_name(section, position):
""" helper to fetch name corresponding to the position therein """
pos = int(position)
section_item = self.get_item(course_key.make_usage_key('sequential', section))
if section_item.has_children and len(section_item.children) >= pos:
item = self.get_item(section_item.children[pos - 1])
return getattr(item, "display_name", None)
return None
location_description = []
if chapter:
location_description.append(get_display_name('chapter', chapter))
if section:
location_description.append(get_display_name('sequential', section))
if position:
location_description.append(get_position_name(section, position))
return location_description
def should_remove(self, user):
return has_access(
user,
'load',
self.get_item(self.get_usage_key()),
self.get_course_key()
) is False
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.aws:57
==lms.envs.yaml_config:110
BROKER_POOL_LIMIT = 0
BROKER_CONNECTION_TIMEOUT = 1
# For the Result Store, use the django cache named 'celery'
CELERY_RESULT_BACKEND = 'cache'
CELERY_CACHE_BACKEND = 'celery'
# When the broker is behind an ELB, use a heartbeat to refresh the
# connection and to detect if it has been dropped.
BROKER_HEARTBEAT = 10.0
BROKER_HEARTBEAT_CHECKRATE = 2
# Each worker should only fetch one message at a time
CELERYD_PREFETCH_MULTIPLIER = 1
# Skip djcelery migrations, since we don't use the database as the broker
SOUTH_MIGRATION_MODULES = {
'djcelery': 'ignore',
}
# Rename the exchange and queues for each variant
QUEUE_VARIANT = CONFIG_PREFIX.lower()
CELERY_DEFAULT_EXCHANGE = 'edx.{0}core'.format(QUEUE_VARIANT)
HIGH_PRIORITY_QUEUE = 'edx.{0}core.high'.format(QUEUE_VARIANT)
DEFAULT_PRIORITY_QUEUE = 'edx.{0}core.default'.format(QUEUE_VARIANT)
LOW_PRIORITY_QUEUE = 'edx.{0}core.low'.format(QUEUE_VARIANT)
HIGH_MEM_QUEUE = 'edx.{0}core.high_mem'.format(QUEUE_VARIANT)
CELERY_DEFAULT_QUEUE = DEFAULT_PRIORITY_QUEUE
CELERY_DEFAULT_ROUTING_KEY = DEFAULT_PRIORITY_QUEUE
CELERY_QUEUES = {
HIGH_PRIORITY_QUEUE: {},
LOW_PRIORITY_QUEUE: {},
DEFAULT_PRIORITY_QUEUE: {},
HIGH_MEM_QUEUE: {},
}
# If we're a worker on the high_mem queue, set ourselves to die after processing
# one request to avoid having memory leaks take down the worker server. This env
# var is set in /etc/init/edx-workers.conf -- this should probably be replaced
# with some celery API call to see what queue we started listening to, but I
# don't know what that call is or if it's active at this point in the code.
if os.environ.get('QUEUE') == 'high_mem':
CELERYD_MAX_TASKS_PER_CHILD = 1
##############################################################
#
# ENV TOKEN IMPORT
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.instructor.tests.test_api:2817
==lms.djangoapps.instructor.tests.test_tools:275
user1 = UserFactory.create()
StudentModule(
state='{}',
student_id=user1.id,
course_id=course.id,
module_state_key=week1.location).save()
StudentModule(
state='{}',
student_id=user1.id,
course_id=course.id,
module_state_key=week2.location).save()
StudentModule(
state='{}',
student_id=user1.id,
course_id=course.id,
module_state_key=week3.location).save()
StudentModule(
state='{}',
student_id=user1.id,
course_id=course.id,
module_state_key=homework.location).save()
user2 = UserFactory.create()
StudentModule(
state='{}',
student_id=user2.id,
course_id=course.id,
module_state_key=week1.location).save()
StudentModule(
state='{}',
student_id=user2.id,
course_id=course.id,
module_state_key=homework.location).save()
user3 = UserFactory.create()
StudentModule(
state='{}',
student_id=user3.id,
course_id=course.id,
module_state_key=week1.location).save()
StudentModule(
state='{}',
student_id=user3.id,
course_id=course.id,
module_state_key=homework.location).save()
self.course = course
self.week1 = week1
self.homework = homework
self.week2 = week2
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.bulk_email.tasks:54
==lms.djangoapps.linkedin.management.commands.linkedin_mailusers:42
SINGLE_EMAIL_FAILURE_ERRORS = (
SESAddressBlacklistedError, # Recipient's email address has been temporarily blacklisted.
SESDomainEndsWithDotError, # Recipient's email address' domain ends with a period/dot.
SESIllegalAddressError, # Raised when an illegal address is encountered.
SESLocalAddressCharacterError, # An address contained a control or whitespace character.
)
# Exceptions that, if caught, should cause the task to be re-tried.
# These errors will be caught a limited number of times before the task fails.
LIMITED_RETRY_ERRORS = (
SMTPConnectError,
SMTPServerDisconnected,
AWSConnectionError,
)
# Errors that indicate that a mailing task should be retried without limit.
# An example is if email is being sent too quickly, but may succeed if sent
# more slowly. When caught by a task, it triggers an exponential backoff and retry.
# Retries happen continuously until the email is sent.
# Note that the SMTPDataErrors here are only those within the 4xx range.
# Those not in this range (i.e. in the 5xx range) are treated as hard failures
# and thus like SINGLE_EMAIL_FAILURE_ERRORS.
INFINITE_RETRY_ERRORS = (
SESMaxSendingRateExceededError, # Your account's requests/second limit has been exceeded.
SMTPDataError,
)
# Errors that are known to indicate an inability to send any more emails,
# and should therefore not be retried. For example, exceeding a quota for emails.
# Also, any SMTP errors that are not explicitly enumerated above.
BULK_EMAIL_FAILURE_ERRORS = (
SESAddressNotVerifiedError, # Raised when a "Reply-To" address has not been validated in SES yet.
SESIdentityNotVerifiedError, # Raised when an identity has not been verified in SES yet.
SESDomainNotConfirmedError, # Raised when domain ownership is not confirmed for DKIM.
SESDailyQuotaExceededError, # 24-hour allotment of outbound email has been exceeded.
SMTPException,
)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.dev:54
==lms.envs.static:24
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ENV_ROOT / "db" / "edx.db",
}
}
CACHES = {
# This is the cache used for most things.
# In staging/prod envs, the sessions also live here.
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'edx_loc_mem_cache',
'KEY_FUNCTION': 'util.memcache.safe_key',
},
# The general cache is what you get if you use our util.cache. It's used for
# things like caching the course.xml file for different A/B test groups.
# We set it to be a DummyCache to force reloading of course.xml in dev.
# In staging environments, we would grab VERSION from data uploaded by the
# push process.
'general': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
'KEY_PREFIX': 'general',
'VERSION': 4,
'KEY_FUNCTION': 'util.memcache.safe_key',
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.shoppingcart.processors.CyberSource2:585
==lms.djangoapps.shoppingcart.processors.CyberSource:372
Expired card. You might also receive this if the expiration date you
provided does not match the date the issuing bank has on file.
Possible fix: retry with another form of payment
""")),
'203': dedent(_(
"""
General decline of the card. No other information provided by the issuing bank.
Possible fix: retry with another form of payment
""")),
'204': _('Insufficient funds in the account. Possible fix: retry with another form of payment'),
# 205 was Stolen or lost card. Might as well not show this message to the person using such a card.
'205': _('Unknown reason'),
'207': _('Issuing bank unavailable. Possible fix: retry again after a few minutes'),
'208': dedent(_(
"""
Inactive card or card not authorized for card-not-present transactions.
Possible fix: retry with another form of payment
""")),
'210': _('The card has reached the credit limit. Possible fix: retry with another form of payment'),
'211': _('Invalid card verification number. Possible fix: retry with another form of payment'),
# 221 was The customer matched an entry on the processor's negative file.
# Might as well not show this message to the person using such a card.
'221': _('Unknown reason'),
'231': _('Invalid account number. Possible fix: retry with another form of payment'),
'232': dedent(_(
"""
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.dev:61
==lms.envs.test:169
CACHES = {
# This is the cache used for most things.
# In staging/prod envs, the sessions also live here.
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'edx_loc_mem_cache',
'KEY_FUNCTION': 'util.memcache.safe_key',
},
# The general cache is what you get if you use our util.cache. It's used for
# things like caching the course.xml file for different A/B test groups.
# We set it to be a DummyCache to force reloading of course.xml in dev.
# In staging environments, we would grab VERSION from data uploaded by the
# push process.
'general': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
'KEY_PREFIX': 'general',
'VERSION': 4,
'KEY_FUNCTION': 'util.memcache.safe_key',
},
'mongo_metadata_inheritance': {
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.instructor.enrollment:347
==lms.djangoapps.instructor.views.legacy:1029
}
subject_template, message_template = email_template_dict.get(message_type, (None, None))
if subject_template is not None and message_template is not None:
subject = render_to_string(subject_template, param_dict)
message = render_to_string(message_template, param_dict)
if subject and message:
# Remove leading and trailing whitespace from body
message = message.strip()
# Email subject *must not* contain newlines
subject = ''.join(subject.splitlines())
from_address = microsite.get_value(
'email_from_address',
settings.DEFAULT_FROM_EMAIL
)
send_mail(subject, message, from_address, [student], fail_silently=False)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.management.commands.clean_xml:52
==lms.djangoapps.courseware.management.commands.metadata_to_json:17
course_dir = path(course_dir)
data_dir = course_dir.dirname()
course_dirs = [course_dir.basename()]
# No default class--want to complain if it doesn't find plugins for any
# module.
modulestore = XMLModuleStore(
data_dir,
default_class=None,
course_dirs=course_dirs
)
def str_of_err(tpl):
(msg, exc_str) = tpl
return '{msg}\n{exc}'.format(msg=msg, exc=exc_str)
courses = modulestore.get_courses()
n = len(courses)
if n != 1:
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.static:31
==lms.envs.test:169
CACHES = {
# This is the cache used for most things.
# In staging/prod envs, the sessions also live here.
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'edx_loc_mem_cache',
'KEY_FUNCTION': 'util.memcache.safe_key',
},
# The general cache is what you get if you use our util.cache. It's used for
# things like caching the course.xml file for different A/B test groups.
# We set it to be a DummyCache to force reloading of course.xml in dev.
# In staging environments, we would grab VERSION from data uploaded by the
# push process.
'general': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
'KEY_PREFIX': 'general',
'VERSION': 4,
'KEY_FUNCTION': 'util.memcache.safe_key',
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.shoppingcart.processors.CyberSource2:536
==lms.djangoapps.shoppingcart.processors.CyberSource:321
CARDTYPE_MAP = defaultdict(lambda: "UNKNOWN")
CARDTYPE_MAP.update(
{
'001': 'Visa',
'002': 'MasterCard',
'003': 'American Express',
'004': 'Discover',
'005': 'Diners Club',
'006': 'Carte Blanche',
'007': 'JCB',
'014': 'EnRoute',
'021': 'JAL',
'024': 'Maestro',
'031': 'Delta',
'033': 'Visa Electron',
'034': 'Dankort',
'035': 'Laser',
'036': 'Carte Bleue',
'037': 'Carta Si',
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.devgroups.courses:18
==lms.envs.devplus:35
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '127.0.0.1:11211',
'KEY_FUNCTION': 'util.memcache.safe_key',
},
'general': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '127.0.0.1:11211',
'KEY_PREFIX': 'general',
'VERSION': 5,
'KEY_FUNCTION': 'util.memcache.safe_key',
}
}
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.instructor.views.api:800
==lms.djangoapps.instructor_analytics.tests.test_basic:179
('logged_in_username', 'Login Username'),
('logged_in_email', 'Login User Email'),
('purchase_time', 'Date of Sale'),
('customer_reference_number', 'Customer Reference Number'),
('recipient_name', 'Recipient Name'),
('recipient_email', 'Recipient Email'),
('bill_to_street1', 'Street 1'),
('bill_to_street2', 'Street 2'),
('bill_to_city', 'City'),
('bill_to_state', 'State'),
('bill_to_postalcode', 'Postal Code'),
('bill_to_country', 'Country'),
('order_type', 'Order Type'),
('status', 'Order Item Status'),
('coupon_code', 'Coupon Code'),
('unit_cost', 'Unit Price'),
('list_price', 'List Price'),
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.dev:229
==lms.envs.devplus:56
INTERNAL_IPS = ('127.0.0.1',)
DEBUG_TOOLBAR_PANELS = (
'debug_toolbar.panels.version.VersionDebugPanel',
'debug_toolbar.panels.timer.TimerDebugPanel',
'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
'debug_toolbar.panels.headers.HeaderDebugPanel',
'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
'debug_toolbar.panels.sql.SQLDebugPanel',
'debug_toolbar.panels.signals.SignalDebugPanel',
'debug_toolbar.panels.logger.LoggingPanel',
# Enabling the profiler has a weird bug as of django-debug-toolbar==0.9.4 and
# Django=1.3.1/1.4 where requests to views get duplicated (your method gets
# hit twice). So you can uncomment when you need to diagnose performance
# problems, but you shouldn't leave it on.
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.content:20
==lms.envs.dev:231
DEBUG_TOOLBAR_PANELS = (
'debug_toolbar.panels.version.VersionDebugPanel',
'debug_toolbar.panels.timer.TimerDebugPanel',
'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
'debug_toolbar.panels.headers.HeaderDebugPanel',
'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
'debug_toolbar.panels.sql.SQLDebugPanel',
'debug_toolbar.panels.signals.SignalDebugPanel',
'debug_toolbar.panels.logger.LoggingPanel',
# Enabling the profiler has a weird bug as of django-debug-toolbar==0.9.4 and
# Django=1.3.1/1.4 where requests to views get duplicated (your method gets
# hit twice). So you can uncomment when you need to diagnose performance
# problems, but you shouldn't leave it on.
# 'debug_toolbar.panels.profiling.ProfilingDebugPanel',
)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.lib.newrelic_logging.__init__:0
==newrelic_logging:0
import newrelic.agent
import logging
class NewRelicHandler(logging.Handler):
def emit(self, record):
if record.exc_info is not None:
params = record.__dict__
params['log_message'] = record.getMessage()
newrelic.agent.record_exception(
*record.exc_info,
params=params
)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.aws:39
==lms.envs.yaml_config:59
DEBUG = False
TEMPLATE_DEBUG = False
EMAIL_BACKEND = 'django_ses.SESBackend'
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
# IMPORTANT: With this enabled, the server must always be behind a proxy that
# strips the header HTTP_X_FORWARDED_PROTO from client requests. Otherwise,
# a user can fool our server into thinking it was an https connection.
# See
# https://docs.djangoproject.com/en/dev/ref/settings/#secure-proxy-ssl-header
# for other warnings.
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.survey.tests.test_models:15
==lms.djangoapps.survey.tests.test_utils:17
class SurveyModelsTests(TestCase):
"""
All tests for the Survey models.py file
"""
def setUp(self):
"""
Set up the test data used in the specific tests
"""
self.client = Client()
# Create two accounts
self.password = 'abc'
self.student = User.objects.create_user('student', '[email protected]', self.password)
self.student2 = User.objects.create_user('student2', '[email protected]', self.password)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.content:20
==lms.envs.devplus:58
DEBUG_TOOLBAR_PANELS = (
'debug_toolbar.panels.version.VersionDebugPanel',
'debug_toolbar.panels.timer.TimerDebugPanel',
'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
'debug_toolbar.panels.headers.HeaderDebugPanel',
'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
'debug_toolbar.panels.sql.SQLDebugPanel',
'debug_toolbar.panels.signals.SignalDebugPanel',
'debug_toolbar.panels.logger.LoggingPanel',
# Enabling the profiler has a weird bug as of django-debug-toolbar==0.9.4 and
# Django=1.3.1/1.4 where requests to views get duplicated (your method gets
# hit twice). So you can uncomment when you need to diagnose performance
# problems, but you shouldn't leave it on.
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.bulk_email.tasks:11
==lms.djangoapps.bulk_email.tests.test_tasks:12
from boto.ses.exceptions import (
SESAddressNotVerifiedError,
SESIdentityNotVerifiedError,
SESDomainNotConfirmedError,
SESAddressBlacklistedError,
SESDailyQuotaExceededError,
SESMaxSendingRateExceededError,
SESDomainEndsWithDotError,
SESLocalAddressCharacterError,
SESIllegalAddressError,
)
from boto.exception import AWSConnectionError
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.bulk_email.tests.test_course_optout:39
==lms.djangoapps.bulk_email.tests.test_email:80
self.send_mail_url = reverse('send_email', kwargs={'course_id': self.course.id.to_deprecated_string()})
self.success_content = {
'course_id': self.course.id.to_deprecated_string(),
'success': True,
}
def tearDown(self):
"""
Undo all patches.
"""
patch.stopall()
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==lms.envs.dev:229
==lms.envs.devplus:56
==lms.envs.devstack:49
INTERNAL_IPS = ('127.0.0.1',)
DEBUG_TOOLBAR_PANELS = (
'debug_toolbar.panels.version.VersionDebugPanel',
'debug_toolbar.panels.timer.TimerDebugPanel',
'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
'debug_toolbar.panels.headers.HeaderDebugPanel',
'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
'debug_toolbar.panels.sql.SQLDebugPanel',
'debug_toolbar.panels.signals.SignalDebugPanel',
'debug_toolbar.panels.logger.LoggingPanel',
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==lms.envs.aws:88
==lms.envs.common:1373
==lms.envs.yaml_config:141
CELERY_DEFAULT_QUEUE = DEFAULT_PRIORITY_QUEUE
CELERY_DEFAULT_ROUTING_KEY = DEFAULT_PRIORITY_QUEUE
CELERY_QUEUES = {
HIGH_PRIORITY_QUEUE: {},
LOW_PRIORITY_QUEUE: {},
DEFAULT_PRIORITY_QUEUE: {},
HIGH_MEM_QUEUE: {},
}
# let logging work as configured:
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.instructor.tests.test_api:2995
==lms.djangoapps.shoppingcart.tests.test_views:1467
url = reverse('generate_registration_codes',
kwargs={'course_id': self.course.id.to_deprecated_string()})
data = {
'total_registration_codes': 12, 'company_name': 'Test Group', 'company_contact_name': '[email protected]',
'company_contact_email': '[email protected]', 'sale_price': 122.45, 'recipient_name': 'Test123',
'recipient_email': '[email protected]', 'address_line_1': 'Portland Street',
'address_line_2': '', 'address_line_3': '', 'city': '', 'state': '', 'zip': '', 'country': '',
'customer_reference_number': '123A23F', 'internal_reference': '', 'invoice': ''
}
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.management.commands.regrade_partial:51
==lms.djangoapps.courseware.management.commands.remove_input_state:86
module_state = module.state
if module_state is None:
# not likely, since we filter on it. But in general...
LOG.info("No state found for {type} module {id} for student {student} in course {course_id}"
.format(type=module.module_type, id=module.module_state_key,
student=module.student.username, course_id=module.course_id))
return
state_dict = json.loads(module_state)
self.num_visited += 1
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==lms.djangoapps.bulk_email.tasks:11
==lms.djangoapps.bulk_email.tests.test_tasks:12
==lms.djangoapps.linkedin.management.commands.linkedin_mailusers:11
from boto.ses.exceptions import (
SESAddressNotVerifiedError,
SESIdentityNotVerifiedError,
SESDomainNotConfirmedError,
SESAddressBlacklistedError,
SESDailyQuotaExceededError,
SESMaxSendingRateExceededError,
SESDomainEndsWithDotError,
SESLocalAddressCharacterError,
SESIllegalAddressError,
)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 4 files
==lms.lib.comment_client.comment:70
==lms.lib.comment_client.comment:70
==lms.lib.comment_client.thread:161
==lms.lib.comment_client.thread:161
params = {'user_id': user.id}
if removeAll:
params['all'] = True
response = perform_request(
'put',
url,
params,
metric_tags=self._metric_tags,
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.open_ended_grading.staff_grading_service:93
==lms.djangoapps.open_ended_grading.utils:29
static_url='/static',
track_function=None,
get_module=None,
render_template=render_to_string,
replace_urls=None,
descriptor_runtime=None,
services={
'i18n': ModuleI18nService(),
},
)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.open_ended_grading.open_ended_notifications:133
==lms.djangoapps.open_ended_grading.utils:30
track_function=None,
get_module=None,
render_template=render_to_string,
replace_urls=None,
descriptor_runtime=None,
services={
'i18n': ModuleI18nService(),
},
)
#Initialize controller query service using our mock system
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.licenses.management.commands.generate_serial_numbers:2
==lms.djangoapps.licenses.management.commands.import_serial_numbers:2
from django.utils.html import escape
from django.core.management.base import BaseCommand, CommandError
from xmodule.modulestore.django import modulestore
from licenses.models import CourseSoftware, UserLicense
from opaque_keys.edx.locations import SlashSeparatedCourseKey
class Command(BaseCommand):
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.instructor.management.commands.openended_post:44
==lms.djangoapps.instructor.management.commands.openended_stats:41
else:
print self.help
return
try:
course = get_course(course_id)
except ValueError as err:
print err
return
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==lms.djangoapps.django_comment_client.utils:32
==lms.lib.comment_client.utils:12
==lms.lib.comment_client.utils:12
def strip_none(dic):
return dict([(k, v) for k, v in dic.iteritems() if v is not None])
def strip_blank(dic):
def _is_blank(v):
return isinstance(v, str) and len(v.strip()) == 0
return dict([(k, v) for k, v in dic.iteritems() if not _is_blank(v)])
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.course_wiki.plugins.markdownedx.mdx_image:30
==lms.djangoapps.course_wiki.plugins.markdownedx.mdx_video:163
for key, value in configs:
self.setConfig(key, value)
def add_inline(self, md, name, klass, re):
pattern = klass(re)
pattern.md = md
pattern.ext = self
md.inlinePatterns.add(name, pattern, "<reference")
def extendMarkdown(self, md, md_globals):
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==lms.djangoapps.bulk_email.tests.test_course_optout:104
==lms.djangoapps.bulk_email.tests.test_course_optout:76
==lms.djangoapps.bulk_email.tests.test_err_handling:100
test_email = {
'action': 'Send email',
'send_to': 'all',
'subject': 'test subject for all',
'message': 'test message for all'
}
response = self.client.post(self.send_mail_url, test_email)
self.assertEquals(json.loads(response.content), self.success_content)
# Assert that self.student.email not in mail.to, outbox should be empty
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.content:20
==lms.envs.devstack:51
DEBUG_TOOLBAR_PANELS = (
'debug_toolbar.panels.version.VersionDebugPanel',
'debug_toolbar.panels.timer.TimerDebugPanel',
'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
'debug_toolbar.panels.headers.HeaderDebugPanel',
'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
'debug_toolbar.panels.sql.SQLDebugPanel',
'debug_toolbar.panels.signals.SignalDebugPanel',
'debug_toolbar.panels.logger.LoggingPanel',
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.survey.tests.test_utils:46
==lms.djangoapps.survey.tests.test_views:38
})
self.course = CourseFactory.create(
course_survey_required=True,
course_survey_name=self.test_survey_name
)
self.survey = SurveyForm.create(self.test_survey_name, self.test_form)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.survey.tests.test_models:34
==lms.djangoapps.survey.tests.test_utils:39
self.student_answers = OrderedDict({
'field1': 'value1',
'field2': 'value2',
})
self.student2_answers = OrderedDict({
'field1': 'value3'
})
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 4 files
==lms.djangoapps.open_ended_grading.open_ended_notifications:133
==lms.djangoapps.open_ended_grading.open_ended_notifications:69
==lms.djangoapps.open_ended_grading.staff_grading_service:94
==lms.djangoapps.open_ended_grading.utils:30
track_function=None,
get_module=None,
render_template=render_to_string,
replace_urls=None,
descriptor_runtime=None,
services={
'i18n': ModuleI18nService(),
},
)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.tests.test_video_handlers:112
==lms.djangoapps.courseware.tests.test_word_cloud:220
responses = {
user.username: self.clients[user.username].post(
self.get_url('whatever'),
{},
HTTP_X_REQUESTED_WITH='XMLHttpRequest')
for user in self.users
}
status_codes = {response.status_code for response in responses.values()}
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.management.commands.regrade_partial:51
==lms.djangoapps.courseware.management.commands.remove_input_state:112
module_state = module.state
if module_state is None:
# not likely, since we filter on it. But in general...
LOG.info("No state found for {type} module {id} for student {student} in course {course_id}"
.format(type=module.module_type, id=module.module_state_key,
student=module.student.username, course_id=module.course_id))
return
state_dict = json.loads(module_state)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.course_wiki.plugins.markdownedx.mdx_image:19
==lms.djangoapps.course_wiki.plugins.markdownedx.mdx_video:129
import markdown
try:
# Markdown 2.1.0 changed from 2.0.3. We try importing the new version first,
# but import the 2.0.3 version if it fails
from markdown.util import etree
except:
from markdown import etree
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.lib.comment_client.settings:0
==lms.lib.comment_client.settings:0
from django.conf import settings
if hasattr(settings, "COMMENTS_SERVICE_URL"):
SERVICE_HOST = settings.COMMENTS_SERVICE_URL
else:
SERVICE_HOST = 'http://localhost:4567'
PREFIX = SERVICE_HOST + '/api/v1'
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.lib.comment_client.commentable:1
==lms.lib.comment_client.commentable:1
import models
import settings
class Commentable(models.Model):
base_url = "{prefix}/commentables".format(prefix=settings.PREFIX)
type = 'commentable'
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.dev:111
==lms.envs.dev_int:20
COURSE_LISTINGS = {
'default': ['BerkeleyX/CS169.1x/2012_Fall',
'BerkeleyX/CS188.1x/2012_Fall',
'HarvardX/CS50x/2012',
'HarvardX/PH207x/2012_Fall',
'MITx/3.091x/2012_Fall',
'MITx/6.002x/2012_Fall',
'MITx/6.00x/2012_Fall'],
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.aws:285
==lms.envs.yaml_config:255
if CAS_ATTRIBUTE_CALLBACK:
import importlib
CAS_USER_DETAILS_RESOLVER = getattr(
importlib.import_module(CAS_ATTRIBUTE_CALLBACK['module']),
CAS_ATTRIBUTE_CALLBACK['function']
)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.aws:253
==lms.envs.yaml_config:239
for name, value in ENV_TOKENS.get("CODE_JAIL", {}).items():
oldvalue = CODE_JAIL.get(name)
if isinstance(oldvalue, dict):
for subname, subvalue in value.items():
oldvalue[subname] = subvalue
else:
CODE_JAIL[name] = value
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.acceptance:170
==lms.envs.dev:97
"django_auth": {
"username": "lms",
"password": "***REMOVED***"
},
"basic_auth": ('anant', 'agarwal'),
}
# Point the URL used to test YouTube availability to our stub YouTube server
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.shoppingcart.processors.CyberSource2:556
==lms.djangoapps.shoppingcart.processors.CyberSource:341
'043': 'GE Money UK card'
}
)
REASONCODE_MAP = defaultdict(lambda: "UNKNOWN REASON")
REASONCODE_MAP.update(
{
'100': _('Successful transaction.'),
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.shoppingcart.processors.CyberSource2:33
==lms.djangoapps.shoppingcart.processors.CyberSource:29
from django.conf import settings
from django.utils.translation import ugettext as _
from edxmako.shortcuts import render_to_string
from shoppingcart.models import Order
from shoppingcart.processors.exceptions import *
from shoppingcart.processors.helpers import get_processor_config
from microsite_configuration import microsite
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.instructor.views.legacy:1130
==lms.djangoapps.instructor_analytics.basic:291
msg += "Course grader:\n"
msg += '%s\n' % course.grader.__class__
graders = {}
if isinstance(course.grader, xmgraders.WeightedSubsectionsGrader):
msg += '\n'
msg += "Graded sections:\n"
for subgrader, category, weight in course.grader.sections:
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.instructor.tests.test_api:2991
==lms.djangoapps.instructor_analytics.tests.test_basic:254
self.course = CourseFactory.create()
self.instructor = InstructorFactory(course_key=self.course.id)
self.client.login(username=self.instructor.username, password='test')
url = reverse('generate_registration_codes',
kwargs={'course_id': self.course.id.to_deprecated_string()})
data = {
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.instructor.management.commands.compute_grades:40
==lms.djangoapps.instructor.management.commands.dump_grades:56
except Exception as err: # pylint: disable=broad-except
print "-----------------------------------------------------------------------------"
print "Sorry, cannot find course with id {}".format(course_id)
print "Got exception {}".format(err)
print "Please provide a course ID or course data directory name, eg content-mit-801rq"
return
print "-----------------------------------------------------------------------------"
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.instructor.management.commands.openended_post:115
==lms.djangoapps.instructor.utils:10
class DummyRequest(object):
"""Dummy request"""
META = {}
def __init__(self):
self.session = {}
self.user = None
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.django_comment_client.management.commands.assign_roles_for_course:6
==lms.djangoapps.django_comment_client.management.commands.create_roles_for_existing:6
from django.core.management.base import BaseCommand, CommandError
from student.models import CourseEnrollment
from django_comment_common.models import assign_default_role_on_enrollment
class Command(BaseCommand):
args = 'course_id'
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.dashboard.git_import:205
==lms.djangoapps.dashboard.sysadmin:399
loggers = []
for logger_name in logger_names:
logger = logging.getLogger(logger_name)
logger.setLevel(logging.DEBUG)
logger.addHandler(import_log_handler)
loggers.append(logger)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==lms.djangoapps.course_wiki.tests.tests:23
==lms.djangoapps.open_ended_grading.tests:115
==lms.djangoapps.open_ended_grading.tests:268
self.student = '[email protected]'
self.instructor = '[email protected]'
self.password = 'foo'
self.create_account('u1', self.student, self.password)
self.create_account('u2', self.instructor, self.password)
self.activate_user(self.student)
self.activate_user(self.instructor)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 4 files
==lms.lib.comment_client.comment:60
==lms.lib.comment_client.comment:60
==lms.lib.comment_client.thread:151
==lms.lib.comment_client.thread:151
)
voteable._update_from_response(response)
def unFlagAbuse(self, user, voteable, removeAll):
if voteable.type == 'thread':
url = _url_for_unflag_abuse_thread(voteable.id)
elif voteable.type == 'comment':
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 4 files
==lms.lib.comment_client.comment:51
==lms.lib.comment_client.comment:51
==lms.lib.comment_client.thread:142
==lms.lib.comment_client.thread:142
else:
raise CommentClientRequestError("Can only flag/unflag threads or comments")
params = {'user_id': user.id}
response = perform_request(
'put',
url,
params,
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.dev:85
==lms.envs.test:193
'TIMEOUT': 300,
'KEY_FUNCTION': 'util.memcache.safe_key',
},
'loc_cache': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'edx_location_mem_cache',
},
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.aws:387
==lms.envs.yaml_config:294
BROKER_URL = "{0}://{1}:{2}@{3}/{4}".format(CELERY_BROKER_TRANSPORT,
CELERY_BROKER_USER,
CELERY_BROKER_PASSWORD,
CELERY_BROKER_HOSTNAME,
CELERY_BROKER_VHOST)
# upload limits
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.aws:167
==lms.envs.yaml_config:216
if 'loc_cache' not in CACHES:
CACHES['loc_cache'] = {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'edx_location_mem_cache',
}
# Email overrides
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 4 files
==lms.djangoapps.instructor.tests.test_api:3097
==lms.djangoapps.instructor.tests.test_api:3123
==lms.djangoapps.instructor.tests.test_api:3147
==lms.djangoapps.instructor_analytics.tests.test_basic:264
'recipient_email': '[email protected]', 'address_line_1': 'Portland Street', 'address_line_2': '',
'address_line_3': '', 'city': '', 'state': '', 'zip': '', 'country': '',
'customer_reference_number': '123A23F', 'internal_reference': '', 'invoice': ''
}
response = self.client.post(url, data, **{'HTTP_HOST': 'localhost'})
self.assertEqual(response.status_code, 200, response.content)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.django_comment_client.base.tests:43
==lms.djangoapps.django_comment_client.forum.tests:475
CohortedContentTestCase,
CohortedTopicGroupIdTestMixin,
NonCohortedTopicGroupIdTestMixin
):
cs_endpoint = "/threads"
def call_view(self, mock_request, commentable_id, user, group_id, pass_group_id=True):
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.dashboard.git_import:132
==lms.djangoapps.dashboard.sysadmin:689
'user': '',
'password': '',
'db': 'xlog',
}
# Allow overrides
if hasattr(settings, 'MONGODB_LOG'):
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.tests.test_submitting_problems:334
==lms.djangoapps.instructor.tests.test_spoc_gradebook:112
grading_policy = {
"GRADER": [
{
"type": "Homework",
"min_count": 1,
"drop_count": 0,
"short_label": "HW",
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==lms.djangoapps.courseware.tests.test_course_survey:35
==lms.djangoapps.survey.tests.test_utils:46
==lms.djangoapps.survey.tests.test_views:38
})
self.course = CourseFactory.create(
course_survey_required=True,
course_survey_name=self.test_survey_name
)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 4 files
==lms.djangoapps.bulk_email.tests.test_email:97
==lms.djangoapps.bulk_email.tests.test_err_handling:125
==lms.djangoapps.bulk_email.tests.test_err_handling:147
==lms.djangoapps.bulk_email.tests.test_err_handling:71
test_email = {
'action': 'Send email',
'send_to': 'myself',
'subject': 'test subject for myself',
'message': 'test message for myself'
}
response = self.client.post(self.send_mail_url, test_email)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==lms.djangoapps.bulk_email.tests.test_course_optout:39
==lms.djangoapps.bulk_email.tests.test_email:80
==lms.djangoapps.bulk_email.tests.test_err_handling:55
self.send_mail_url = reverse('send_email', kwargs={'course_id': self.course.id.to_deprecated_string()})
self.success_content = {
'course_id': self.course.id.to_deprecated_string(),
'success': True,
}
def tearDown(self):
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==lms.lib.comment_client.comment:53
==lms.lib.comment_client.thread:177
==lms.lib.comment_client.thread:189
params = {'user_id': user.id}
response = perform_request(
'put',
url,
params,
metric_tags=self._metric_tags,
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==lms.envs.aws:278
==lms.envs.common:1616
==lms.envs.yaml_config:249
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'django_cas.backends.CASBackend',
)
INSTALLED_APPS += ('django_cas',)
MIDDLEWARE_CLASSES += ('django_cas.middleware.CASMiddleware',)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==lms.envs.acceptance:170
==lms.envs.dev:97
==lms.envs.test:105
"django_auth": {
"username": "lms",
"password": "***REMOVED***"
},
"basic_auth": ('anant', 'agarwal'),
}
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.verify_student.tests.test_integration:122
==lms.djangoapps.verify_student.tests.test_views:825
def _verify_student(self):
""" Simulate that the student's identity has already been verified. """
attempt = SoftwareSecurePhotoVerification.objects.create(user=self.user)
attempt.mark_ready()
attempt.submit()
attempt.approve()
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.shoppingcart.tests.test_microsites:54
==lms.djangoapps.shoppingcart.tests.test_views:73
def setUp(self):
patcher = patch('student.models.tracker')
self.mock_tracker = patcher.start()
self.user = UserFactory.create()
self.user.set_password('password')
self.user.save()
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.open_ended_grading.open_ended_notifications:9
==lms.djangoapps.open_ended_grading.staff_grading_service:13
from xmodule.modulestore.django import ModuleI18nService
from courseware.access import has_access
from lms.djangoapps.lms_xblock.runtime import LmsModuleSystem
from edxmako.shortcuts import render_to_string
from student.models import unique_id_for_user
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.lms_xblock.runtime:80
==xblock.test.toy_runtime:113
func = getattr(block, handler_name, None)
if not func:
raise ValueError("{!r} is not a function name".format(handler_name))
if not getattr(func, "_is_xblock_handler", False):
raise ValueError("{!r} is not a handler name".format(handler_name))
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.instructor.views.api:794
==lms.djangoapps.instructor_analytics.tests.test_basic:171
query_features = [
('id', 'Order Id'),
('company_name', 'Company Name'),
('company_contact_name', 'Company Contact Name'),
('company_contact_email', 'Company Contact Email'),
('total_amount', 'Total Amount'),
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.instructor.management.commands.openended_post:4
==lms.djangoapps.instructor.management.commands.openended_stats:6
from django.core.management.base import BaseCommand
from optparse import make_option
from xmodule.modulestore.django import modulestore
from opaque_keys.edx.locations import SlashSeparatedCourseKey
from xmodule.open_ended_grading_classes.openendedchild import OpenEndedChild
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.instructor.enrollment:270
==lms.djangoapps.instructor.views.legacy:845
'site_name': stripped_site_name,
'registration_url': registration_url,
'course': course,
'auto_enroll': auto_enroll,
'course_url': course_url,
'course_about_url': course_about_url,
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.tests.test_video_mongo:82
==lms.djangoapps.courseware.tests.test_video_xml:27
sub="a_sub_file.srt.sjson"
download_video="true"
start_time="01:00:03" end_time="01:00:10"
>
<source src="example.mp4"/>
<source src="example.webm"/>
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.tests.test_submitting_problems:308
==lms.djangoapps.instructor_task.tests.test_integration:536
"GRADER": [{
"type": "Homework",
"min_count": 1,
"drop_count": 0,
"short_label": "HW",
"weight": 1.0
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.tests.test_microsites:3
==lms.djangoapps.courseware.tests.test_navigation:5
from django.conf import settings
from django.core.urlresolvers import reverse
from django.test.utils import override_settings
from courseware.tests.helpers import LoginEnrollmentTestCase
from xmodule.modulestore.tests.django_utils import TEST_DATA_MOCK_MODULESTORE
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==lms.djangoapps.courseware.tests.test_course_survey:50
==lms.djangoapps.courseware.tests.test_microsites:63
==lms.djangoapps.courseware.tests.test_navigation:62
for i in range(len(self.STUDENT_INFO)):
email, password = self.STUDENT_INFO[i]
username = 'u{0}'.format(i)
self.create_account(username, email, password)
self.activate_user(email)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.tests.test_about:6
==lms.djangoapps.instructor.tests.test_email:6
from django.conf import settings
from django.core.urlresolvers import reverse
from django.test.utils import override_settings
from mock import patch
from opaque_keys.edx.locations import SlashSeparatedCourseKey
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.tests.test_about:141
==lms.djangoapps.courseware.tests.test_tabs:89
resp = self.client.get(url)
self.assertEqual(resp.status_code, 200)
self.assertIn(self.xml_data, resp.content)
@patch.dict('django.conf.settings.FEATURES', {'DISABLE_START_DATES': False})
def test_anonymous_user_xml(self):
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.tests.test_about:352
==lms.djangoapps.courseware.tests.test_microsites:201
mode_slug="honor",
mode_display_name="honor cert",
min_price=10,
)
course_mode.save()
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 6 files
==lms.djangoapps.bulk_email.tests.test_course_optout:104
==lms.djangoapps.bulk_email.tests.test_course_optout:76
==lms.djangoapps.bulk_email.tests.test_email:162
==lms.djangoapps.bulk_email.tests.test_email:261
==lms.djangoapps.bulk_email.tests.test_email:299
==lms.djangoapps.bulk_email.tests.test_err_handling:100
test_email = {
'action': 'Send email',
'send_to': 'all',
'subject': 'test subject for all',
'message': 'test message for all'
}
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==comment_client:0
==lms.lib.comment_client.__init__:0
from .comment_client import *
from .utils import (
CommentClientError, CommentClientRequestError,
CommentClient500Error, CommentClientMaintenanceError
)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.envs.dev:258
==lms.envs.static:60
FILE_UPLOAD_TEMP_DIR = ENV_ROOT / "uploads"
FILE_UPLOAD_HANDLERS = (
'django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler',
)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 5 files
==lms.djangoapps.shoppingcart.tests.test_models:423
==lms.djangoapps.shoppingcart.tests.test_views:1290
==lms.djangoapps.shoppingcart.tests.test_views:1400
==lms.djangoapps.shoppingcart.tests.test_views:1682
==lms.djangoapps.shoppingcart.tests.test_views:86
self.course_mode = CourseMode(course_id=self.course_key,
mode_slug="honor",
mode_display_name="honor cert",
min_price=self.cost)
self.course_mode.save()
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.shoppingcart.tests.test_models:565
==lms.djangoapps.shoppingcart.tests.test_reports:71
course_mode = CourseMode(course_id=self.course_key,
mode_slug="honor",
mode_display_name="honor cert",
min_price=self.cost)
course_mode.save()
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.instructor.enrollment:258
==lms.djangoapps.instructor.views.legacy:835
course_about_url = None
if not settings.FEATURES.get('ENABLE_MKTG_SITE', False):
course_about_url = u'{proto}://{site}{path}'.format(
proto=protocol,
site=stripped_site_name,
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.django_comment_client.management.commands.assign_roles_for_course:16
==lms.djangoapps.django_comment_client.management.commands.seed_permissions_roles:12
def handle(self, *args, **options):
if len(args) == 0:
raise CommandError("Please provide a course id")
if len(args) > 1:
raise CommandError("Too many arguments")
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.dashboard.sysadmin:219
==lms.djangoapps.lms_migration.management.commands.create_user:120
eamap = ExternalAuthMap(
external_id=email,
external_email=email,
external_domain=mit_domain,
external_name=name,
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.tests.test_submitting_problems:1088
==lms.djangoapps.instructor_task.tests.test_integration:539
"drop_count": 0,
"short_label": "HW",
"weight": 1.0
}]
}
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 4 files
==lms.djangoapps.courseware.tests.test_split_module:278
==lms.djangoapps.courseware.tests.test_split_module:31
==lms.djangoapps.courseware.tests.test_submitting_problems:1068
==lms.djangoapps.instructor_task.tests.test_integration:521
self.partition = UserPartition(
0,
'first_partition',
'First Partition',
[
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.tests.test_course_survey:126
==lms.djangoapps.survey.tests.test_views:104
resp = self.client.post(
self.postback_url,
self.student_answers
)
self.assertEquals(resp.status_code, 200)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.tests.helpers:120
==lms.djangoapps.mobile_api.users.tests:47
resp = self.client.post(reverse('change_enrollment'), {
'enrollment_action': 'enroll',
'course_id': course.id.to_deprecated_string(),
'check_access': True,
})
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.management.commands.regrade_partial:33
==lms.djangoapps.courseware.management.commands.remove_input_state:50
option_list = BaseCommand.option_list + (
make_option('--save',
action='store_true',
dest='save_changes',
default=False,
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.courseware.management.commands.dump_course_ids:17
==lms.djangoapps.courseware.management.commands.dump_course_structure:40
help = dedent(__doc__).strip()
option_list = BaseCommand.option_list + (
make_option('--modulestore',
action='store',
default='default',
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.class_dashboard.tests.test_dashboard_data:57
==lms.djangoapps.mobile_api.video_outlines.tests:49
parent_location=self.sub_section.location,
category="vertical",
metadata={'graded': True, 'format': 'Homework'},
display_name=u"test unit omega \u03a9",
)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.class_dashboard.tests.test_dashboard_data:46
==lms.djangoapps.mobile_api.video_outlines.tests:38
parent_location=self.course.location,
category="chapter",
display_name=u"test factory section omega \u03a9",
)
self.sub_section = ItemFactory.create(
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==lms.djangoapps.certificates.management.commands.regenerate_user:5
==lms.djangoapps.certificates.management.commands.ungenerated_certs:10
from opaque_keys import InvalidKeyError
from opaque_keys.edx.keys import CourseKey
from opaque_keys.edx.locations import SlashSeparatedCourseKey
from xmodule.course_module import CourseDescriptor
from xmodule.modulestore.django import modulestore
PYTHONPATH=cms:cms/djangoapps:cms/lib:common/djangoapps:common/lib pylint -f parseable cms django_require xblock | tee /Users/db/clones/edx-platform/reports/cms/pylint.report
cms/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/urls.py:1: [C0111(missing-docstring)] Missing docstring
cms/urls.py:102: [C0103(invalid-name)] Invalid name "js_info_dict" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
cms/wsgi.py:1: [C0111(missing-docstring)] Missing docstring
cms/wsgi.py:19: [C0103(invalid-name)] Invalid name "application" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
cms/djangoapps/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/context_processors.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/context_processors.py:11: [C0103(invalid-name)] Invalid name "config_file" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
cms/djangoapps/contentstore/context_processors.py:12: [C0103(invalid-name)] Invalid name "config" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
cms/djangoapps/contentstore/debug_file_uploader.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/debug_file_uploader.py:5: [C0111(missing-docstring), DebugFileUploader] Missing docstring
cms/djangoapps/contentstore/tasks.py:64: [C0111(missing-docstring), deserialize_fields] Missing docstring
cms/djangoapps/contentstore/utils.py:85: [W0703(broad-except), delete_course_and_groups] Catching too general exception Exception
cms/djangoapps/contentstore/utils.py:174: [W0212(protected-access), is_currently_visible_to_students] Access to a protected member _class_tags of a client class
cms/djangoapps/contentstore/management/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/management/commands/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/management/commands/check_course.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/management/commands/check_course.py:9: [C0111(missing-docstring), Command] Missing docstring
cms/djangoapps/contentstore/management/commands/check_course.py:27: [C0111(missing-docstring), Command.handle._xlint_metadata] Missing docstring
cms/djangoapps/contentstore/management/commands/check_course.py:36: [C0111(missing-docstring), Command.handle._check_xml_attributes_field] Missing docstring
cms/djangoapps/contentstore/management/commands/check_course.py:48: [C0111(missing-docstring), Command.handle._get_discussion_items] Missing docstring
cms/djangoapps/contentstore/management/commands/cleanup_assets.py:33: [W0703(broad-except), Command.handle] Catching too general exception Exception
cms/djangoapps/contentstore/management/commands/delete_course.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/management/commands/delete_course.py:13: [C0111(missing-docstring), Command] Missing docstring
cms/djangoapps/contentstore/management/commands/edit_course_tabs.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/management/commands/edit_course_tabs.py:13: [F0401(import-error)] Unable to import 'courseware.courses'
cms/djangoapps/contentstore/management/commands/edit_course_tabs.py:35: [C0111(missing-docstring), Command] Missing docstring
cms/djangoapps/contentstore/management/commands/edit_course_tabs.py:68: [E1101(no-member), Command.handle] Instance of 'Option' has no 'help' member
cms/djangoapps/contentstore/management/commands/edit_course_tabs.py:84: [E1101(no-member), Command.handle] Instance of 'Option' has no 'help' member
cms/djangoapps/contentstore/management/commands/edit_course_tabs.py:90: [E1101(no-member), Command.handle] Instance of 'Option' has no 'help' member
cms/djangoapps/contentstore/management/commands/edit_course_tabs.py:96: [C0103(invalid-name), Command.handle] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
cms/djangoapps/contentstore/management/commands/empty_asset_trashcan.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/management/commands/empty_asset_trashcan.py:10: [C0111(missing-docstring), Command] Missing docstring
cms/djangoapps/contentstore/management/commands/migrate_to_split.py:58: [W0212(protected-access), Command.handle] Access to a protected member _get_modulestore_by_type of a client class
cms/djangoapps/contentstore/management/commands/prompt.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/management/commands/restore_asset_from_trashcan.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/management/commands/restore_asset_from_trashcan.py:5: [C0111(missing-docstring), Command] Missing docstring
cms/djangoapps/contentstore/management/commands/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/management/commands/tests/test_export_all_courses.py:21: [W0212(protected-access), ExportAllCourses.setUp] Access to a protected member _get_modulestore_by_type of a client class
cms/djangoapps/contentstore/management/commands/tests/test_import.py:27: [C0111(missing-docstring), TestImport.create_course_xml] Missing docstring
cms/djangoapps/contentstore/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/tests/test_contentstore.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/tests/test_contentstore.py:223: [C0111(missing-docstring), ImportRequiredTestCases.verify_content_existence] Missing docstring
cms/djangoapps/contentstore/tests/test_contentstore.py:601: [C0111(missing-docstring), MiscCourseTests._get_draft_counts] Missing docstring
cms/djangoapps/contentstore/tests/test_contentstore.py:1726: [C0111(missing-docstring), EntryPageTestCase._test_page] Missing docstring
cms/djangoapps/contentstore/tests/test_contentstore.py:29: [W0611(unused-import)] Unused import NotFoundError
cms/djangoapps/contentstore/tests/test_core_caching.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/tests/test_core_caching.py:6: [C0111(missing-docstring), Content] Missing docstring
cms/djangoapps/contentstore/tests/test_core_caching.py:11: [C0111(missing-docstring), Content.get_id] Missing docstring
cms/djangoapps/contentstore/tests/test_course_listing.py:149: [E1103(maybe-no-member), TestCourseListing.test_get_course_list_with_invalid_course_location] Instance of 'UserFactory' has no 'id' member (but some types could not be inferred)
cms/djangoapps/contentstore/tests/test_course_listing.py:218: [W0212(protected-access), TestCourseListing.test_course_listing_errored_deleted_courses] Access to a protected member _get_modulestore_by_type of a client class
cms/djangoapps/contentstore/tests/test_course_listing.py:225: [E1103(maybe-no-member), TestCourseListing.test_course_listing_errored_deleted_courses] Instance of 'UserFactory' has no 'id' member (but some types could not be inferred)
cms/djangoapps/contentstore/tests/test_course_listing.py:229: [W0212(protected-access), TestCourseListing.test_course_listing_errored_deleted_courses] Access to a protected member _find_one of a client class
cms/djangoapps/contentstore/tests/test_course_listing.py:14: [W0611(unused-import)] Unused import reverse_course_url
cms/djangoapps/contentstore/tests/test_course_settings.py:29: [C0111(missing-docstring), get_url] Missing docstring
cms/djangoapps/contentstore/tests/test_crud.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/tests/test_crud.py:26: [W0212(protected-access), TemplateTests.setUp] Access to a protected member _get_modulestore_by_type of a client class
cms/djangoapps/contentstore/tests/test_crud.py:180: [W0612(unused-variable), TemplateTests.test_delete_course] Unused variable 'guid_locator'
cms/djangoapps/contentstore/tests/test_i18n.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/tests/test_i18n.py:89: [C0103(invalid-name), InternationalizationTest.test_course_with_accents] Invalid name "TEST_STRING" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
/usr/local/lib/python2.7/site-packages/django/test/testcases.py:500: [W0201(attribute-defined-outside-init), TransactionTestCase.__call__] Attribute 'client' defined outside __init__
cms/djangoapps/contentstore/tests/test_import.py:43: [C0103(invalid-name), ContentStoreImportTest.load_test_import_course] Invalid name "create_new_course_if_not_present" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
cms/djangoapps/contentstore/tests/test_import.py:43: [C0103(invalid-name), ContentStoreImportTest.load_test_import_course] Invalid name "create_new_course_if_not_present" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
cms/djangoapps/contentstore/tests/test_import.py:253: [C0111(missing-docstring), ContentStoreImportTest._verify_split_test_import] Missing docstring
cms/djangoapps/contentstore/tests/test_import_draft_order.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/tests/test_import_draft_order.py:12: [C0111(missing-docstring), DraftReorderTestCase] Missing docstring
cms/djangoapps/contentstore/tests/test_import_pure_xblock.py:31: [C0111(missing-docstring), XBlockImportTest] Missing docstring
cms/djangoapps/contentstore/tests/test_orphan.py:33: [C0111(missing-docstring), TestOrphan._create_item] Missing docstring
cms/djangoapps/contentstore/tests/test_transcripts_utils.py:257: [W0101(unreachable), TestDownloadYoutubeSubs.test_success_downloading_chinese_transcripts] Unreachable code
cms/djangoapps/contentstore/tests/test_transcripts_utils.py:264: [E0602(undefined-variable), TestDownloadYoutubeSubs.test_success_downloading_chinese_transcripts] Undefined variable 'good_youtube_subs'
cms/djangoapps/contentstore/tests/test_transcripts_utils.py:325: [C0103(invalid-name), TestGenerateSubsFromSource.test_fail_bad_subs_type] Invalid name "cm" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
cms/djangoapps/contentstore/tests/test_transcripts_utils.py:339: [C0103(invalid-name), TestGenerateSubsFromSource.test_fail_bad_subs_filedata] Invalid name "cm" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
cms/djangoapps/contentstore/tests/test_transcripts_utils.py:9: [W0611(unused-import)] Unused import MongoClient
cms/djangoapps/contentstore/tests/test_users_default_role.py:7: [F0401(import-error)] Unable to import 'courseware.tests.factories'
cms/djangoapps/contentstore/tests/tests.py:25: [C0111(missing-docstring), ContentStoreTestCase] Missing docstring
cms/djangoapps/contentstore/tests/tests.py:41: [W0621(redefined-outer-name), ContentStoreTestCase.login] Redefining name 'data' from outer scope (line 7)
cms/djangoapps/contentstore/tests/tests.py:63: [W0621(redefined-outer-name), ContentStoreTestCase.create_account] Redefining name 'data' from outer scope (line 7)
cms/djangoapps/contentstore/tests/tests.py:80: [C0111(missing-docstring), ContentStoreTestCase.activate_user] Missing docstring
cms/djangoapps/contentstore/tests/tests.py:92: [C0103(invalid-name), AuthTestCase.setUp] Invalid name "pw" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
cms/djangoapps/contentstore/tests/tests.py:98: [C0111(missing-docstring), AuthTestCase.check_page_get] Missing docstring
cms/djangoapps/contentstore/tests/tests.py:117: [W0621(redefined-outer-name), AuthTestCase.test_create_account_errors] Redefining name 'data' from outer scope (line 7)
cms/djangoapps/contentstore/tests/tests.py:155: [W0621(redefined-outer-name), AuthTestCase.test_login] Redefining name 'data' from outer scope (line 7)
cms/djangoapps/contentstore/tests/tests.py:171: [W0621(redefined-outer-name), AuthTestCase.test_login_ratelimited] Redefining name 'data' from outer scope (line 7)
cms/djangoapps/contentstore/tests/tests.py:188: [W0621(redefined-outer-name), AuthTestCase.test_excessive_login_failures] Redefining name 'data' from outer scope (line 7)
cms/djangoapps/contentstore/tests/tests.py:299: [C0111(missing-docstring), ForumTestCase] Missing docstring
cms/djangoapps/contentstore/tests/tests.py:311: [E1103(maybe-no-member), ForumTestCase.test_blackouts] Instance of 'FakeDatetime' has no 'isoformat' member (but some types could not be inferred)
cms/djangoapps/contentstore/tests/tests.py:311: [E1103(maybe-no-member), ForumTestCase.test_blackouts] Instance of 'FakeDatetime' has no 'isoformat' member (but some types could not be inferred)
cms/djangoapps/contentstore/tests/tests.py:317: [E1103(maybe-no-member), ForumTestCase.test_blackouts] Instance of 'FakeDatetime' has no 'isoformat' member (but some types could not be inferred)
cms/djangoapps/contentstore/tests/tests.py:317: [E1103(maybe-no-member), ForumTestCase.test_blackouts] Instance of 'FakeDatetime' has no 'isoformat' member (but some types could not be inferred)
cms/djangoapps/contentstore/tests/tests.py:321: [C0111(missing-docstring), CourseKeyVerificationTestCase] Missing docstring
cms/djangoapps/contentstore/tests/utils.py:110: [C0111(missing-docstring), CourseTestCase.populate_course.descend] Missing docstring
cms/djangoapps/contentstore/tests/utils.py:108: [W0201(attribute-defined-outside-init), CourseTestCase.populate_course] Attribute 'populated_usage_keys' defined outside __init__
cms/djangoapps/contentstore/views/assets.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/views/assets.py:284: [W0702(bare-except), _update_asset] No exception type(s) specified
cms/djangoapps/contentstore/views/checklist.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/views/component.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/views/component.py:99: [E0602(undefined-variable), subsection_handler] Undefined variable 'Scope'
cms/djangoapps/contentstore/views/component.py:181: [W0612(unused-variable), container_handler] Unused variable 'preview_lms_base'
cms/djangoapps/contentstore/views/component.py:184: [W0612(unused-variable), container_handler] Unused variable 'index'
cms/djangoapps/contentstore/views/component.py:313: [W0107(unnecessary-pass), get_component_templates] Unnecessary pass statement
cms/djangoapps/contentstore/views/course.py:306: [C0103(invalid-name), _accessible_courses_list_from_groups] Invalid name "_accessible_courses_list_from_groups" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
cms/djangoapps/contentstore/views/course.py:717: [W0702(bare-except), course_info_update_handler] No exception type(s) specified
cms/djangoapps/contentstore/views/course.py:726: [W0702(bare-except), course_info_update_handler] No exception type(s) specified
cms/djangoapps/contentstore/views/course.py:1362: [E1103(maybe-no-member), group_configurations_list_handler] Instance of 'UserPartition' has no 'id' member (but some types could not be inferred)
cms/djangoapps/contentstore/views/helpers.py:22: [C0111(missing-docstring), landing] Missing docstring
cms/djangoapps/contentstore/views/helpers.py:22: [W0613(unused-argument), landing] Unused argument 'coursename'
cms/djangoapps/contentstore/views/helpers.py:22: [W0613(unused-argument), landing] Unused argument 'org'
cms/djangoapps/contentstore/views/helpers.py:22: [W0613(unused-argument), landing] Unused argument 'request'
cms/djangoapps/contentstore/views/helpers.py:22: [W0613(unused-argument), landing] Unused argument 'course'
cms/djangoapps/contentstore/views/helpers.py:27: [C0111(missing-docstring), edge] Missing docstring
cms/djangoapps/contentstore/views/helpers.py:27: [W0613(unused-argument), edge] Unused argument 'request'
cms/djangoapps/contentstore/views/helpers.py:31: [W0613(unused-argument), event] Unused argument 'request'
cms/djangoapps/contentstore/views/item.py:319: [R0915(too-many-statements), _save_xblock] Too many statements (51/50)
cms/djangoapps/contentstore/views/item.py:554: [W0212(protected-access), _duplicate_item] Access to a protected member _class_tags of a client class
cms/djangoapps/contentstore/views/preview.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/views/preview.py:122: [C0111(missing-docstring), StudioUserService.user_id] Missing docstring
cms/djangoapps/contentstore/views/session_kv_store.py:9: [C0111(missing-docstring), stringify] Missing docstring
cms/djangoapps/contentstore/views/session_kv_store.py:13: [C0111(missing-docstring), SessionKeyValueStore] Missing docstring
cms/djangoapps/contentstore/views/transcripts_ajax.py:131: [W0703(broad-except), upload_transcripts] Catching too general exception Exception
cms/djangoapps/contentstore/views/transcripts_ajax.py:223: [C0103(invalid-name), check_transcripts] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
cms/djangoapps/contentstore/views/transcripts_ajax.py:367: [C0103(invalid-name), choose_transcripts] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
cms/djangoapps/contentstore/views/transcripts_ajax.py:400: [C0103(invalid-name), replace_transcripts] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
cms/djangoapps/contentstore/views/transcripts_ajax.py:409: [C0103(invalid-name), replace_transcripts] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
cms/djangoapps/contentstore/views/transcripts_ajax.py:471: [C0103(invalid-name), rename_transcripts] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
cms/djangoapps/contentstore/views/user.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/views/user.py:105: [W0703(broad-except), _course_team_user] Catching too general exception Exception
cms/djangoapps/contentstore/views/user.py:180: [C0111(missing-docstring), try_remove_instructor] Missing docstring
cms/djangoapps/contentstore/views/tests/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/views/tests/test_checklists.py:19: [C0111(missing-docstring), ChecklistTestCase.get_url] Missing docstring
cms/djangoapps/contentstore/views/tests/test_course_updates.py:13: [C0111(missing-docstring), CourseUpdateTest] Missing docstring
cms/djangoapps/contentstore/views/tests/test_course_updates.py:15: [C0111(missing-docstring), CourseUpdateTest.create_update_url] Missing docstring
cms/djangoapps/contentstore/views/tests/test_course_updates.py:8: [W0611(unused-import)] Unused import SlashSeparatedCourseKey
cms/djangoapps/contentstore/views/tests/test_item.py:64: [C0111(missing-docstring), ItemTest.create_xblock] Missing docstring
cms/djangoapps/contentstore/views/tests/test_item.py:223: [C0103(invalid-name), GetItemTest.test_split_test_edited] Invalid name "GROUP_CONFIGURATION_JSON" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
cms/djangoapps/contentstore/views/tests/test_item.py:363: [C0111(missing-docstring), TestDuplicateItem.test_duplicate_equality.duplicate_and_verify] Missing docstring
cms/djangoapps/contentstore/views/tests/test_item.py:367: [C0111(missing-docstring), TestDuplicateItem.test_duplicate_equality.check_equality] Missing docstring
cms/djangoapps/contentstore/views/tests/test_item.py:406: [C0111(missing-docstring), TestDuplicateItem.test_ordering.verify_order] Missing docstring
cms/djangoapps/contentstore/views/tests/test_item.py:442: [C0111(missing-docstring), TestDuplicateItem.test_display_name.verify_name] Missing docstring
cms/djangoapps/contentstore/views/tests/test_item.py:462: [C0111(missing-docstring), TestDuplicateItem._duplicate_item] Missing docstring
cms/djangoapps/contentstore/views/tests/test_item.py:1078: [C0111(missing-docstring), TestComponentHandler] Missing docstring
cms/djangoapps/contentstore/views/tests/test_item.py:1110: [C0111(missing-docstring), TestComponentHandler.test_request_method.check_handler] Missing docstring
cms/djangoapps/contentstore/views/tests/test_item.py:1110: [W0613(unused-argument), TestComponentHandler.test_request_method.check_handler] Unused argument 'handler'
cms/djangoapps/contentstore/views/tests/test_item.py:1110: [W0613(unused-argument), TestComponentHandler.test_request_method.check_handler] Unused argument 'suffix'
cms/djangoapps/contentstore/views/tests/test_item.py:1125: [C0111(missing-docstring), TestComponentHandler.test_response_code.create_response] Missing docstring
cms/djangoapps/contentstore/views/tests/test_item.py:1125: [W0613(unused-argument), TestComponentHandler.test_response_code.create_response] Unused argument 'handler'
cms/djangoapps/contentstore/views/tests/test_item.py:1125: [W0613(unused-argument), TestComponentHandler.test_response_code.create_response] Unused argument 'request'
cms/djangoapps/contentstore/views/tests/test_item.py:1125: [W0613(unused-argument), TestComponentHandler.test_response_code.create_response] Unused argument 'suffix'
cms/djangoapps/contentstore/views/tests/test_textbooks.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/contentstore/views/tests/test_transcripts.py:9: [W0611(unused-import)] Unused import MongoClient
cms/djangoapps/contentstore/views/tests/test_unit_page.py:28: [W0612(unused-variable), UnitPageTestCase.test_public_component_preview_html] Unused variable 'published_video'
cms/djangoapps/contentstore/views/tests/test_user.py:14: [C0111(missing-docstring), UsersTestCase] Missing docstring
cms/djangoapps/contentstore/views/tests/test_user.py:33: [C0111(missing-docstring), UsersTestCase.course_team_url] Missing docstring
cms/djangoapps/course_creators/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/course_creators/admin.py:77: [W0613(unused-argument), update_creator_group_callback] Unused argument 'sender'
cms/djangoapps/course_creators/admin.py:110: [W0702(bare-except), send_user_notification_callback] No exception type(s) specified
cms/djangoapps/course_creators/admin.py:87: [W0613(unused-argument), send_user_notification_callback] Unused argument 'sender'
cms/djangoapps/course_creators/admin.py:115: [C0103(invalid-name), send_admin_notification_callback] Invalid name "send_admin_notification_callback" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
cms/djangoapps/course_creators/admin.py:115: [W0613(unused-argument), send_admin_notification_callback] Unused argument 'sender'
cms/djangoapps/course_creators/models.py:13: [C0103(invalid-name)] Invalid name "update_creator_state" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
cms/djangoapps/course_creators/models.py:16: [C0103(invalid-name)] Invalid name "send_admin_notification" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
cms/djangoapps/course_creators/models.py:19: [C0103(invalid-name)] Invalid name "send_user_notification" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
cms/djangoapps/course_creators/models.py:52: [W0613(unused-argument), post_init_callback] Unused argument 'sender'
cms/djangoapps/course_creators/views.py:9: [C0103(invalid-name), add_user_with_status_unrequested] Invalid name "add_user_with_status_unrequested" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
cms/djangoapps/models/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/models/settings/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/models/settings/course_details.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/models/settings/course_details.py:25: [C0111(missing-docstring), CourseDetails] Missing docstring
cms/djangoapps/models/settings/course_details.py:194: [C0111(missing-docstring), CourseDetails.recompose_video_tag] Missing docstring
cms/djangoapps/models/settings/course_details.py:209: [E0202(method-hidden), CourseSettingsEncoder.default] An attribute affected in json.encoder line 162 hide this method
cms/djangoapps/models/settings/course_grading.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/models/settings/course_grading.py:148: [C0111(missing-docstring), CourseGradingModel.get_section_grader_type] Missing docstring
cms/djangoapps/models/settings/course_grading.py:156: [C0111(missing-docstring), CourseGradingModel.update_section_grader_type] Missing docstring
cms/djangoapps/models/settings/course_grading.py:168: [C0111(missing-docstring), CourseGradingModel.convert_set_grace_period] Missing docstring
cms/djangoapps/models/settings/course_grading.py:195: [C0111(missing-docstring), CourseGradingModel.parse_grader] Missing docstring
cms/djangoapps/models/settings/course_grading.py:207: [C0111(missing-docstring), CourseGradingModel.jsonize_grader] Missing docstring
cms/djangoapps/models/settings/course_metadata.py:1: [C0111(missing-docstring)] Missing docstring
cms/djangoapps/xblock_config/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/envs/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/envs/acceptance.py:27: [C0111(missing-docstring), seed] Missing docstring
cms/envs/common.py:123: [E1120(no-value-for-parameter)] No value passed for parameter 'self' in function call
cms/envs/dev_with_worker.py:15: [W0403(relative-import)] Relative import 'dev', should be 'cms.envs.dev'
cms/envs/test.py:34: [C0103(invalid-name)] Invalid name "_system" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
cms/envs/test.py:35: [C0103(invalid-name)] Invalid name "_report_dir" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
cms/lib/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/lib/django_require/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/lib/xblock/__init__.py:1: [C0111(missing-docstring)] Missing docstring
cms/lib/django_require/__init__.py:1: [C0111(missing-docstring)] Missing docstring
src/xblock/xblock/_version.py:1: [C0111(missing-docstring)] Missing docstring
src/xblock/xblock/_version.py:12: [C0103(invalid-name)] Invalid name "git_refnames" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
src/xblock/xblock/_version.py:13: [C0103(invalid-name)] Invalid name "git_full" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
src/xblock/xblock/_version.py:16: [C0103(invalid-name)] Invalid name "tag_prefix" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
src/xblock/xblock/_version.py:17: [C0103(invalid-name)] Invalid name "parentdir_prefix" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
src/xblock/xblock/_version.py:18: [C0103(invalid-name)] Invalid name "versionfile_source" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
src/xblock/xblock/_version.py:22: [C0111(missing-docstring), run_command] Missing docstring
src/xblock/xblock/_version.py:24: [C0103(invalid-name), run_command] Invalid name "p" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:25: [C0103(invalid-name), run_command] Invalid name "c" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:28: [C0103(invalid-name), run_command] Invalid name "p" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:33: [C0103(invalid-name), run_command] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:54: [W0621(redefined-outer-name), versions_from_parentdir] Redefining name 'parentdir_prefix' from outer scope (line 17)
src/xblock/xblock/_version.py:54: [C0111(missing-docstring), versions_from_parentdir] Missing docstring
src/xblock/xblock/_version.py:65: [C0111(missing-docstring), git_get_keywords] Missing docstring
src/xblock/xblock/_version.py:75: [C0103(invalid-name), git_get_keywords] Invalid name "mo" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:79: [C0103(invalid-name), git_get_keywords] Invalid name "mo" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:87: [W0621(redefined-outer-name), git_versions_from_keywords] Redefining name 'tag_prefix' from outer scope (line 16)
src/xblock/xblock/_version.py:87: [C0111(missing-docstring), git_versions_from_keywords] Missing docstring
src/xblock/xblock/_version.py:98: [C0103(invalid-name), git_versions_from_keywords] Invalid name "TAG" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:116: [C0103(invalid-name), git_versions_from_keywords] Invalid name "r" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:128: [W0621(redefined-outer-name), git_versions_from_vcs] Redefining name 'tag_prefix' from outer scope (line 16)
src/xblock/xblock/_version.py:128: [C0111(missing-docstring), git_versions_from_vcs] Missing docstring
src/xblock/xblock/_version.py:139: [C0103(invalid-name), git_versions_from_vcs] Invalid name "GITS" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:141: [C0103(invalid-name), git_versions_from_vcs] Invalid name "GITS" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/xblock/xblock/_version.py:160: [W0102(dangerous-default-value), get_versions] Dangerous default value {'version': 'unknown', 'full': ''} as argument
src/xblock/xblock/_version.py:160: [C0111(missing-docstring), get_versions] Missing docstring
src/xblock/xblock/_version.py:176: [W0612(unused-variable), get_versions] Unused variable 'i'
src/xblock/xblock/fields.py:151: [C0103(invalid-name)] Invalid name "ScopeBase" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
src/xblock/xblock/fields.py:232: [E1101(no-member), Scope.__eq__] Instance of 'Scope' has no 'user' member
src/xblock/xblock/fields.py:232: [E1101(no-member), Scope.__eq__] Instance of 'Scope' has no 'block' member
src/xblock/xblock/fields.py:235: [E1001(slots-on-old-class), ScopeIds] Use of __slots__ on an old style class
src/xblock/xblock/runtime.py:48: [E1002(super-on-old-class), KeyValueStore.Key.__new__] Use of super on an old style class
src/xblock/xblock/django/request.py:125: [C0103(invalid-name), DjangoWebobRequest.GET] Invalid name "GET" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
src/xblock/xblock/django/request.py:132: [C0103(invalid-name), DjangoWebobRequest.POST] Invalid name "POST" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
src/xblock/xblock/test/django/test_request.py:41: [E1103(maybe-no-member), TestDjangoWebobRequest.test_post_already_read] Instance of 'dict' has no 'getlist' member (but some types could not be inferred)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.envs.aws:45
==cms.envs.yaml_config:73
BROKER_POOL_LIMIT = 0
BROKER_CONNECTION_TIMEOUT = 1
# For the Result Store, use the django cache named 'celery'
CELERY_RESULT_BACKEND = 'cache'
CELERY_CACHE_BACKEND = 'celery'
# When the broker is behind an ELB, use a heartbeat to refresh the
# connection and to detect if it has been dropped.
BROKER_HEARTBEAT = 10.0
BROKER_HEARTBEAT_CHECKRATE = 2
# Each worker should only fetch one message at a time
CELERYD_PREFETCH_MULTIPLIER = 1
# Skip djcelery migrations, since we don't use the database as the broker
SOUTH_MIGRATION_MODULES = {
'djcelery': 'ignore',
}
# Rename the exchange and queues for each variant
QUEUE_VARIANT = CONFIG_PREFIX.lower()
CELERY_DEFAULT_EXCHANGE = 'edx.{0}core'.format(QUEUE_VARIANT)
HIGH_PRIORITY_QUEUE = 'edx.{0}core.high'.format(QUEUE_VARIANT)
DEFAULT_PRIORITY_QUEUE = 'edx.{0}core.default'.format(QUEUE_VARIANT)
LOW_PRIORITY_QUEUE = 'edx.{0}core.low'.format(QUEUE_VARIANT)
CELERY_DEFAULT_QUEUE = DEFAULT_PRIORITY_QUEUE
CELERY_DEFAULT_ROUTING_KEY = DEFAULT_PRIORITY_QUEUE
CELERY_QUEUES = {
HIGH_PRIORITY_QUEUE: {},
LOW_PRIORITY_QUEUE: {},
DEFAULT_PRIORITY_QUEUE: {}
}
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.djangoapps.contentstore.tests.test_transcripts_utils:283
==cms.djangoapps.contentstore.views.tests.test_transcripts:274
1
00:00:10,500 --> 00:00:13,000
Elephant's Dream
2
00:00:15,000 --> 00:00:18,000
At the left we can see...
"""))
srt_file.seek(0)
link = reverse('upload_transcripts')
filename = os.path.splitext(os.path.basename(srt_file.name))[0]
resp = self.client.post(link, {
'locator': self.video_usage_key,
'transcript-file': srt_file,
'video_list': json.dumps([{
'type': 'html5',
'video': filename,
'mode': 'mp4',
}])
})
self.assertEqual(resp.status_code, 400)
self.assertEqual(json.loads(resp.content).get('status'), 'Undefined file extension.')
def tearDown(self):
super(TestUploadtranscripts, self).tearDown()
self.good_srt_file.close()
self.bad_data_srt_file.close()
self.bad_name_srt_file.close()
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.envs.dev:85
==cms.envs.test:117
CACHES = {
# This is the cache used for most things. Askbot will not work without a
# functioning cache -- it relies on caching to load its settings in places.
# In staging/prod envs, the sessions also live here.
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'edx_loc_mem_cache',
'KEY_FUNCTION': 'util.memcache.safe_key',
},
# The general cache is what you get if you use our util.cache. It's used for
# things like caching the course.xml file for different A/B test groups.
# We set it to be a DummyCache to force reloading of course.xml in dev.
# In staging environments, we would grab VERSION from data uploaded by the
# push process.
'general': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
'KEY_PREFIX': 'general',
'VERSION': 4,
'KEY_FUNCTION': 'util.memcache.safe_key',
},
'mongo_metadata_inheritance': {
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.djangoapps.contentstore.tests.test_transcripts_utils:315
==cms.djangoapps.contentstore.views.tests.test_transcripts:274
1
00:00:10,500 --> 00:00:13,000
Elephant's Dream
2
00:00:15,000 --> 00:00:18,000
At the left we can see...
"""))
srt_file.seek(0)
link = reverse('upload_transcripts')
filename = os.path.splitext(os.path.basename(srt_file.name))[0]
resp = self.client.post(link, {
'locator': self.video_usage_key,
'transcript-file': srt_file,
'video_list': json.dumps([{
'type': 'html5',
'video': filename,
'mode': 'mp4',
}])
})
self.assertEqual(resp.status_code, 400)
self.assertEqual(json.loads(resp.content).get('status'), 'Undefined file extension.')
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.envs.dev:137
==cms.envs.devstack:48
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
INTERNAL_IPS = ('127.0.0.1',)
DEBUG_TOOLBAR_PANELS = (
'debug_toolbar.panels.version.VersionDebugPanel',
'debug_toolbar.panels.timer.TimerDebugPanel',
'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
'debug_toolbar.panels.headers.HeaderDebugPanel',
'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
'debug_toolbar.panels.sql.SQLDebugPanel',
'debug_toolbar.panels.signals.SignalDebugPanel',
'debug_toolbar.panels.logger.LoggingPanel',
# Enabling the profiler has a weird bug as of django-debug-toolbar==0.9.4 and
# Django=1.3.1/1.4 where requests to views get duplicated (your method gets
# hit twice). So you can uncomment when you need to diagnose performance
# problems, but you shouldn't leave it on.
# 'debug_toolbar.panels.profiling.ProfilingPanel',
)
DEBUG_TOOLBAR_CONFIG = {
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==cms.djangoapps.contentstore.tests.test_transcripts_utils:283
==cms.djangoapps.contentstore.tests.test_transcripts_utils:315
==cms.djangoapps.contentstore.views.tests.test_transcripts:92
1
00:00:10,500 --> 00:00:13,000
Elephant's Dream
2
00:00:15,000 --> 00:00:18,000
At the left we can see...
"""))
self.good_srt_file.seek(0)
self.bad_data_srt_file = tempfile.NamedTemporaryFile(suffix='.srt')
self.bad_data_srt_file.write('Some BAD data')
self.bad_data_srt_file.seek(0)
self.bad_name_srt_file = tempfile.NamedTemporaryFile(suffix='.BAD')
self.bad_name_srt_file.write(textwrap.dedent("""
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.djangoapps.contentstore.tests.test_course_create_rerun:15
==cms.djangoapps.contentstore.tests.test_course_listing:30
class TestCourseListing(ModuleStoreTestCase):
"""
Unit tests for getting the list of courses for a logged in user
"""
def setUp(self):
"""
Add a user and a course
"""
super(TestCourseListing, self).setUp()
# create and log in a staff user.
# create and log in a non-staff user
self.user = UserFactory()
self.factory = RequestFactory()
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.envs.dev:42
==cms.envs.test:98
},
# allow for additional options that can be keyed on a name, e.g. 'trashcan'
'ADDITIONAL_OPTIONS': {
'trashcan': {
'bucket': 'trash_fs'
}
}
}
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==cms.djangoapps.contentstore.tests.test_transcripts_utils:283
==cms.djangoapps.contentstore.tests.test_transcripts_utils:315
==cms.djangoapps.contentstore.views.tests.test_transcripts:108
1
00:00:10,500 --> 00:00:13,000
Elephant's Dream
2
00:00:15,000 --> 00:00:18,000
At the left we can see...
"""))
self.bad_name_srt_file.seek(0)
def test_success_video_module_source_subs_uploading(self):
self.item.data = textwrap.dedent("""
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.envs.dev:110
==cms.envs.test:142
'TIMEOUT': 300,
'KEY_FUNCTION': 'util.memcache.safe_key',
},
'loc_cache': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'edx_location_mem_cache',
},
}
# Add external_auth to Installed apps for testing
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.envs.aws:75
==cms.envs.common:534
CELERY_DEFAULT_QUEUE = DEFAULT_PRIORITY_QUEUE
CELERY_DEFAULT_ROUTING_KEY = DEFAULT_PRIORITY_QUEUE
CELERY_QUEUES = {
HIGH_PRIORITY_QUEUE: {},
LOW_PRIORITY_QUEUE: {},
DEFAULT_PRIORITY_QUEUE: {}
}
############# NON-SECURE ENV CONFIG ##############################
# Things like server locations, ports, etc.
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.envs.aws:35
==cms.envs.yaml_config:60
DEBUG = False
TEMPLATE_DEBUG = False
EMAIL_BACKEND = 'django_ses.SESBackend'
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
##############################################################
#
# DEFAULT SETTINGS FOR CELERY
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==cms.envs.dev:140
==cms.envs.dev_dbperf:10
==cms.envs.devstack:51
DEBUG_TOOLBAR_PANELS = (
'debug_toolbar.panels.version.VersionDebugPanel',
'debug_toolbar.panels.timer.TimerDebugPanel',
'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
'debug_toolbar.panels.headers.HeaderDebugPanel',
'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
'debug_toolbar.panels.sql.SQLDebugPanel',
'debug_toolbar.panels.signals.SignalDebugPanel',
'debug_toolbar.panels.logger.LoggingPanel',
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.envs.common:534
==cms.envs.yaml_config:103
CELERY_DEFAULT_QUEUE = DEFAULT_PRIORITY_QUEUE
CELERY_DEFAULT_ROUTING_KEY = DEFAULT_PRIORITY_QUEUE
CELERY_QUEUES = {
HIGH_PRIORITY_QUEUE: {},
LOW_PRIORITY_QUEUE: {},
DEFAULT_PRIORITY_QUEUE: {}
}
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 3 files
==cms.envs.acceptance:61
==cms.envs.dev:42
==cms.envs.test:98
},
# allow for additional options that can be keyed on a name, e.g. 'trashcan'
'ADDITIONAL_OPTIONS': {
'trashcan': {
'bucket': 'trash_fs'
}
}
}
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.envs.aws:202
==cms.envs.yaml_config:213
if CAS_ATTRIBUTE_CALLBACK:
import importlib
CAS_USER_DETAILS_RESOLVER = getattr(
importlib.import_module(CAS_ATTRIBUTE_CALLBACK['module']),
CAS_ATTRIBUTE_CALLBACK['function']
)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.envs.aws:91
==cms.envs.yaml_config:167
if STATIC_URL_BASE:
# collectstatic will fail if STATIC_URL is a unicode string
STATIC_URL = STATIC_URL_BASE.encode('ascii')
if not STATIC_URL.endswith("/"):
STATIC_URL += "/"
STATIC_URL += EDX_PLATFORM_REVISION + "/"
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.envs.aws:195
==cms.envs.yaml_config:207
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'django_cas.backends.CASBackend',
)
INSTALLED_APPS += ('django_cas',)
MIDDLEWARE_CLASSES += ('django_cas.middleware.CASMiddleware',)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.envs.aws:126
==cms.envs.yaml_config:180
if 'loc_cache' not in CACHES:
CACHES['loc_cache'] = {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'edx_location_mem_cache',
}
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.djangoapps.contentstore.views.tests.test_group_configurations:247
==cms.djangoapps.contentstore.views.tests.test_item:236
data=json.dumps(GROUP_CONFIGURATION_JSON),
content_type="application/json",
HTTP_ACCEPT="application/json",
HTTP_X_REQUESTED_WITH="XMLHttpRequest",
)
self.assertEqual(response.status_code, 201)
src/xblock/xblock/test/django/test_request.py:1: [R0801(duplicate-code)] Similar lines in 2 files
==cms.envs.aws:256
==cms.envs.yaml_config:253
BROKER_URL = "{0}://{1}:{2}@{3}/{4}".format(CELERY_BROKER_TRANSPORT,
CELERY_BROKER_USER,
CELERY_BROKER_PASSWORD,
CELERY_BROKER_HOSTNAME,
CELERY_BROKER_VHOST)
PYTHONPATH=common:common/djangoapps:common/lib:common/djangoapps:common/lib pylint -f parseable common calc capa chem dogstats i18n safe_lxml sandbox-packages symmath xmodule | tee /Users/db/clones/edx-platform/reports/common/pylint.report
dogstats:1: [F0001(fatal)] No module named dogstats
sandbox-packages:1: [F0001(fatal)] No module named sandbox-packages
common/__init__.py:1: [F0010(parse-error)] error while code parsing: Unable to load file 'common/__init__.py' ([Errno 2] No such file or directory: 'common/__init__.py')
common/lib/calc/calc/__init__.py:6: [W0403(relative-import)] Relative import 'calc', should be 'calc.calc'
common/lib/calc/calc/__init__.py:6: [W0401(wildcard-import)] Wildcard import calc
common/lib/calc/calc/calc.py:12: [W0403(relative-import)] Relative import 'functions', should be 'calc.functions'
common/lib/calc/calc/calc.py:58: [E1101(no-member)] Module 'scipy.constants' has no 'k' member
common/lib/calc/calc/calc.py:59: [E1101(no-member)] Module 'scipy.constants' has no 'c' member
common/lib/calc/calc/calc.py:61: [E1101(no-member)] Module 'scipy.constants' has no 'e' member
common/lib/calc/calc/calc.py:203: [W0621(redefined-outer-name), add_defaults] Redefining name 'functions' from outer scope (line 12)
common/lib/calc/calc/calc.py:219: [W0621(redefined-outer-name), evaluator] Redefining name 'functions' from outer scope (line 12)
common/lib/calc/calc/preview.py:11: [W0403(relative-import)] Relative import 'calc', should be 'calc.calc'
common/lib/capa/capa/__init__.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/capa/capa/capa_problem.py:36: [C0103(invalid-name)] Invalid name "solution_tags" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/capa/capa/capa_problem.py:39: [C0103(invalid-name)] Invalid name "response_properties" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/capa/capa/capa_problem.py:42: [C0103(invalid-name)] Invalid name "html_transforms" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/capa/capa/capa_problem.py:49: [C0103(invalid-name)] Invalid name "html_problem_semantics" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/capa/capa/capa_problem.py:118: [W0622(redefined-builtin), LoncapaProblem.__init__] Redefining built-in 'id'
common/lib/capa/capa/capa_problem.py:118: [C0103(invalid-name), LoncapaProblem.__init__] Invalid name "id" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/capa_problem.py:118: [C0103(invalid-name), LoncapaProblem.__init__] Invalid name "id" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/capa_problem.py:544: [W0703(broad-except), LoncapaProblem._process_includes] Catching too general exception Exception
common/lib/capa/capa/capa_problem.py:562: [W0703(broad-except), LoncapaProblem._process_includes] Catching too general exception Exception
common/lib/capa/capa/capa_problem.py:580: [W1201(logging-not-lazy), LoncapaProblem._process_includes] Specify string format arguments as logging function parameters
common/lib/capa/capa/capa_problem.py:599: [W0622(redefined-builtin), LoncapaProblem._extract_system_path] Redefining built-in 'dir'
common/lib/capa/capa/capa_problem.py:591: [C0103(invalid-name), LoncapaProblem._extract_system_path] Invalid name "DEFAULT_PATH" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/capa_problem.py:641: [C0103(invalid-name), LoncapaProblem._extract_context] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/capa_problem.py:645: [C0103(invalid-name), LoncapaProblem._extract_context] Invalid name "XMLESC" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/capa_problem.py:396: [W0201(attribute-defined-outside-init), LoncapaProblem._grade_answers] Attribute 'correct_map' defined outside __init__
common/lib/capa/capa/capa_problem.py:818: [W0201(attribute-defined-outside-init), LoncapaProblem._preprocess_problem] Attribute 'responder_answers' defined outside __init__
common/lib/capa/capa/capa_problem.py:789: [W0201(attribute-defined-outside-init), LoncapaProblem._preprocess_problem] Attribute 'responders' defined outside __init__
common/lib/capa/capa/checker.py:25: [C0103(invalid-name), DemoSystem.__init__] Invalid name "DEBUG" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/checker.py:22: [C0111(missing-docstring), DemoSystem] Missing docstring
common/lib/capa/capa/checker.py:27: [C0111(missing-docstring), DemoSystem.render_template] Missing docstring
common/lib/capa/capa/checker.py:37: [C0111(missing-docstring), main] Missing docstring
common/lib/capa/capa/checker.py:56: [W0703(broad-except), main] Catching too general exception Exception
common/lib/capa/capa/checker.py:76: [C0111(missing-docstring), command_test] Missing docstring
common/lib/capa/capa/checker.py:90: [W0703(broad-except), command_test] Catching too general exception Exception
common/lib/capa/capa/checker.py:90: [C0103(invalid-name), command_test] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/checker.py:111: [C0103(invalid-name), check_that_suggested_answers_work] Invalid name "check_that_suggested_answers_work" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
common/lib/capa/capa/checker.py:154: [C0111(missing-docstring), log_captured_output] Missing docstring
common/lib/capa/capa/correctmap.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/capa/capa/correctmap.py:40: [C0111(missing-docstring), CorrectMap.set] Missing docstring
common/lib/capa/capa/correctmap.py:41: [W0613(unused-argument), CorrectMap.set] Unused argument 'kwargs'
common/lib/capa/capa/correctmap.py:101: [C0111(missing-docstring), CorrectMap.is_correct] Missing docstring
common/lib/capa/capa/correctmap.py:106: [C0111(missing-docstring), CorrectMap.is_queued] Missing docstring
common/lib/capa/capa/correctmap.py:109: [C0111(missing-docstring), CorrectMap.is_right_queuekey] Missing docstring
common/lib/capa/capa/correctmap.py:112: [C0111(missing-docstring), CorrectMap.get_queuetime_str] Missing docstring
common/lib/capa/capa/correctmap.py:128: [W0622(redefined-builtin), CorrectMap.set_property] Redefining built-in 'property'
common/lib/capa/capa/correctmap.py:128: [C0111(missing-docstring), CorrectMap.set_property] Missing docstring
common/lib/capa/capa/correctmap.py:134: [W0622(redefined-builtin), CorrectMap.get_property] Redefining built-in 'property'
common/lib/capa/capa/correctmap.py:134: [C0111(missing-docstring), CorrectMap.get_property] Missing docstring
common/lib/capa/capa/correctmap.py:139: [C0111(missing-docstring), CorrectMap.get_correctness] Missing docstring
common/lib/capa/capa/correctmap.py:142: [C0111(missing-docstring), CorrectMap.get_msg] Missing docstring
common/lib/capa/capa/correctmap.py:145: [C0111(missing-docstring), CorrectMap.get_hint] Missing docstring
common/lib/capa/capa/correctmap.py:148: [C0111(missing-docstring), CorrectMap.get_hintmode] Missing docstring
common/lib/capa/capa/correctmap.py:7: [R0924(incomplete-protocol), CorrectMap] Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
common/lib/capa/capa/customrender.py:17: [W0404(reimported)] Reimport 'TagRegistry' (imported line 9)
common/lib/capa/capa/customrender.py:21: [C0103(invalid-name)] Invalid name "registry" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/capa/capa/customrender.py:26: [C0111(missing-docstring), MathRenderer] Missing docstring
common/lib/capa/capa/customrender.py:62: [W0703(broad-except), MathRenderer.get_html] Catching too general exception Exception
common/lib/capa/capa/customrender.py:93: [C0103(invalid-name), SolutionRenderer.__init__] Invalid name "id" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/customrender.py:95: [C0111(missing-docstring), SolutionRenderer.get_html] Missing docstring
common/lib/capa/capa/inputtypes.py:1604: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\('. String constant might be missing an r prefix.
common/lib/capa/capa/inputtypes.py:1604: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\s'. String constant might be missing an r prefix.
common/lib/capa/capa/inputtypes.py:1604: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\)'. String constant might be missing an r prefix.
common/lib/capa/capa/inputtypes.py:1604: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\('. String constant might be missing an r prefix.
common/lib/capa/capa/inputtypes.py:1604: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\s'. String constant might be missing an r prefix.
common/lib/capa/capa/inputtypes.py:1604: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\)'. String constant might be missing an r prefix.
common/lib/capa/capa/inputtypes.py:57: [W0403(relative-import)] Relative import 'xqueue_interface', should be 'capa.xqueue_interface'
common/lib/capa/capa/inputtypes.py:58: [W0403(relative-import)] Relative import 'xqueue_interface', should be 'capa.xqueue_interface'
common/lib/capa/capa/inputtypes.py:265: [W0201(attribute-defined-outside-init), InputTypeBase.process_requirements] Attribute 'to_render' defined outside __init__
common/lib/capa/capa/inputtypes.py:264: [W0201(attribute-defined-outside-init), InputTypeBase.process_requirements] Attribute 'loaded_attributes' defined outside __init__
common/lib/capa/capa/inputtypes.py:447: [W0201(attribute-defined-outside-init), ChoiceGroup.setup] Attribute 'html_input_type' defined outside __init__
common/lib/capa/capa/inputtypes.py:448: [W0201(attribute-defined-outside-init), ChoiceGroup.setup] Attribute 'suffix' defined outside __init__
common/lib/capa/capa/inputtypes.py:455: [W0201(attribute-defined-outside-init), ChoiceGroup.setup] Attribute 'choices' defined outside __init__
common/lib/capa/capa/inputtypes.py:667: [W0201(attribute-defined-outside-init), TextLine.setup] Attribute 'preprocessor' defined outside __init__
common/lib/capa/capa/inputtypes.py:654: [W0201(attribute-defined-outside-init), TextLine.setup] Attribute 'do_math' defined outside __init__
common/lib/capa/capa/inputtypes.py:717: [W0201(attribute-defined-outside-init), FileSubmission.setup] Attribute 'queue_len' defined outside __init__
common/lib/capa/capa/inputtypes.py:709: [W0201(attribute-defined-outside-init), FileSubmission.setup] Attribute 'submitted_msg' defined outside __init__
common/lib/capa/capa/inputtypes.py:773: [W0201(attribute-defined-outside-init), CodeInput.setup_code_response_rendering] Attribute 'queue_len' defined outside __init__
common/lib/capa/capa/inputtypes.py:781: [W0201(attribute-defined-outside-init), CodeInput.setup] Attribute 'submitted_msg' defined outside __init__
common/lib/capa/capa/inputtypes.py:773: [W0201(attribute-defined-outside-init), CodeInput.setup_code_response_rendering] Attribute 'queue_len' defined outside __init__
common/lib/capa/capa/inputtypes.py:820: [W0201(attribute-defined-outside-init), MatlabInput.setup] Attribute 'plot_payload' defined outside __init__
common/lib/capa/capa/inputtypes.py:827: [W0201(attribute-defined-outside-init), MatlabInput.setup] Attribute 'queue_msg' defined outside __init__
common/lib/capa/capa/inputtypes.py:781: [W0201(attribute-defined-outside-init), CodeInput.setup] Attribute 'submitted_msg' defined outside __init__
common/lib/capa/capa/inputtypes.py:822: [W0201(attribute-defined-outside-init), MatlabInput.setup] Attribute 'queuename' defined outside __init__
common/lib/capa/capa/inputtypes.py:1062: [C0103(invalid-name), ImageInput.setup] Invalid name "gy" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/inputtypes.py:1062: [C0103(invalid-name), ImageInput.setup] Invalid name "gx" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/inputtypes.py:1057: [C0103(invalid-name), ImageInput.setup] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/inputtypes.py:1064: [W0201(attribute-defined-outside-init), ImageInput.setup] Attribute 'gy' defined outside __init__
common/lib/capa/capa/inputtypes.py:1064: [W0201(attribute-defined-outside-init), ImageInput.setup] Attribute 'gx' defined outside __init__
common/lib/capa/capa/inputtypes.py:1273: [W0612(unused-variable), FormulaEquationInput.preview_formcalc] Unused variable 'err'
common/lib/capa/capa/inputtypes.py:1324: [W0212(protected-access), DragAndDropInput.setup.parse] Access to a protected member _sentinel of a client class
common/lib/capa/capa/inputtypes.py:1330: [W0212(protected-access), DragAndDropInput.setup.parse] Access to a protected member _sentinel of a client class
common/lib/capa/capa/inputtypes.py:1331: [W0212(protected-access), DragAndDropInput.setup.parse] Access to a protected member _sentinel of a client class
common/lib/capa/capa/inputtypes.py:1332: [W0212(protected-access), DragAndDropInput.setup.parse] Access to a protected member _sentinel of a client class
common/lib/capa/capa/inputtypes.py:1333: [W0212(protected-access), DragAndDropInput.setup.parse] Access to a protected member _sentinel of a client class
common/lib/capa/capa/inputtypes.py:1334: [W0212(protected-access), DragAndDropInput.setup.parse] Access to a protected member _sentinel of a client class
common/lib/capa/capa/inputtypes.py:1353: [W0201(attribute-defined-outside-init), DragAndDropInput.setup] Attribute 'no_labels' defined outside __init__
common/lib/capa/capa/inputtypes.py:1567: [C0103(invalid-name), AnnotationInput._unpack] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/inputtypes.py:1569: [C0103(invalid-name), AnnotationInput._unpack] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/inputtypes.py:1532: [W0201(attribute-defined-outside-init), AnnotationInput.setup] Attribute 'comment' defined outside __init__
common/lib/capa/capa/inputtypes.py:1530: [W0201(attribute-defined-outside-init), AnnotationInput.setup] Attribute 'title' defined outside __init__
common/lib/capa/capa/inputtypes.py:1531: [W0201(attribute-defined-outside-init), AnnotationInput.setup] Attribute 'text' defined outside __init__
common/lib/capa/capa/inputtypes.py:1533: [W0201(attribute-defined-outside-init), AnnotationInput.setup] Attribute 'comment_prompt' defined outside __init__
common/lib/capa/capa/inputtypes.py:1527: [W0201(attribute-defined-outside-init), AnnotationInput.setup] Attribute 'debug' defined outside __init__
common/lib/capa/capa/inputtypes.py:1528: [W0201(attribute-defined-outside-init), AnnotationInput.setup] Attribute 'return_to_annotation' defined outside __init__
common/lib/capa/capa/inputtypes.py:1535: [W0201(attribute-defined-outside-init), AnnotationInput.setup] Attribute 'tag_prompt' defined outside __init__
common/lib/capa/capa/inputtypes.py:1536: [W0201(attribute-defined-outside-init), AnnotationInput.setup] Attribute 'options' defined outside __init__
common/lib/capa/capa/inputtypes.py:1679: [W0201(attribute-defined-outside-init), ChoiceTextGroup.setup] Attribute 'html_input_type' defined outside __init__
common/lib/capa/capa/inputtypes.py:1675: [W0201(attribute-defined-outside-init), ChoiceTextGroup.setup] Attribute 'text_input_values' defined outside __init__
common/lib/capa/capa/inputtypes.py:1692: [W0201(attribute-defined-outside-init), ChoiceTextGroup.setup] Attribute 'choices' defined outside __init__
common/lib/capa/capa/registry.py:43: [C0103(invalid-name), TagRegistry.register] Invalid name "t" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/responsetypes.py:1280: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\d'. String constant might be missing an r prefix.
common/lib/capa/capa/responsetypes.py:1280: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\d'. String constant might be missing an r prefix.
common/lib/capa/capa/responsetypes.py:56: [C0103(invalid-name)] Invalid name "registry" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/capa/capa/responsetypes.py:154: [C0103(invalid-name), LoncapaResponse.__init__] Invalid name "id" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/responsetypes.py:278: [W0603(global-statement), LoncapaResponse.get_hints] Using the global statement
common/lib/capa/capa/responsetypes.py:390: [C0111(missing-docstring), LoncapaResponse.setup_response] Missing docstring
common/lib/capa/capa/responsetypes.py:409: [W0702(bare-except), LoncapaResponse._render_response_msg_html] No exception type(s) specified
common/lib/capa/capa/responsetypes.py:464: [C0111(missing-docstring), JavascriptResponse.compile_display_javascript] Missing docstring
common/lib/capa/capa/responsetypes.py:498: [C0111(missing-docstring), JavascriptResponse.parse_xml] Missing docstring
common/lib/capa/capa/responsetypes.py:536: [C0111(missing-docstring), JavascriptResponse.get_node_env] Missing docstring
common/lib/capa/capa/responsetypes.py:544: [C0111(missing-docstring), JavascriptResponse.call_node] Missing docstring
common/lib/capa/capa/responsetypes.py:557: [C0111(missing-docstring), JavascriptResponse.generate_problem_state] Missing docstring
common/lib/capa/capa/responsetypes.py:569: [C0111(missing-docstring), JavascriptResponse.extract_params] Missing docstring
common/lib/capa/capa/responsetypes.py:582: [C0111(missing-docstring), JavascriptResponse.prepare_inputfield] Missing docstring
common/lib/capa/capa/responsetypes.py:612: [C0111(missing-docstring), JavascriptResponse.run_grader] Missing docstring
common/lib/capa/capa/responsetypes.py:458: [W0201(attribute-defined-outside-init), JavascriptResponse.setup_response] Attribute 'problem_state' defined outside __init__
common/lib/capa/capa/responsetypes.py:505: [W0201(attribute-defined-outside-init), JavascriptResponse.parse_xml] Attribute 'display_xml' defined outside __init__
common/lib/capa/capa/responsetypes.py:512: [W0201(attribute-defined-outside-init), JavascriptResponse.parse_xml] Attribute 'generator' defined outside __init__
common/lib/capa/capa/responsetypes.py:502: [W0201(attribute-defined-outside-init), JavascriptResponse.parse_xml] Attribute 'grader_xml' defined outside __init__
common/lib/capa/capa/responsetypes.py:496: [W0201(attribute-defined-outside-init), JavascriptResponse.compile_display_javascript] Attribute 'display_filename' defined outside __init__
common/lib/capa/capa/responsetypes.py:526: [W0201(attribute-defined-outside-init), JavascriptResponse.parse_xml] Attribute 'grader_dependencies' defined outside __init__
common/lib/capa/capa/responsetypes.py:632: [W0201(attribute-defined-outside-init), JavascriptResponse.get_answers] Attribute 'solution' defined outside __init__
common/lib/capa/capa/responsetypes.py:513: [W0201(attribute-defined-outside-init), JavascriptResponse.parse_xml] Attribute 'grader' defined outside __init__
common/lib/capa/capa/responsetypes.py:499: [W0201(attribute-defined-outside-init), JavascriptResponse.parse_xml] Attribute 'generator_xml' defined outside __init__
common/lib/capa/capa/responsetypes.py:520: [W0201(attribute-defined-outside-init), JavascriptResponse.parse_xml] Attribute 'generator_dependencies' defined outside __init__
common/lib/capa/capa/responsetypes.py:453: [W0201(attribute-defined-outside-init), JavascriptResponse.setup_response] Attribute 'params' defined outside __init__
common/lib/capa/capa/responsetypes.py:534: [W0201(attribute-defined-outside-init), JavascriptResponse.parse_xml] Attribute 'display_class' defined outside __init__
common/lib/capa/capa/responsetypes.py:514: [W0201(attribute-defined-outside-init), JavascriptResponse.parse_xml] Attribute 'display' defined outside __init__
common/lib/capa/capa/responsetypes.py:532: [W0201(attribute-defined-outside-init), JavascriptResponse.parse_xml] Attribute 'display_dependencies' defined outside __init__
common/lib/capa/capa/responsetypes.py:803: [E0602(undefined-variable), MultipleChoiceResponse.mc_setup_response] Undefined variable 'mask_ids'
common/lib/capa/capa/responsetypes.py:804: [E1101(no-member), MultipleChoiceResponse.mc_setup_response] Instance of 'MultipleChoiceResponse' has no '_mask_dict' member
common/lib/capa/capa/responsetypes.py:787: [W0612(unused-variable), MultipleChoiceResponse.mc_setup_response] Unused variable 'ans_str'
common/lib/capa/capa/responsetypes.py:843: [E1101(no-member), MultipleChoiceResponse.unmask_name] Instance of 'MultipleChoiceResponse' has no '_mask_dict' member
common/lib/capa/capa/responsetypes.py:1042: [C0111(missing-docstring), TrueFalseResponse] Missing docstring
common/lib/capa/capa/responsetypes.py:1318: [C0111(missing-docstring), StringResponse.setup_response_backward] Missing docstring
common/lib/capa/capa/responsetypes.py:1342: [C0103(invalid-name), StringResponse.setup_response] Invalid name "el" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/responsetypes.py:1351: [C0111(missing-docstring), StringResponse.check_string_backward] Missing docstring
common/lib/capa/capa/responsetypes.py:1330: [W0201(attribute-defined-outside-init), StringResponse.setup_response] Attribute 'case_insensitive' defined outside __init__
common/lib/capa/capa/responsetypes.py:1325: [W0201(attribute-defined-outside-init), StringResponse.setup_response] Attribute 'backward' defined outside __init__
common/lib/capa/capa/responsetypes.py:1329: [W0201(attribute-defined-outside-init), StringResponse.setup_response] Attribute 'regexp' defined outside __init__
common/lib/capa/capa/responsetypes.py:1469: [C0111(missing-docstring), CustomResponse.setup_response.make_check_function] Missing docstring
common/lib/capa/capa/responsetypes.py:1470: [C0111(missing-docstring), CustomResponse.setup_response.make_check_function.check_function] Missing docstring
common/lib/capa/capa/responsetypes.py:1617: [C0111(missing-docstring), CustomResponse.execute_check_function] Missing docstring
common/lib/capa/capa/responsetypes.py:1631: [W0703(broad-except), CustomResponse.execute_check_function] Catching too general exception Exception
common/lib/capa/capa/responsetypes.py:1638: [C0103(invalid-name), CustomResponse.execute_check_function] Invalid name "fn" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/responsetypes.py:1617: [R0915(too-many-statements), CustomResponse.execute_check_function] Too many statements (56/50)
common/lib/capa/capa/responsetypes.py:1728: [C0111(missing-docstring), CustomResponse.clean_message_html] Missing docstring
common/lib/capa/capa/responsetypes.py:2419: [W0110(deprecated-lambda), FormulaResponse.randomize_variables] map/filter on lambda could be replaced by comprehension
common/lib/capa/capa/util.py:11: [C0103(invalid-name)] Invalid name "default_tolerance" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/capa/capa/util.py:88: [C0103(invalid-name), contextualize_text] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/util.py:90: [C0103(invalid-name), contextualize_text] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/util.py:111: [C0111(missing-docstring), is_list_of_files] Missing docstring
common/lib/capa/capa/util.py:136: [C0103(invalid-name), find_with_default] Invalid name "v" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/xqueue_interface.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/capa/capa/xqueue_interface.py:12: [C0103(invalid-name)] Invalid name "dateformat" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/capa/capa/xqueue_interface.py:24: [C0103(invalid-name), make_hashkey] Invalid name "h" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/xqueue_interface.py:116: [C0111(missing-docstring), XQueueInterface._login] Missing docstring
common/lib/capa/capa/xqueue_interface.py:123: [C0111(missing-docstring), XQueueInterface._send_to_queue] Missing docstring
common/lib/capa/capa/xqueue_interface.py:135: [C0111(missing-docstring), XQueueInterface._http_post] Missing docstring
common/lib/capa/capa/xqueue_interface.py:137: [C0103(invalid-name), XQueueInterface._http_post] Invalid name "r" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/safe_exec/lazymod.py:18: [C0111(missing-docstring), LazyModule._set_mod] Missing docstring
common/lib/capa/capa/safe_exec/lazymod.py:23: [C0111(missing-docstring), LazyModule._load_mod] Missing docstring
common/lib/capa/capa/safe_exec/lazymod.py:20: [W0201(attribute-defined-outside-init), LazyModule._set_mod] Attribute '__dict__' defined outside __init__
common/lib/capa/capa/safe_exec/safe_exec.py:37: [C0103(invalid-name)] Invalid name "lazymod_py_file" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/capa/capa/safe_exec/safe_exec.py:39: [C0103(invalid-name)] Invalid name "lazymod_py_file" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/capa/capa/safe_exec/safe_exec.py:41: [C0103(invalid-name)] Invalid name "lazymod_py" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/capa/capa/safe_exec/safe_exec.py:63: [C0103(invalid-name), update_hash] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/safe_exec/safe_exec.py:142: [C0103(invalid-name), safe_exec] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/tests/__init__.py:18: [W0613(unused-argument), tst_render_template] Unused argument 'template'
common/lib/capa/capa/tests/__init__.py:26: [C0111(missing-docstring), calledback_url] Missing docstring
common/lib/capa/capa/tests/__init__.py:29: [C0103(invalid-name)] Invalid name "xqueue_interface" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/capa/capa/tests/response_xml_factory.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/capa/capa/tests/response_xml_factory.py:13: [W0613(unused-argument), ResponseXMLFactory.create_response_element] Unused argument 'kwargs'
common/lib/capa/capa/tests/response_xml_factory.py:23: [W0613(unused-argument), ResponseXMLFactory.create_input_element] Unused argument 'kwargs'
common/lib/capa/capa/tests/response_xml_factory.py:76: [W0612(unused-variable), ResponseXMLFactory.build_xml] Unused variable 'i'
common/lib/capa/capa/tests/response_xml_factory.py:81: [W0612(unused-variable), ResponseXMLFactory.build_xml] Unused variable 'j'
common/lib/capa/capa/tests/response_xml_factory.py:483: [C0111(missing-docstring), FormulaResponseXMLFactory._sample_str] Missing docstring
common/lib/capa/capa/tests/response_xml_factory.py:483: [W0613(unused-argument), FormulaResponseXMLFactory._sample_str] Unused argument 'tolerance'
common/lib/capa/capa/tests/response_xml_factory.py:488: [W0612(unused-variable), FormulaResponseXMLFactory._sample_str] Unused variable 'variables'
common/lib/capa/capa/tests/response_xml_factory.py:788: [E0102(function-redefined), SymbolicResponseXMLFactory] class already defined line 257
common/lib/capa/capa/tests/test_customrender.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/capa/capa/tests/test_customrender.py:9: [C0103(invalid-name)] Invalid name "lookup_tag" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/capa/capa/tests/test_customrender.py:20: [C0103(invalid-name), quote_attr] Invalid name "s" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/tests/test_customrender.py:20: [C0111(missing-docstring), quote_attr] Missing docstring
common/lib/capa/capa/tests/test_customrender.py:20: [C0103(invalid-name), quote_attr] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/tests/test_customrender.py:28: [C0103(invalid-name), HelperTest.check] Invalid name "d" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/tests/test_customrender.py:28: [C0111(missing-docstring), HelperTest.check] Missing docstring
common/lib/capa/capa/tests/test_customrender.py:28: [C0103(invalid-name), HelperTest.check] Invalid name "d" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/tests/test_customrender.py:64: [C0111(missing-docstring), MathRenderTest.check_parse] Missing docstring
common/lib/capa/capa/tests/test_html_render.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/capa/capa/tests/test_html_render.py:12: [C0111(missing-docstring), CapaHtmlRenderTest] Missing docstring
common/lib/capa/capa/tests/test_html_render.py:276: [C0111(missing-docstring), CapaHtmlRenderTest._create_test_file] Missing docstring
common/lib/capa/capa/tests/test_inputtypes.py:36: [C0103(invalid-name)] Invalid name "lookup_tag" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/capa/capa/tests/test_inputtypes.py:39: [C0103(invalid-name), quote_attr] Invalid name "s" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/tests/test_inputtypes.py:39: [C0111(missing-docstring), quote_attr] Missing docstring
common/lib/capa/capa/tests/test_inputtypes.py:39: [C0103(invalid-name), quote_attr] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/tests/test_inputtypes.py:75: [W0622(redefined-builtin), OptionInputTest.test_option_parsing.check] Redefining built-in 'input'
common/lib/capa/capa/tests/test_inputtypes.py:99: [C0111(missing-docstring), ChoiceGroupTest.check_group] Missing docstring
common/lib/capa/capa/tests/test_inputtypes.py:223: [C0103(invalid-name), TextLineTest.test_math_rendering] Invalid name "preprocessorClass" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/tests/test_inputtypes.py:361: [W0612(unused-variable), CodeInputTest.test_rendering] Unused variable 'esc'
common/lib/capa/capa/tests/test_inputtypes.py:725: [C0103(invalid-name), MatlabTest.test_malformed_queue_msg] Invalid name "maxDiff" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/tests/test_inputtypes.py:510: [W0613(unused-argument), MatlabTest.test_rendering_while_queued] Unused argument 'time'
common/lib/capa/capa/tests/test_inputtypes.py:561: [W0613(unused-argument), MatlabTest.test_ungraded_response_success] Unused argument 'time'
common/lib/capa/capa/tests/test_inputtypes.py:580: [W0613(unused-argument), MatlabTest.test_ungraded_response_key_mismatch] Unused argument 'time'
common/lib/capa/capa/tests/test_inputtypes.py:599: [W0613(unused-argument), MatlabTest.test_matlab_response_timeout_not_exceeded] Unused argument 'time'
common/lib/capa/capa/tests/test_inputtypes.py:608: [W0613(unused-argument), MatlabTest.test_matlab_response_timeout_exceeded] Unused argument 'time'
common/lib/capa/capa/tests/test_inputtypes.py:618: [W0613(unused-argument), MatlabTest.test_matlab_response_migration_of_queuetime] Unused argument 'time'
common/lib/capa/capa/tests/test_inputtypes.py:638: [W0612(unused-variable), MatlabTest.test_matlab_api_key] Unused variable 'response'
common/lib/capa/capa/tests/test_inputtypes.py:869: [C0111(missing-docstring), ImageInputTest.check] Missing docstring
common/lib/capa/capa/tests/test_inputtypes.py:1312: [C0103(invalid-name), AnnotationInputTest.test_rendering] Invalid name "maxDiff" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/tests/test_responsetypes.py:569: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\w'. String constant might be missing an r prefix.
common/lib/capa/capa/tests/test_responsetypes.py:569: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\.'. String constant might be missing an r prefix.
common/lib/capa/capa/tests/test_responsetypes.py:569: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\s'. String constant might be missing an r prefix.
common/lib/capa/capa/tests/test_responsetypes.py:574: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\|'. String constant might be missing an r prefix.
common/lib/capa/capa/tests/test_responsetypes.py:610: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\d'. String constant might be missing an r prefix.
common/lib/capa/capa/tests/test_responsetypes.py:626: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\?'. String constant might be missing an r prefix.
common/lib/capa/capa/tests/test_responsetypes.py:629: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\?'. String constant might be missing an r prefix.
common/lib/capa/capa/tests/test_responsetypes.py:633: [W1401(anomalous-backslash-in-string)] Anomalous backslash in string: '\c'. String constant might be missing an r prefix.
common/lib/capa/capa/tests/test_responsetypes.py:41: [E1102(not-callable), ResponseTest.setUp] self.xml_factory_class is not callable
common/lib/capa/capa/tests/test_responsetypes.py:43: [C0111(missing-docstring), ResponseTest.build_problem] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:47: [C0111(missing-docstring), ResponseTest.assert_grade] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:55: [C0111(missing-docstring), ResponseTest.assert_answer_format] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:59: [C0111(missing-docstring), ResponseTest.assert_multiple_grade] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:78: [C0111(missing-docstring), MultiChoiceResponseTest] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:100: [C0111(missing-docstring), TrueFalseResponseTest] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:140: [C0111(missing-docstring), ImageResponseTest] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:204: [C0111(missing-docstring), SymbolicResponseTest] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:322: [C0111(missing-docstring), OptionResponseTest] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:502: [C0111(missing-docstring), StringResponseTest] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:718: [C0103(invalid-name), StringResponseTest.test_exception] Invalid name "cm" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/tests/test_responsetypes.py:852: [C0111(missing-docstring), CodeResponseTest] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:982: [C0103(invalid-name), CodeResponseTest.test_convert_files_to_filenames] Invalid name "fp" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/tests/test_responsetypes.py:1044: [C0111(missing-docstring), ChoiceResponseTest] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:1087: [C0111(missing-docstring), JavascriptResponseTest] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:1128: [C0111(missing-docstring), NumericalResponseTest] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:1269: [W0613(unused-argument), NumericalResponseTest.test_responsetype_i18n] Unused argument 'mock_log'
common/lib/capa/capa/tests/test_responsetypes.py:1353: [C0111(missing-docstring), CustomResponseTest] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:1744: [C0103(invalid-name), CustomResponseTest.test_random_isnt_none] Invalid name "r" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/capa/capa/tests/test_responsetypes.py:1830: [W0108(unnecessary-lambda), CustomResponseTest.test_python_lib_zip_is_available.<lambda>] Lambda may not be necessary
common/lib/capa/capa/tests/test_responsetypes.py:1835: [C0111(missing-docstring), SchematicResponseTest] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:1886: [C0111(missing-docstring), AnnotationResponseTest] Missing docstring
common/lib/capa/capa/tests/test_responsetypes.py:1929: [W0403(relative-import), ChoiceTextResponseTest] Relative import 'response_xml_factory', should be 'capa.tests.response_xml_factory'
common/lib/capa/capa/tests/test_responsetypes.py:27: [W0611(unused-import)] Unused import compare_with_tolerance
common/lib/capa/capa/tests/test_util.py:16: [R0915(too-many-statements), UtilTest.test_compare_with_tolerance] Too many statements (56/50)
common/lib/capa/capa/tests/test_util.py:5: [W0611(unused-import)] Unused import textwrap
common/lib/chem/chem/__init__.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/chem/chem/chemcalc.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/chem/chem/chemcalc.py:11: [C0103(invalid-name)] Invalid name "elements" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/chem/chem/chemcalc.py:22: [C0103(invalid-name)] Invalid name "digits" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/chem/chem/chemcalc.py:23: [C0103(invalid-name)] Invalid name "symbols" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/chem/chem/chemcalc.py:24: [C0103(invalid-name)] Invalid name "phases" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/chem/chem/chemcalc.py:25: [C0103(invalid-name)] Invalid name "tokens" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/chem/chem/chemcalc.py:26: [C0103(invalid-name)] Invalid name "tokenizer" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/chem/chem/chemcalc.py:29: [C0103(invalid-name), _orjoin] Invalid name "l" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:29: [C0111(missing-docstring), _orjoin] Missing docstring
common/lib/chem/chem/chemcalc.py:29: [C0103(invalid-name), _orjoin] Invalid name "l" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:33: [C0103(invalid-name)] Invalid name "grammar" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/chem/chem/chemcalc.py:54: [C0103(invalid-name)] Invalid name "parser" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/chem/chem/chemcalc.py:62: [C0103(invalid-name), _clean_parse_tree.unparse_number] Invalid name "n" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:62: [C0103(invalid-name), _clean_parse_tree.unparse_number] Invalid name "n" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:65: [C0103(invalid-name), _clean_parse_tree.unparse_number] Invalid name "rv" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:67: [C0103(invalid-name), _clean_parse_tree.unparse_number] Invalid name "rv" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:70: [C0103(invalid-name), _clean_parse_tree.null_tag] Invalid name "n" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:70: [C0103(invalid-name), _clean_parse_tree.null_tag] Invalid name "n" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:74: [C0103(invalid-name), _clean_parse_tree.ion_suffix] Invalid name "n" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:74: [C0103(invalid-name), _clean_parse_tree.ion_suffix] Invalid name "n" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:158: [C0111(missing-docstring), _render_to_html.molecule_count] Missing docstring
common/lib/chem/chem/chemcalc.py:158: [W0613(unused-argument), _render_to_html.molecule_count] Unused argument 'children'
common/lib/chem/chem/chemcalc.py:167: [C0111(missing-docstring), _render_to_html.subscript] Missing docstring
common/lib/chem/chem/chemcalc.py:167: [W0613(unused-argument), _render_to_html.subscript] Unused argument 'tree'
common/lib/chem/chem/chemcalc.py:170: [C0111(missing-docstring), _render_to_html.superscript] Missing docstring
common/lib/chem/chem/chemcalc.py:170: [W0613(unused-argument), _render_to_html.superscript] Unused argument 'tree'
common/lib/chem/chem/chemcalc.py:173: [C0111(missing-docstring), _render_to_html.round_brackets] Missing docstring
common/lib/chem/chem/chemcalc.py:173: [W0613(unused-argument), _render_to_html.round_brackets] Unused argument 'tree'
common/lib/chem/chem/chemcalc.py:176: [C0111(missing-docstring), _render_to_html.square_brackets] Missing docstring
common/lib/chem/chem/chemcalc.py:176: [W0613(unused-argument), _render_to_html.square_brackets] Unused argument 'tree'
common/lib/chem/chem/chemcalc.py:195: [C0103(invalid-name), render_to_html] Invalid name "eq" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:195: [C0103(invalid-name), render_to_html] Invalid name "eq" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:201: [C0103(invalid-name), render_to_html.err] Invalid name "s" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:201: [C0103(invalid-name), render_to_html.err] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:225: [C0103(invalid-name), render_to_html.spanify] Invalid name "s" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:225: [C0111(missing-docstring), render_to_html.spanify] Missing docstring
common/lib/chem/chem/chemcalc.py:225: [C0103(invalid-name), render_to_html.spanify] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:236: [C0103(invalid-name), _get_final_tree] Invalid name "s" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:236: [C0103(invalid-name), _get_final_tree] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:265: [C0103(invalid-name), compare_chemical_expression] Invalid name "s1" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:265: [C0103(invalid-name), compare_chemical_expression] Invalid name "s2" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:265: [C0103(invalid-name), compare_chemical_expression] Invalid name "s1" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:265: [C0103(invalid-name), compare_chemical_expression] Invalid name "s2" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:272: [C0103(invalid-name), divide_chemical_expression] Invalid name "s1" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:272: [C0103(invalid-name), divide_chemical_expression] Invalid name "s2" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:272: [C0103(invalid-name), divide_chemical_expression] Invalid name "s1" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:272: [C0103(invalid-name), divide_chemical_expression] Invalid name "s2" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:305: [C0103(invalid-name), divide_chemical_expression] Invalid name "el" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:355: [C0103(invalid-name), split_on_arrow] Invalid name "eq" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:355: [C0103(invalid-name), split_on_arrow] Invalid name "eq" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemcalc.py:364: [C0103(invalid-name), split_on_arrow] Invalid name "a" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemtools.py:102: [C0103(invalid-name), vsepr_grade] Invalid name "c0" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemtools.py:123: [C0103(invalid-name), vsepr_grade] Invalid name "v" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/chemtools.py:143: [C0103(invalid-name), Test_Grade] Invalid name "Test_Grade" for type class (should match [A-Z_][a-zA-Z0-9]+$)
common/lib/chem/chem/chemtools.py:197: [C0111(missing-docstring), suite] Missing docstring
common/lib/chem/chem/miller.py:10: [C0103(invalid-name), lcm] Invalid name "a" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/miller.py:10: [C0103(invalid-name), lcm] Invalid name "b" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/miller.py:10: [C0103(invalid-name), lcm] Invalid name "a" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/miller.py:10: [C0103(invalid-name), lcm] Invalid name "b" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/miller.py:146: [C0103(invalid-name), miller] Invalid name "N" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/miller.py:147: [C0103(invalid-name), miller] Invalid name "O" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/miller.py:148: [C0103(invalid-name), miller] Invalid name "P" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/miller.py:149: [C0103(invalid-name), miller] Invalid name "Ccs" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/miller.py:171: [C0103(invalid-name), miller] Invalid name "X" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/miller.py:172: [C0103(invalid-name), miller] Invalid name "Y" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/miller.py:173: [C0103(invalid-name), miller] Invalid name "Z" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/miller.py:174: [C0103(invalid-name), miller] Invalid name "new_Ccs" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/miller.py:204: [C0103(invalid-name), grade.negative] Invalid name "m" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/miller.py:204: [C0103(invalid-name), grade.negative] Invalid name "m" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/chem/chem/tests.py:12: [W0403(relative-import)] Relative import 'miller', should be 'chem.miller'
common/lib/chem/chem/tests.py:14: [C0103(invalid-name)] Invalid name "local_debug" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/chem/chem/tests.py:17: [C0103(invalid-name), log] Invalid name "s" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:17: [C0111(missing-docstring), log] Missing docstring
common/lib/chem/chem/tests.py:17: [C0103(invalid-name), log] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:24: [C0103(invalid-name), Test_Compare_Equations] Invalid name "Test_Compare_Equations" for type class (should match [A-Z_][a-zA-Z0-9]+$)
common/lib/chem/chem/tests.py:24: [C0111(missing-docstring), Test_Compare_Equations] Missing docstring
common/lib/chem/chem/tests.py:84: [C0103(invalid-name), Test_Compare_Expressions] Invalid name "Test_Compare_Expressions" for type class (should match [A-Z_][a-zA-Z0-9]+$)
common/lib/chem/chem/tests.py:84: [C0111(missing-docstring), Test_Compare_Expressions] Missing docstring
common/lib/chem/chem/tests.py:135: [E0102(function-redefined), Test_Compare_Expressions.test_compare_phases_not_ignored_explicitly] method already defined line 127
common/lib/chem/chem/tests.py:167: [C0103(invalid-name), Test_Divide_Expressions] Invalid name "Test_Divide_Expressions" for type class (should match [A-Z_][a-zA-Z0-9]+$)
common/lib/chem/chem/tests.py:225: [C0103(invalid-name), Test_Render_Equations] Invalid name "Test_Render_Equations" for type class (should match [A-Z_][a-zA-Z0-9]+$)
common/lib/chem/chem/tests.py:225: [C0111(missing-docstring), Test_Render_Equations] Missing docstring
common/lib/chem/chem/tests.py:228: [C0103(invalid-name), Test_Render_Equations.test_render1] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:235: [C0103(invalid-name), Test_Render_Equations.test_render_uncorrect_reaction] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:242: [C0103(invalid-name), Test_Render_Equations.test_render2] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:249: [C0103(invalid-name), Test_Render_Equations.test_render3] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:256: [C0103(invalid-name), Test_Render_Equations.test_render4] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:263: [C0103(invalid-name), Test_Render_Equations.test_render5] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:270: [C0103(invalid-name), Test_Render_Equations.test_render6] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:277: [C0103(invalid-name), Test_Render_Equations.test_render7] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:284: [C0103(invalid-name), Test_Render_Equations.test_render8] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:291: [C0103(invalid-name), Test_Render_Equations.test_render9] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:298: [C0103(invalid-name), Test_Render_Equations.test_render_error] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:305: [C0103(invalid-name), Test_Render_Equations.test_render_simple_brackets] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:312: [C0103(invalid-name), Test_Render_Equations.test_render_eq1] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:319: [C0103(invalid-name), Test_Render_Equations.test_render_eq2] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:326: [C0103(invalid-name), Test_Render_Equations.test_render_eq3] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/chem/chem/tests.py:333: [C0103(invalid-name), Test_Crystallography_Miller] Invalid name "Test_Crystallography_Miller" for type class (should match [A-Z_][a-zA-Z0-9]+$)
common/lib/chem/chem/tests.py:469: [C0111(missing-docstring), suite] Missing docstring
common/lib/chem/chem/tests.py:481: [C0103(invalid-name)] Invalid name "local_debug" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
src/i18n-tools/i18n/__init__.py:1: [C0111(missing-docstring)] Missing docstring
src/i18n-tools/i18n/__init__.py:6: [C0111(missing-docstring), Runner] Missing docstring
src/i18n-tools/i18n/__init__.py:22: [C0111(missing-docstring), Runner.add_args] Missing docstring
src/i18n-tools/i18n/__init__.py:25: [C0111(missing-docstring), Runner.run] Missing docstring
src/i18n-tools/i18n/__init__.py:30: [C0103(invalid-name), Runner.__call__] Invalid name "v" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
src/i18n-tools/i18n/branch_cleanup.py:27: [C0111(missing-docstring), BranchCleanup] Missing docstring
src/i18n-tools/i18n/config.py:1: [C0111(missing-docstring)] Missing docstring
src/i18n-tools/i18n/config.py:77: [C0111(missing-docstring), Configuration.rtl_langs.is_rtl] Missing docstring
src/i18n-tools/i18n/converter.py:1: [C0111(missing-docstring)] Missing docstring
src/i18n-tools/i18n/converter.py:73: [C0111(missing-docstring), Converter.inner_convert_string] Missing docstring
src/i18n-tools/i18n/dummy.py:48: [C0111(missing-docstring), BaseDummyConverter.pad] Missing docstring
src/i18n-tools/i18n/dummy.py:198: [C0111(missing-docstring), DummyCommand] Missing docstring
src/i18n-tools/i18n/extract.py:40: [E1120(no-value-for-parameter), base] No value passed for parameter 'dest' in function call
src/i18n-tools/i18n/extract.py:43: [C0111(missing-docstring), Extract] Missing docstring
src/i18n-tools/i18n/extract.py:134: [E1120(no-value-for-parameter), Extract.run] No value passed for parameter 'self' in function call
src/i18n-tools/i18n/generate.py:113: [C0111(missing-docstring), Generate] Missing docstring
src/i18n-tools/i18n/main.py:1: [C0111(missing-docstring)] Missing docstring
src/i18n-tools/i18n/main.py:7: [C0111(missing-docstring), get_valid_commands] Missing docstring
src/i18n-tools/i18n/main.py:19: [C0111(missing-docstring), error_message] Missing docstring
src/i18n-tools/i18n/main.py:26: [C0111(missing-docstring), main] Missing docstring
src/i18n-tools/i18n/segment.py:119: [C0111(missing-docstring), get_parser] Missing docstring
src/i18n-tools/i18n/segment.py:130: [C0111(missing-docstring), Segment] Missing docstring
src/i18n-tools/i18n/transifex.py:1: [C0111(missing-docstring)] Missing docstring
src/i18n-tools/i18n/transifex.py:13: [C0111(missing-docstring), push] Missing docstring
src/i18n-tools/i18n/transifex.py:17: [C0111(missing-docstring), pull] Missing docstring
src/i18n-tools/i18n/transifex.py:91: [C0111(missing-docstring), get_new_header] Missing docstring
src/i18n-tools/i18n/transifex.py:99: [C0111(missing-docstring), Transifex] Missing docstring
src/i18n-tools/i18n/validate.py:151: [C0111(missing-docstring), Validate] Missing docstring
common/lib/safe_lxml/safe_lxml/etree.py:22: [E1003(bad-super-call), XMLParser.__init__] Bad first argument 'XMLParser' given to super class
common/lib/symmath/symmath/__init__.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/symmath/symmath/__init__.py:1: [W0401(wildcard-import)] Wildcard import formula
common/lib/symmath/symmath/__init__.py:2: [W0401(wildcard-import)] Wildcard import symmath_check
common/lib/symmath/symmath/formula.py:102: [W0702(bare-except), my_evalf] No exception type(s) specified
common/lib/symmath/symmath/formula.py:106: [W0702(bare-except), my_evalf] No exception type(s) specified
common/lib/symmath/symmath/formula.py:172: [C0103(invalid-name), formula] Invalid name "formula" for type class (should match [A-Z_][a-zA-Z0-9]+$)
common/lib/symmath/symmath/formula.py:201: [C0111(missing-docstring), formula.fix_greek_in_mathml.gettag] Missing docstring
common/lib/symmath/symmath/formula.py:210: [W0703(broad-except), formula.fix_greek_in_mathml] Catching too general exception Exception
common/lib/symmath/symmath/formula.py:238: [C0111(missing-docstring), formula.preprocess_pmathml.gettag] Missing docstring
common/lib/symmath/symmath/formula.py:415: [C0111(missing-docstring), formula.get_content_mathml] Missing docstring
common/lib/symmath/symmath/formula.py:422: [W0703(broad-except), formula.get_content_mathml] Catching too general exception Exception
common/lib/symmath/symmath/formula.py:468: [C0111(missing-docstring), formula.make_sympy.gettag] Missing docstring
common/lib/symmath/symmath/formula.py:472: [C0111(missing-docstring), formula.make_sympy.op_divide] Missing docstring
common/lib/symmath/symmath/formula.py:478: [C0111(missing-docstring), formula.make_sympy.op_plus] Missing docstring
common/lib/symmath/symmath/formula.py:481: [C0111(missing-docstring), formula.make_sympy.op_times] Missing docstring
common/lib/symmath/symmath/formula.py:484: [C0111(missing-docstring), formula.make_sympy.op_minus] Missing docstring
common/lib/symmath/symmath/formula.py:526: [C0103(invalid-name), formula.make_sympy.parsePresentationMathMLSymbol] Invalid name "parsePresentationMathMLSymbol" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
common/lib/symmath/symmath/formula.py:522: [W0612(unused-variable), formula.make_sympy] Unused variable 'nums1dict'
common/lib/symmath/symmath/formula.py:472: [W0612(unused-variable), formula.make_sympy.op_divide] Unused variable 'op_divide'
common/lib/symmath/symmath/formula.py:599: [C0103(invalid-name), formula.GetContentMathML] Invalid name "GetContentMathML" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
common/lib/symmath/symmath/symmath_check.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/symmath/symmath/symmath_check.py:12: [W0401(wildcard-import)] Wildcard import formula
common/lib/symmath/symmath/symmath_check.py:23: [W0102(dangerous-default-value), symmath_check_simple] Dangerous default value {} as argument
common/lib/symmath/symmath/symmath_check.py:32: [C0103(invalid-name), symmath_check_simple] Invalid name "op" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/symmath/symmath/symmath_check.py:48: [W0703(broad-except), symmath_check_simple] Catching too general exception Exception
common/lib/symmath/symmath/symmath_check.py:23: [W0613(unused-argument), symmath_check_simple] Unused argument 'adict'
common/lib/symmath/symmath/symmath_check.py:85: [C0103(invalid-name), check] Invalid name "st" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/symmath/symmath/symmath_check.py:94: [W0703(broad-except), check] Catching too general exception Exception
common/lib/symmath/symmath/symmath_check.py:99: [W0703(broad-except), check] Catching too general exception Exception
common/lib/symmath/symmath/symmath_check.py:105: [W0703(broad-except), check] Catching too general exception Exception
common/lib/symmath/symmath/symmath_check.py:109: [W0703(broad-except), check] Catching too general exception Exception
common/lib/symmath/symmath/symmath_check.py:119: [C0103(invalid-name), check] Invalid name "dm" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/symmath/symmath/symmath_check.py:144: [C0111(missing-docstring), make_error_message] Missing docstring
common/lib/symmath/symmath/symmath_check.py:150: [C0111(missing-docstring), is_within_tolerance] Missing docstring
common/lib/symmath/symmath/symmath_check.py:193: [C0103(invalid-name), symmath_check] Invalid name "DEBUG" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/symmath/symmath/symmath_check.py:196: [C0103(invalid-name), symmath_check] Invalid name "DEBUG" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/symmath/symmath/symmath_check.py:198: [C0103(invalid-name), symmath_check] Invalid name "DEBUG" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/symmath/symmath/symmath_check.py:209: [W0703(broad-except), symmath_check] Catching too general exception Exception
common/lib/symmath/symmath/symmath_check.py:217: [W0703(broad-except), symmath_check] Catching too general exception Exception
common/lib/symmath/symmath/symmath_check.py:244: [W0703(broad-except), symmath_check] Catching too general exception Exception
common/lib/symmath/symmath/symmath_check.py:256: [W0703(broad-except), symmath_check] Catching too general exception Exception
common/lib/symmath/symmath/symmath_check.py:257: [W1201(logging-not-lazy), symmath_check] Specify string format arguments as logging function parameters
common/lib/symmath/symmath/symmath_check.py:293: [C0103(invalid-name), symmath_check] Invalid name "dm" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/symmath/symmath/symmath_check.py:310: [W0703(broad-except), symmath_check] Catching too general exception Exception
common/lib/symmath/symmath/symmath_check.py:203: [W0612(unused-variable), symmath_check] Unused variable 'do_imaginary'
common/lib/symmath/symmath/symmath_check.py:162: [R0915(too-many-statements), symmath_check] Too many statements (83/50)
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import test1 from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import test3 from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import test2 from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import test5 from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import test4 from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import test6 from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import deepcopy from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import operator from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import re from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import Ket from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import etree from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import string from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import StrPrinter from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import sympify from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import Qubit from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import LatexPrinter from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import latex from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import unicodedata from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import unescape from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import requests from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import os from wildcard import
common/lib/symmath/symmath/symmath_check.py:12: [W0614(unused-wildcard-import)] Unused import dot from wildcard import
common/lib/symmath/symmath/test_formula.py:5: [W0403(relative-import)] Relative import 'formula', should be 'symmath.formula'
common/lib/symmath/symmath/test_formula.py:10: [C0103(invalid-name), stripXML] Invalid name "stripXML" for type function (should match ([a-z_][a-z0-9_]{2,30}|test_[a-z0-9_]+)$)
common/lib/symmath/symmath/test_formula.py:10: [C0111(missing-docstring), stripXML] Missing docstring
common/lib/symmath/symmath/test_formula.py:22: [C0103(invalid-name), FormulaTest.setUp] Invalid name "formulaInstance" for type attribute (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/symmath/symmath/test_formula.py:16: [C0111(missing-docstring), FormulaTest] Missing docstring
common/lib/symmath/symmath/test_symmath_check.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/symmath/symmath/test_symmath_check.py:5: [C0111(missing-docstring), SymmathCheckTest] Missing docstring
common/lib/symmath/symmath/test_symmath_check.py:72: [C0111(missing-docstring), SymmathCheckTest._symmath_check_numbers] Missing docstring
common/lib/symmath/symmath/test_symmath_check.py:74: [C0103(invalid-name), SymmathCheckTest._symmath_check_numbers] Invalid name "n" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/__init__.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/xmodule/xmodule/abtest_module.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/xmodule/xmodule/abtest_module.py:23: [W0622(redefined-builtin), group_from_value] Redefining built-in 'sum'
common/lib/xmodule/xmodule/abtest_module.py:17: [C0103(invalid-name), group_from_value] Invalid name "v" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/abtest_module.py:17: [C0103(invalid-name), group_from_value] Invalid name "v" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/abtest_module.py:24: [C0103(invalid-name), group_from_value] Invalid name "g" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/abtest_module.py:24: [C0103(invalid-name), group_from_value] Invalid name "p" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/abtest_module.py:31: [W0631(undefined-loop-variable), group_from_value] Using possibly undefined loop variable 'g'
common/lib/xmodule/xmodule/abtest_module.py:34: [C0111(missing-docstring), ABTestFields] Missing docstring
common/lib/xmodule/xmodule/abtest_module.py:42: [W0223(abstract-method), ABTestModule] Method 'get_html' is abstract in class 'HTMLSnippet' but is not overridden
common/lib/xmodule/xmodule/abtest_module.py:57: [C0111(missing-docstring), ABTestModule.group] Missing docstring
common/lib/xmodule/xmodule/abtest_module.py:61: [C0111(missing-docstring), ABTestModule.group] Missing docstring
common/lib/xmodule/xmodule/abtest_module.py:65: [C0111(missing-docstring), ABTestModule.group] Missing docstring
common/lib/xmodule/xmodule/abtest_module.py:80: [W0223(abstract-method), ABTestDescriptor] Method 'get_html' is abstract in class 'HTMLSnippet' but is not overridden
common/lib/xmodule/xmodule/abtest_module.py:80: [C0111(missing-docstring), ABTestDescriptor] Missing docstring
common/lib/xmodule/xmodule/abtest_module.py:116: [W0702(bare-except), ABTestDescriptor.definition_from_xml] No exception type(s) specified
common/lib/xmodule/xmodule/annotatable_module.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/xmodule/xmodule/annotatable_module.py:17: [C0111(missing-docstring), AnnotatableFields] Missing docstring
common/lib/xmodule/xmodule/annotatable_module.py:47: [C0111(missing-docstring), AnnotatableModule] Missing docstring
common/lib/xmodule/xmodule/annotatable_module.py:72: [C0103(invalid-name), AnnotatableModule._get_annotation_class_attr] Invalid name "el" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/annotatable_module.py:72: [C0103(invalid-name), AnnotatableModule._get_annotation_class_attr] Invalid name "el" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/annotatable_module.py:72: [W0613(unused-argument), AnnotatableModule._get_annotation_class_attr] Unused argument 'index'
common/lib/xmodule/xmodule/annotatable_module.py:90: [C0103(invalid-name), AnnotatableModule._get_annotation_data_attr] Invalid name "el" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/annotatable_module.py:90: [C0103(invalid-name), AnnotatableModule._get_annotation_data_attr] Invalid name "el" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/annotatable_module.py:90: [W0613(unused-argument), AnnotatableModule._get_annotation_data_attr] Unused argument 'index'
common/lib/xmodule/xmodule/annotatable_module.py:112: [C0103(invalid-name), AnnotatableModule._render_annotation] Invalid name "el" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/annotatable_module.py:112: [C0103(invalid-name), AnnotatableModule._render_annotation] Invalid name "el" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/annotatable_module.py:134: [C0103(invalid-name), AnnotatableModule._render_content] Invalid name "el" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/annotatable_module.py:161: [W0223(abstract-method), AnnotatableDescriptor] Method 'get_html' is abstract in class 'HTMLSnippet' but is not overridden
common/lib/xmodule/xmodule/annotatable_module.py:161: [C0111(missing-docstring), AnnotatableDescriptor] Missing docstring
common/lib/xmodule/xmodule/backcompat_module.py:13: [C0103(invalid-name), process_includes] Invalid name "fn" for type argument (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/backcompat_module.py:13: [C0103(invalid-name), process_includes] Invalid name "fn" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/backcompat_module.py:25: [W0622(redefined-builtin), process_includes.from_xml] Redefining built-in 'file'
common/lib/xmodule/xmodule/backcompat_module.py:20: [C0111(missing-docstring), process_includes.from_xml] Missing docstring
common/lib/xmodule/xmodule/backcompat_module.py:38: [W0703(broad-except), process_includes.from_xml] Catching too general exception Exception
common/lib/xmodule/xmodule/backcompat_module.py:62: [W0223(abstract-method), SemanticSectionDescriptor] Method 'export_to_xml' is abstract in class 'XModuleDescriptor' but is not overridden
common/lib/xmodule/xmodule/backcompat_module.py:62: [W0223(abstract-method), SemanticSectionDescriptor] Method 'get_html' is abstract in class 'HTMLSnippet' but is not overridden
common/lib/xmodule/xmodule/backcompat_module.py:62: [C0111(missing-docstring), SemanticSectionDescriptor] Missing docstring
common/lib/xmodule/xmodule/backcompat_module.py:84: [W0223(abstract-method), TranslateCustomTagDescriptor] Method 'export_to_xml' is abstract in class 'XModuleDescriptor' but is not overridden
common/lib/xmodule/xmodule/backcompat_module.py:84: [W0223(abstract-method), TranslateCustomTagDescriptor] Method 'get_html' is abstract in class 'HTMLSnippet' but is not overridden
common/lib/xmodule/xmodule/backcompat_module.py:84: [C0111(missing-docstring), TranslateCustomTagDescriptor] Missing docstring
common/lib/xmodule/xmodule/capa_base.py:80: [E0202(method-hidden), ComplexEncoder.default] An attribute affected in json.encoder line 162 hide this method
common/lib/xmodule/xmodule/capa_base.py:424: [W0621(redefined-outer-name), CapaMixin.check_button_name] Redefining name '_' from outer scope (line 38)
common/lib/xmodule/xmodule/capa_base.py:456: [W0621(redefined-outer-name), CapaMixin.check_button_checking_name] Redefining name '_' from outer scope (line 38)
common/lib/xmodule/xmodule/capa_base.py:578: [W0621(redefined-outer-name), CapaMixin.handle_problem_html_error] Redefining name '_' from outer scope (line 38)
common/lib/xmodule/xmodule/capa_base.py:962: [W0621(redefined-outer-name), CapaMixin.check_problem] Redefining name '_' from outer scope (line 38)
common/lib/xmodule/xmodule/capa_base.py:1141: [W0621(redefined-outer-name), CapaMixin.pretty_print_seconds] Redefining name '_' from outer scope (line 38)
common/lib/xmodule/xmodule/capa_base.py:1210: [W0612(unused-variable), CapaMixin.get_submission_metadata] Unused variable 'response'
common/lib/xmodule/xmodule/capa_base.py:1263: [W0621(redefined-outer-name), CapaMixin.rescore_problem] Redefining name '_' from outer scope (line 38)
common/lib/xmodule/xmodule/capa_base.py:1340: [W0621(redefined-outer-name), CapaMixin.save_problem] Redefining name '_' from outer scope (line 38)
common/lib/xmodule/xmodule/capa_base.py:1390: [W0621(redefined-outer-name), CapaMixin.reset_problem] Redefining name '_' from outer scope (line 38)
common/lib/xmodule/xmodule/capa_base.py:20: [W0611(unused-import)] Unused import resource_string
common/lib/xmodule/xmodule/capa_base.py:27: [W0611(unused-import)] Unused import ProcessingError
common/lib/xmodule/xmodule/capa_module.py:89: [W0612(unused-variable), CapaModule.handle_ajax] Unused variable 'err'
common/lib/xmodule/xmodule/capa_module.py:108: [W0223(abstract-method), CapaDescriptor] Method 'get_html' is abstract in class 'HTMLSnippet' but is not overridden
common/lib/xmodule/xmodule/capa_module.py:156: [C0111(missing-docstring), CapaDescriptor.backcompat_paths] Missing docstring
common/lib/xmodule/xmodule/combined_open_ended_module.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/xmodule/xmodule/combined_open_ended_module.py:47: [C0103(invalid-name)] Invalid name "VersionTuple" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/xmodule/xmodule/combined_open_ended_module.py:189: [W0702(bare-except), VersionInteger.from_json] No exception type(s) specified
common/lib/xmodule/xmodule/combined_open_ended_module.py:194: [C0111(missing-docstring), CombinedOpenEndedFields] Missing docstring
common/lib/xmodule/xmodule/combined_open_ended_module.py:466: [C0111(missing-docstring), CombinedOpenEndedModule.get_instance_state] Missing docstring
common/lib/xmodule/xmodule/combined_open_ended_module.py:479: [C0111(missing-docstring), CombinedOpenEndedModule.due_date] Missing docstring
common/lib/xmodule/xmodule/combined_open_ended_module.py:482: [C0111(missing-docstring), CombinedOpenEndedModule.save_instance_data] Missing docstring
common/lib/xmodule/xmodule/combined_open_ended_module.py:487: [W0223(abstract-method), CombinedOpenEndedDescriptor] Method 'get_html' is abstract in class 'HTMLSnippet' but is not overridden
common/lib/xmodule/xmodule/conditional_module.py:20: [C0111(missing-docstring), ConditionalFields] Missing docstring
common/lib/xmodule/xmodule/conditional_module.py:98: [C0111(missing-docstring), ConditionalModule._get_condition] Missing docstring
common/lib/xmodule/xmodule/conditional_module.py:111: [C0111(missing-docstring), ConditionalModule.required_modules] Missing docstring
common/lib/xmodule/xmodule/conditional_module.py:115: [C0111(missing-docstring), ConditionalModule.is_condition_satisfied] Missing docstring
common/lib/xmodule/xmodule/conditional_module.py:175: [C0103(invalid-name), ConditionalModule.get_icon_class] Invalid name "c" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/conditional_module.py:141: [W0201(attribute-defined-outside-init), ConditionalModule.get_html] Attribute 'required_html_ids' defined outside __init__
common/lib/xmodule/xmodule/conditional_module.py:181: [W0223(abstract-method), ConditionalDescriptor] Method 'from_xml' is abstract in class 'XModuleDescriptor' but is not overridden
common/lib/xmodule/xmodule/conditional_module.py:181: [W0223(abstract-method), ConditionalDescriptor] Method 'export_to_xml' is abstract in class 'XModuleDescriptor' but is not overridden
common/lib/xmodule/xmodule/conditional_module.py:242: [W0702(bare-except), ConditionalDescriptor.definition_from_xml] No exception type(s) specified
common/lib/xmodule/xmodule/conditional_module.py:261: [W0110(deprecated-lambda), ConditionalDescriptor.definition_to_xml] map/filter on lambda could be replaced by comprehension
common/lib/xmodule/xmodule/course_module.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/xmodule/xmodule/course_module.py:32: [C0111(missing-docstring), StringOrDate] Missing docstring
common/lib/xmodule/xmodule/course_module.py:53: [W0702(bare-except), StringOrDate.to_json] No exception type(s) specified
common/lib/xmodule/xmodule/course_module.py:61: [C0103(invalid-name)] Invalid name "edx_xml_parser" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/xmodule/xmodule/course_module.py:64: [C0103(invalid-name)] Invalid name "_cached_toc" for type constant (should match (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$)
common/lib/xmodule/xmodule/course_module.py:67: [C0111(missing-docstring), Textbook] Missing docstring
common/lib/xmodule/xmodule/course_module.py:73: [C0111(missing-docstring), Textbook.start_page] Missing docstring
common/lib/xmodule/xmodule/course_module.py:77: [C0111(missing-docstring), Textbook.end_page] Missing docstring
common/lib/xmodule/xmodule/course_module.py:110: [W0703(broad-except), Textbook.table_of_contents] Catching too general exception Exception
common/lib/xmodule/xmodule/course_module.py:114: [W1201(logging-not-lazy), Textbook.table_of_contents] Specify string format arguments as logging function parameters
common/lib/xmodule/xmodule/course_module.py:116: [C0103(invalid-name), Textbook.table_of_contents] Invalid name "r" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/course_module.py:140: [C0111(missing-docstring), TextbookList] Missing docstring
common/lib/xmodule/xmodule/course_module.py:146: [W0702(bare-except), TextbookList.from_json] No exception type(s) specified
common/lib/xmodule/xmodule/course_module.py:166: [C0111(missing-docstring), CourseFields] Missing docstring
common/lib/xmodule/xmodule/course_module.py:656: [W0223(abstract-method), CourseDescriptor] Method 'export_to_xml' is abstract in class 'XModuleDescriptor' but is not overridden
common/lib/xmodule/xmodule/course_module.py:656: [C0111(missing-docstring), CourseDescriptor] Missing docstring
common/lib/xmodule/xmodule/course_module.py:664: [W0621(redefined-outer-name), CourseDescriptor.__init__] Redefining name '_' from outer scope (line 23)
common/lib/xmodule/xmodule/course_module.py:828: [C0111(missing-docstring), CourseDescriptor.has_started] Missing docstring
common/lib/xmodule/xmodule/course_module.py:832: [C0111(missing-docstring), CourseDescriptor.grader] Missing docstring
common/lib/xmodule/xmodule/course_module.py:836: [C0111(missing-docstring), CourseDescriptor.raw_grader] Missing docstring
common/lib/xmodule/xmodule/course_module.py:843: [C0111(missing-docstring), CourseDescriptor.raw_grader] Missing docstring
common/lib/xmodule/xmodule/course_module.py:849: [C0111(missing-docstring), CourseDescriptor.grade_cutoffs] Missing docstring
common/lib/xmodule/xmodule/course_module.py:853: [C0111(missing-docstring), CourseDescriptor.grade_cutoffs] Missing docstring
common/lib/xmodule/xmodule/course_module.py:862: [C0111(missing-docstring), CourseDescriptor.lowest_passing_grade] Missing docstring
common/lib/xmodule/xmodule/course_module.py:980: [C0111(missing-docstring), CourseDescriptor._sorting_dates] Missing docstring
common/lib/xmodule/xmodule/course_module.py:1028: [C0111(missing-docstring), CourseDescriptor.grading_context.yield_descriptor_descendents] Missing docstring
common/lib/xmodule/xmodule/course_module.py:1034: [C0103(invalid-name), CourseDescriptor.grading_context] Invalid name "c" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/course_module.py:1035: [C0103(invalid-name), CourseDescriptor.grading_context] Invalid name "s" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/course_module.py:1043: [W0110(deprecated-lambda), CourseDescriptor.grading_context] map/filter on lambda could be replaced by comprehension
common/lib/xmodule/xmodule/course_module.py:1056: [C0111(missing-docstring), CourseDescriptor.make_id] Missing docstring
common/lib/xmodule/xmodule/course_module.py:1060: [C0103(invalid-name), CourseDescriptor.id] Invalid name "id" for type method (should match ([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*|maxDiff|test_[a-z0-9_]+)$)
common/lib/xmodule/xmodule/course_module.py:1070: [W0621(redefined-outer-name), CourseDescriptor.start_datetime_text] Redefining name '_' from outer scope (line 23)
common/lib/xmodule/xmodule/course_module.py:1073: [C0111(missing-docstring), CourseDescriptor.start_datetime_text.try_parse_iso_8601] Missing docstring
common/lib/xmodule/xmodule/course_module.py:1129: [C0111(missing-docstring), CourseDescriptor.forum_posts_allowed] Missing docstring
common/lib/xmodule/xmodule/course_module.py:1140: [W0702(bare-except), CourseDescriptor.forum_posts_allowed] No exception type(s) specified
common/lib/xmodule/xmodule/course_module.py:1146: [C0111(missing-docstring), CourseDescriptor.number] Missing docstring
common/lib/xmodule/xmodule/course_module.py:1160: [C0111(missing-docstring), CourseDescriptor.org] Missing docstring
common/lib/xmodule/xmodule/crowdsource_hinter.py:248: [W0613(unused-argument), CrowdsourceHinterModule.get_feedback] Unused argument 'data'
common/lib/xmodule/xmodule/crowdsource_hinter.py:382: [W0223(abstract-method), CrowdsourceHinterDescriptor] Method 'get_html' is abstract in class 'HTMLSnippet' but is not overridden
common/lib/xmodule/xmodule/crowdsource_hinter.py:382: [C0111(missing-docstring), CrowdsourceHinterDescriptor] Missing docstring
common/lib/xmodule/xmodule/crowdsource_hinter.py:393: [W0703(broad-except), CrowdsourceHinterDescriptor.definition_from_xml] Catching too general exception Exception
common/lib/xmodule/xmodule/crowdsource_hinter.py:393: [C0103(invalid-name), CrowdsourceHinterDescriptor.definition_from_xml] Invalid name "e" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
common/lib/xmodule/xmodule/discussion_module.py:1: [C0111(missing-docstring)] Missing docstring
common/lib/xmodule/xmodule/discussion_module.py:13: [C0111(missing-docstring), DiscussionFields] Missing docstring
common/lib/xmodule/xmodule/discussion_module.py:45: [C0111(missing-docstring), DiscussionModule] Missing docstring
common/lib/xmodule/xmodule/discussion_module.py:74: [W0223(abstract-method), DiscussionDescriptor] Method 'from_xml' is abstract in class 'XModuleDescriptor' but is not overridden
common/lib/xmodule/xmodule/discussion_module.py:74: [W0223(abstract-method), DiscussionDescriptor] Method 'ex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment