diff --git a/common/lib/xmodule/xmodule/modulestore/tests/django_utils.py b/common/lib/xmodule/xmodule/modulestore/tests/django_utils.py index 29963f0164..5a69fb44e9 100644 --- a/common/lib/xmodule/xmodule/modulestore/tests/django_utils.py +++ b/common/lib/xmodule/xmodule/modulestore/tests/django_utils.py @@ -402,6 +402,7 @@ class SharedModuleStoreTestCase( Use it like so: @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(MyTestClass, cls).setUpClassAndTestData(): @classmethod diff --git a/lms/djangoapps/bulk_enroll/views.py b/lms/djangoapps/bulk_enroll/views.py index 57ccf4d0e6..583d68fec1 100644 --- a/lms/djangoapps/bulk_enroll/views.py +++ b/lms/djangoapps/bulk_enroll/views.py @@ -54,8 +54,8 @@ class BulkEnrollView(APIView): """ authentication_classes = JwtAuthentication, OAuth2Authentication - permission_classes = IsStaff, - throttle_classes = EnrollmentUserThrottle, + permission_classes = (IsStaff,) + throttle_classes = (EnrollmentUserThrottle,) def post(self, request): serializer = BulkEnrollmentSerializer(data=request.data) diff --git a/lms/djangoapps/course_api/views.py b/lms/djangoapps/course_api/views.py index 3ca878440d..66743ea079 100644 --- a/lms/djangoapps/course_api/views.py +++ b/lms/djangoapps/course_api/views.py @@ -234,7 +234,7 @@ class CourseListView(DeveloperErrorViewMixin, ListAPIView): pagination_class = NamespacedPageNumberPagination pagination_class.max_page_size = 100 serializer_class = CourseSerializer - throttle_classes = CourseListUserThrottle, + throttle_classes = (CourseListUserThrottle,) # Return all the results, 10K is the maximum allowed value for ElasticSearch. # We should use 0 after upgrading to 1.1+: diff --git a/lms/djangoapps/course_blocks/transformers/tests/helpers.py b/lms/djangoapps/course_blocks/transformers/tests/helpers.py index 3024fec2fc..86d44956f6 100644 --- a/lms/djangoapps/course_blocks/transformers/tests/helpers.py +++ b/lms/djangoapps/course_blocks/transformers/tests/helpers.py @@ -77,7 +77,7 @@ class CourseStructureTestCase(TransformerRegistryTestMixin, ModuleStoreTestCase) if block_type != 'course': kwargs['category'] = block_type - kwargs['publish_item'] = True, + kwargs['publish_item'] = True if parent: kwargs['parent'] = parent diff --git a/lms/djangoapps/course_blocks/transformers/tests/test_hidden_content.py b/lms/djangoapps/course_blocks/transformers/tests/test_hidden_content.py index f90fb01cba..a7e22b89b2 100644 --- a/lms/djangoapps/course_blocks/transformers/tests/test_hidden_content.py +++ b/lms/djangoapps/course_blocks/transformers/tests/test_hidden_content.py @@ -23,8 +23,8 @@ class HiddenContentTransformerTestCase(BlockParentsMapTestCase): """ Use constant enum types for deterministic ddt test method names (rather than dynamically generated timestamps) """ - none = 1, - future = 2, + none = 1 + future = 2 past = 3 TODAY = now() diff --git a/lms/djangoapps/course_blocks/transformers/tests/test_start_date.py b/lms/djangoapps/course_blocks/transformers/tests/test_start_date.py index 4fe921b200..2cf7d914cf 100644 --- a/lms/djangoapps/course_blocks/transformers/tests/test_start_date.py +++ b/lms/djangoapps/course_blocks/transformers/tests/test_start_date.py @@ -27,8 +27,8 @@ class StartDateTransformerTestCase(BlockParentsMapTestCase): """ Use constant enum types for deterministic ddt test method names (rather than dynamically generated timestamps) """ - released = 1, - future = 2, + released = 1 + future = 2 default = 3 TODAY = now() diff --git a/lms/djangoapps/courseware/management/commands/dump_course_structure.py b/lms/djangoapps/courseware/management/commands/dump_course_structure.py index a15cda0884..f6b2f3935d 100644 --- a/lms/djangoapps/courseware/management/commands/dump_course_structure.py +++ b/lms/djangoapps/courseware/management/commands/dump_course_structure.py @@ -42,10 +42,10 @@ class Command(BaseCommand): help='name of the modulestore') parser.add_argument('--inherited', action='store_true', - help='include inherited metadata'), + help='include inherited metadata') parser.add_argument('--inherited_defaults', action='store_true', - help='include default values of inherited metadata'), + help='include default values of inherited metadata') def handle(self, *args, **options): diff --git a/lms/djangoapps/courseware/tests/test_navigation.py b/lms/djangoapps/courseware/tests/test_navigation.py index 197e480abe..ceb5c7f06f 100644 --- a/lms/djangoapps/courseware/tests/test_navigation.py +++ b/lms/djangoapps/courseware/tests/test_navigation.py @@ -28,6 +28,7 @@ class TestNavigation(SharedModuleStoreTestCase, LoginEnrollmentTestCase): @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(TestNavigation, cls).setUpClassAndTestData(): cls.test_course = CourseFactory.create() cls.test_course_proctored = CourseFactory.create() diff --git a/lms/djangoapps/courseware/tests/test_views.py b/lms/djangoapps/courseware/tests/test_views.py index 100fa6d580..1104f3371d 100644 --- a/lms/djangoapps/courseware/tests/test_views.py +++ b/lms/djangoapps/courseware/tests/test_views.py @@ -2737,6 +2737,7 @@ class TestIndexViewCrawlerStudentStateWrites(SharedModuleStoreTestCase): def setUpClass(cls): """Set up the simplest course possible.""" # setUpClassAndTestData() already calls setUpClass on SharedModuleStoreTestCase + # pylint: disable=super-method-not-called with super(TestIndexViewCrawlerStudentStateWrites, cls).setUpClassAndTestData(): cls.course = CourseFactory.create() with cls.store.bulk_operations(cls.course.id): diff --git a/lms/djangoapps/discussion/tests/test_views.py b/lms/djangoapps/discussion/tests/test_views.py index 672889653f..04c09a77f6 100644 --- a/lms/djangoapps/discussion/tests/test_views.py +++ b/lms/djangoapps/discussion/tests/test_views.py @@ -1483,6 +1483,7 @@ class InlineDiscussionUnicodeTestCase(ForumsEnableMixin, SharedModuleStoreTestCa @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(InlineDiscussionUnicodeTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create() @@ -1516,6 +1517,7 @@ class ForumFormDiscussionUnicodeTestCase(ForumsEnableMixin, SharedModuleStoreTes @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(ForumFormDiscussionUnicodeTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create() @@ -1605,6 +1607,7 @@ class ForumDiscussionSearchUnicodeTestCase(ForumsEnableMixin, SharedModuleStoreT @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(ForumDiscussionSearchUnicodeTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create() @@ -1641,6 +1644,7 @@ class SingleThreadUnicodeTestCase(ForumsEnableMixin, SharedModuleStoreTestCase, @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(SingleThreadUnicodeTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create(discussion_topics={'dummy_discussion_id': {'id': 'dummy_discussion_id'}}) @@ -1674,6 +1678,7 @@ class UserProfileUnicodeTestCase(ForumsEnableMixin, SharedModuleStoreTestCase, U @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(UserProfileUnicodeTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create() @@ -1706,6 +1711,7 @@ class FollowedThreadsUnicodeTestCase(ForumsEnableMixin, SharedModuleStoreTestCas @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(FollowedThreadsUnicodeTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create() diff --git a/lms/djangoapps/django_comment_client/base/tests.py b/lms/djangoapps/django_comment_client/base/tests.py index 7e2368a2c5..730607787c 100644 --- a/lms/djangoapps/django_comment_client/base/tests.py +++ b/lms/djangoapps/django_comment_client/base/tests.py @@ -438,6 +438,7 @@ class ViewsTestCase( @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(ViewsTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create( org='MITx', course='999', @@ -1076,6 +1077,7 @@ class ViewPermissionsTestCase(ForumsEnableMixin, UrlResetMixin, SharedModuleStor @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(ViewPermissionsTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create() @@ -1187,6 +1189,7 @@ class CreateThreadUnicodeTestCase( @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(CreateThreadUnicodeTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create() @@ -1229,6 +1232,7 @@ class UpdateThreadUnicodeTestCase( @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(UpdateThreadUnicodeTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create() @@ -1271,6 +1275,7 @@ class CreateCommentUnicodeTestCase( @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(CreateCommentUnicodeTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create() @@ -1318,6 +1323,7 @@ class UpdateCommentUnicodeTestCase( @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(UpdateCommentUnicodeTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create() @@ -1358,6 +1364,7 @@ class CreateSubCommentUnicodeTestCase( """ @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(CreateSubCommentUnicodeTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create() @@ -1439,6 +1446,7 @@ class TeamsPermissionsTestCase(ForumsEnableMixin, UrlResetMixin, SharedModuleSto @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(TeamsPermissionsTestCase, cls).setUpClassAndTestData(): teams_configuration = { 'topics': [{'id': "topic_id", 'name': 'Solar Power', 'description': 'Solar power is hot'}] @@ -1749,6 +1757,7 @@ class ForumEventTestCase(ForumsEnableMixin, SharedModuleStoreTestCase, MockReque """ @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(ForumEventTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create() @@ -1930,6 +1939,7 @@ class UsersEndpointTestCase(ForumsEnableMixin, SharedModuleStoreTestCase, MockRe @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(UsersEndpointTestCase, cls).setUpClassAndTestData(): cls.course = CourseFactory.create() diff --git a/lms/djangoapps/teams/tests/test_views.py b/lms/djangoapps/teams/tests/test_views.py index adfa1fe3f6..4cc1d794ce 100644 --- a/lms/djangoapps/teams/tests/test_views.py +++ b/lms/djangoapps/teams/tests/test_views.py @@ -201,6 +201,7 @@ class TeamAPITestCase(APITestCase, SharedModuleStoreTestCase): @classmethod def setUpClass(cls): + # pylint: disable=super-method-not-called with super(TeamAPITestCase, cls).setUpClassAndTestData(): teams_configuration_1 = { 'topics': diff --git a/openedx/core/djangoapps/catalog/management/commands/tests/test_sync_course_runs.py b/openedx/core/djangoapps/catalog/management/commands/tests/test_sync_course_runs.py index 37184930a8..a8fc43f3d6 100644 --- a/openedx/core/djangoapps/catalog/management/commands/tests/test_sync_course_runs.py +++ b/openedx/core/djangoapps/catalog/management/commands/tests/test_sync_course_runs.py @@ -49,7 +49,7 @@ class TestSyncCourseRunsCommand(ModuleStoreTestCase): course_overview_field_name = field.course_overview_name catalog_field_name = field.catalog_name - previous_course_overview_value = getattr(self.course_overview, course_overview_field_name), + previous_course_overview_value = getattr(self.course_overview, course_overview_field_name) updated_course_overview_value = getattr(updated_course_overview, course_overview_field_name) # course overview value matches catalog value diff --git a/openedx/core/djangoapps/safe_sessions/tests/test_safe_cookie_data.py b/openedx/core/djangoapps/safe_sessions/tests/test_safe_cookie_data.py index 338d068b63..d28ef1198f 100644 --- a/openedx/core/djangoapps/safe_sessions/tests/test_safe_cookie_data.py +++ b/openedx/core/djangoapps/safe_sessions/tests/test_safe_cookie_data.py @@ -200,7 +200,7 @@ class TestSafeCookieData(TestSafeSessionsLogMixin, TestCase): ) @ddt.unpack def test_digest_incorrect_field_value(self, field_name, incorrect_field_value): - digest = self.safe_cookie_data._compute_digest(self.user_id), + digest = self.safe_cookie_data._compute_digest(self.user_id) setattr(self.safe_cookie_data, field_name, incorrect_field_value) self.assertNotEqual( digest, diff --git a/openedx/core/djangoapps/zendesk_proxy/v0/views.py b/openedx/core/djangoapps/zendesk_proxy/v0/views.py index 0c38fa34af..4730d11d52 100644 --- a/openedx/core/djangoapps/zendesk_proxy/v0/views.py +++ b/openedx/core/djangoapps/zendesk_proxy/v0/views.py @@ -32,8 +32,8 @@ class ZendeskPassthroughView(APIView): An APIView that will take in inputs from an unauthenticated endpoint, and use them to securely create a zendesk ticket. """ - throttle_classes = ZendeskProxyThrottle, - parser_classes = JSONParser, + throttle_classes = (ZendeskProxyThrottle,) + parser_classes = (JSONParser,) def post(self, request): """ diff --git a/openedx/core/djangoapps/zendesk_proxy/v1/views.py b/openedx/core/djangoapps/zendesk_proxy/v1/views.py index 4cf346e9f2..f6ebf05a74 100644 --- a/openedx/core/djangoapps/zendesk_proxy/v1/views.py +++ b/openedx/core/djangoapps/zendesk_proxy/v1/views.py @@ -27,8 +27,8 @@ class ZendeskPassthroughView(APIView): An APIView that will take in inputs from an unauthenticated endpoint, and use them to securely create a zendesk ticket. """ - throttle_classes = ZendeskProxyThrottle, - parser_classes = JSONParser, + throttle_classes = (ZendeskProxyThrottle,) + parser_classes = (JSONParser,) def post(self, request): """ diff --git a/openedx/features/course_bookmarks/tests/test_course_bookmarks.py b/openedx/features/course_bookmarks/tests/test_course_bookmarks.py index f7d86f59f6..9750e29694 100644 --- a/openedx/features/course_bookmarks/tests/test_course_bookmarks.py +++ b/openedx/features/course_bookmarks/tests/test_course_bookmarks.py @@ -22,6 +22,7 @@ class TestCourseBookmarksTool(SharedModuleStoreTestCase): """ Set up a course to be used for testing. """ + # pylint: disable=super-method-not-called with super(TestCourseBookmarksTool, cls).setUpClassAndTestData(): with cls.store.default_store(ModuleStoreEnum.Type.split): cls.course = CourseFactory.create() diff --git a/openedx/features/course_experience/tests/views/test_course_home.py b/openedx/features/course_experience/tests/views/test_course_home.py index d414c945a3..a7322a6d9f 100644 --- a/openedx/features/course_experience/tests/views/test_course_home.py +++ b/openedx/features/course_experience/tests/views/test_course_home.py @@ -92,6 +92,7 @@ class CourseHomePageTestCase(SharedModuleStoreTestCase): """ Set up a course to be used for testing. """ + # pylint: disable=super-method-not-called with super(CourseHomePageTestCase, cls).setUpClassAndTestData(): with cls.store.default_store(ModuleStoreEnum.Type.split): cls.course = CourseFactory.create( diff --git a/openedx/features/course_experience/tests/views/test_course_outline.py b/openedx/features/course_experience/tests/views/test_course_outline.py index 23cd71339d..ead323255b 100644 --- a/openedx/features/course_experience/tests/views/test_course_outline.py +++ b/openedx/features/course_experience/tests/views/test_course_outline.py @@ -49,6 +49,7 @@ class TestCourseOutlinePage(SharedModuleStoreTestCase): Set up an array of various courses to be tested. """ # setUpClassAndTestData() already calls setUpClass on SharedModuleStoreTestCase + # pylint: disable=super-method-not-called with super(TestCourseOutlinePage, cls).setUpClassAndTestData(): cls.courses = [] course = CourseFactory.create() @@ -145,6 +146,7 @@ class TestCourseOutlinePageWithPrerequisites(SharedModuleStoreTestCase, Mileston """ Creates a test course that can be used for non-destructive tests """ + # pylint: disable=super-method-not-called cls.PREREQ_REQUIRED = '(Prerequisite required)' cls.UNLOCKED = 'Unlocked' @@ -297,6 +299,7 @@ class TestCourseOutlineResumeCourse(SharedModuleStoreTestCase, CompletionWaffleT Creates a test course that can be used for non-destructive tests """ # setUpClassAndTestData() already calls setUpClass on SharedModuleStoreTestCase + # pylint: disable=super-method-not-called with super(TestCourseOutlineResumeCourse, cls).setUpClassAndTestData(): cls.course = cls.create_test_course() diff --git a/openedx/features/course_experience/tests/views/test_course_updates.py b/openedx/features/course_experience/tests/views/test_course_updates.py index fe06df99cc..08bb6fe40e 100644 --- a/openedx/features/course_experience/tests/views/test_course_updates.py +++ b/openedx/features/course_experience/tests/views/test_course_updates.py @@ -83,6 +83,7 @@ class TestCourseUpdatesPage(SharedModuleStoreTestCase): @classmethod def setUpClass(cls): """Set up the simplest course possible.""" + # pylint: disable=super-method-not-called with super(TestCourseUpdatesPage, cls).setUpClassAndTestData(): with cls.store.default_store(ModuleStoreEnum.Type.split): cls.course = CourseFactory.create() diff --git a/requirements/edx-sandbox/base.txt b/requirements/edx-sandbox/base.txt index b12d655007..0b26d8694c 100644 --- a/requirements/edx-sandbox/base.txt +++ b/requirements/edx-sandbox/base.txt @@ -25,7 +25,7 @@ nose==1.3.7 # via matplotlib numpy==1.6.2 pycparser==2.19 pyparsing==2.2.0 -python-dateutil==2.7.3 # via matplotlib +python-dateutil==2.7.5 # via matplotlib scipy==0.14.0 singledispatch==3.4.0.3 # via tornado six==1.11.0 diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index 00de15853b..64a88d7fa9 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -41,7 +41,7 @@ git+https://github.com/open-craft/xblock-poll@add89e14558c30f3c8dc7431e5cd6536ff -e common/lib/xmodule amqp==1.4.9 # via kombu analytics-python==1.1.0 -aniso8601==3.0.2 # via tincan +aniso8601==4.0.1 # via tincan anyjson==0.3.3 # via kombu appdirs==1.4.3 # via fs argh==0.26.2 @@ -94,7 +94,7 @@ django-require==1.0.11 django-rest-swagger==2.2.0 django-sekizai==0.10.0 django-ses==0.8.4 -django-simple-history==2.4.0 +django-simple-history==2.5.1 django-splash==0.2.2 django-statici18n==1.4.0 django-storages==1.4.1 @@ -126,14 +126,14 @@ edx-oauth2-provider==1.2.2 edx-opaque-keys[django]==0.4.4 edx-organizations==1.0.0 edx-proctoring==1.4.0 -edx-rest-api-client==1.8.2 +edx-rest-api-client==1.9 edx-search==1.2.1 edx-submissions==2.0.12 edx-user-state-client==1.0.4 edxval==0.1.21 elasticsearch==1.9.0 # via edx-search enum34==1.1.6 -event-tracking==0.2.4 +event-tracking==0.2.5 feedparser==5.1.3 firebase-token-generator==1.3.2 fs-s3fs==0.1.8 @@ -180,7 +180,7 @@ openapi-codec==1.3.2 # via django-rest-swagger path.py==8.2.1 pathtools==0.1.2 paver==1.3.4 -pbr==5.0.0 +pbr==5.1.0 pdfminer==20140328 piexif==1.0.2 pillow==5.3.0 @@ -211,7 +211,7 @@ pyyaml==3.13 redis==2.10.6 reportlab==3.5.9 requests-oauthlib==1.0.0 -requests==2.19.1 +requests==2.20.0 rest-condition==1.0.3 rfc6266-parser==0.0.5.post2 rules==2.0 diff --git a/requirements/edx/development.txt b/requirements/edx/development.txt index db1422a24d..78ba074617 100644 --- a/requirements/edx/development.txt +++ b/requirements/edx/development.txt @@ -45,14 +45,14 @@ git+https://github.com/open-craft/xblock-poll@add89e14558c30f3c8dc7431e5cd6536ff alabaster==0.7.12 # via sphinx amqp==1.4.9 analytics-python==1.1.0 -aniso8601==3.0.2 +aniso8601==4.0.1 anyjson==0.3.3 apipkg==1.5 appdirs==1.4.3 argh==0.26.2 argparse==1.4.0 asn1crypto==0.24.0 -astroid==1.5.2 +astroid==1.5.3 atomicwrites==1.2.1 attrs==17.4.0 babel==1.3 @@ -113,7 +113,7 @@ django-require==1.0.11 django-rest-swagger==2.2.0 django-sekizai==0.10.0 django-ses==0.8.4 -django-simple-history==2.4.0 +django-simple-history==2.5.1 django-splash==0.2.2 django-statici18n==1.4.0 django-storages==1.4.1 @@ -140,13 +140,13 @@ edx-django-utils==1.0.1 edx-drf-extensions==2.0.1 edx-enterprise==1.0.3 edx-i18n-tools==0.4.6 -edx-lint==0.5.5 +edx-lint==0.6.0 edx-milestones==0.1.13 edx-oauth2-provider==1.2.2 edx-opaque-keys[django]==0.4.4 edx-organizations==1.0.0 edx-proctoring==1.4.0 -edx-rest-api-client==1.8.2 +edx-rest-api-client==1.9 edx-search==1.2.1 edx-sphinx-theme==1.3.0 edx-submissions==2.0.12 @@ -154,17 +154,17 @@ edx-user-state-client==1.0.4 edxval==0.1.21 elasticsearch==1.9.0 enum34==1.1.6 -event-tracking==0.2.4 +event-tracking==0.2.5 execnet==1.5.0 extras==1.0.0 factory_boy==2.8.1 faker==0.9.2 feedparser==5.1.3 -filelock==3.0.9 +filelock==3.0.10 firebase-token-generator==1.3.2 fixtures==3.0.0 flake8-polyfill==1.0.2 -flake8==3.5.0 +flake8==3.6.0 flask==1.0.2 freezegun==0.3.11 fs-s3fs==0.1.8 @@ -189,7 +189,7 @@ ipaddr==2.1.11 ipaddress==1.0.22 isodate==0.6.0 isort==4.3.4 -itsdangerous==0.24 +itsdangerous==1.1.0 itypes==1.1.0 jinja2-pluralize==0.3.0 jinja2==2.10 @@ -227,11 +227,11 @@ oauthlib==2.1.0 openapi-codec==1.3.2 pa11ycrawler==1.6.2 packaging==18.0 # via sphinx -parsel==1.5.0 +parsel==1.5.1 path.py==8.2.1 pathtools==0.1.2 paver==1.3.4 -pbr==5.0.0 +pbr==5.1.0 pdfminer==20140328 piexif==1.0.2 pillow==5.3.0 @@ -243,13 +243,13 @@ py2neo==3.1.2 py==1.7.0 pyasn1-modules==0.2.2 pyasn1==0.4.4 -pycodestyle==2.3.1 +pycodestyle==2.4.0 pycontracts==1.7.1 pycountry==1.20 pycparser==2.19 pycryptodomex==3.4.7 pydispatcher==2.0.5 -pyflakes==1.6.0 +pyflakes==2.0.0 pygments==2.2.0 pygraphviz==1.1 pyinotify==0.9.6 @@ -258,7 +258,7 @@ pyjwt==1.5.2 pylint-celery==0.3 pylint-django==0.7.2 pylint-plugin-utils==0.3 -pylint==1.7.1 +pylint==1.7.6 pymongo==2.9.1 pynliner==0.8.0 pyopenssl==18.0.0 @@ -271,7 +271,7 @@ pytest-cov==2.5.1 pytest-django==3.1.2 pytest-forked==0.2 pytest-randomly==1.2.3 -pytest-xdist==1.23.2 +pytest-xdist==1.24.0 pytest==3.6.3 python-dateutil==2.4.0 python-levenshtein==0.12.0 @@ -290,7 +290,7 @@ radon==2.4.0 redis==2.10.6 reportlab==3.5.9 requests-oauthlib==1.0.0 -requests==2.19.1 +requests==2.20.0 rest-condition==1.0.3 rfc6266-parser==0.0.5.post2 rules==2.0 @@ -298,7 +298,7 @@ s3transfer==0.1.13 sailthru-client==2.2.3 scipy==0.14.0 scrapy==1.1.2 -selenium==3.14.1 +selenium==3.141.0 semantic-version==2.6.0 service-identity==17.0.0 shapely==1.2.16 @@ -326,7 +326,7 @@ text-unidecode==1.2 tincan==0.0.5 toml==0.10.0 tox-battery==0.5.1 -tox==3.5.2 +tox==3.5.3 traceback2==1.4.0 transifex-client==0.13.5 twisted==16.6.0 @@ -340,7 +340,7 @@ urlobject==2.4.3 user-util==0.1.5 virtualenv==16.1.0 voluptuous==0.11.5 -vulture==0.29 +vulture==1.0 w3lib==1.19.0 watchdog==0.9.0 web-fragments==0.2.2 @@ -353,4 +353,4 @@ xblock-utils==1.2.0 xblock==1.2.2 xmltodict==0.11.0 zendesk==1.1.1 -zope.interface==4.5.0 +zope.interface==4.6.0 diff --git a/requirements/edx/paver.txt b/requirements/edx/paver.txt index 53774b5058..3f785cf2eb 100644 --- a/requirements/edx/paver.txt +++ b/requirements/edx/paver.txt @@ -17,14 +17,14 @@ mock==1.0.1 path.py==8.2.1 pathtools==0.1.2 # via watchdog paver==1.3.4 -pbr==5.0.0 # via stevedore +pbr==5.1.0 # via stevedore psutil==1.2.1 pymongo==2.9.1 python-memcached==1.48 pyyaml==3.13 # via watchdog -requests==2.19.1 +requests==2.20.0 six==1.11.0 # via edx-opaque-keys, libsass, paver, stevedore stevedore==1.10.0 -urllib3==1.23 # via requests +urllib3==1.23 watchdog==0.9.0 wrapt==1.10.5 diff --git a/requirements/edx/testing.txt b/requirements/edx/testing.txt index 35579ce7dd..de7effee78 100644 --- a/requirements/edx/testing.txt +++ b/requirements/edx/testing.txt @@ -42,14 +42,14 @@ git+https://github.com/open-craft/xblock-poll@add89e14558c30f3c8dc7431e5cd6536ff -e common/lib/xmodule amqp==1.4.9 analytics-python==1.1.0 -aniso8601==3.0.2 +aniso8601==4.0.1 anyjson==0.3.3 apipkg==1.5 # via execnet appdirs==1.4.3 argh==0.26.2 argparse==1.4.0 asn1crypto==0.24.0 -astroid==1.5.2 # via edx-lint, pylint, pylint-celery +astroid==1.5.3 # via edx-lint, pylint, pylint-celery atomicwrites==1.2.1 # via pytest attrs==17.4.0 babel==1.3 @@ -109,7 +109,7 @@ django-require==1.0.11 django-rest-swagger==2.2.0 django-sekizai==0.10.0 django-ses==0.8.4 -django-simple-history==2.4.0 +django-simple-history==2.5.1 django-splash==0.2.2 django-statici18n==1.4.0 django-storages==1.4.1 @@ -135,30 +135,30 @@ edx-django-utils==1.0.1 edx-drf-extensions==2.0.1 edx-enterprise==1.0.3 edx-i18n-tools==0.4.6 -edx-lint==0.5.5 +edx-lint==0.6.0 edx-milestones==0.1.13 edx-oauth2-provider==1.2.2 edx-opaque-keys[django]==0.4.4 edx-organizations==1.0.0 edx-proctoring==1.4.0 -edx-rest-api-client==1.8.2 +edx-rest-api-client==1.9 edx-search==1.2.1 edx-submissions==2.0.12 edx-user-state-client==1.0.4 edxval==0.1.21 elasticsearch==1.9.0 enum34==1.1.6 -event-tracking==0.2.4 +event-tracking==0.2.5 execnet==1.5.0 # via pytest-xdist extras==1.0.0 # via python-subunit, testtools factory_boy==2.8.1 faker==0.9.2 # via factory-boy feedparser==5.1.3 -filelock==3.0.9 # via tox +filelock==3.0.10 # via tox firebase-token-generator==1.3.2 fixtures==3.0.0 # via testtools flake8-polyfill==1.0.2 # via radon -flake8==3.5.0 # via flake8-polyfill +flake8==3.6.0 # via flake8-polyfill flask==1.0.2 # via moto freezegun==0.3.11 fs-s3fs==0.1.8 @@ -182,7 +182,7 @@ ipaddr==2.1.11 ipaddress==1.0.22 isodate==0.6.0 isort==4.3.4 -itsdangerous==0.24 # via flask +itsdangerous==1.1.0 # via flask itypes==1.1.0 jinja2-pluralize==0.3.0 jinja2==2.10 @@ -218,11 +218,11 @@ oauth2==1.9.0.post1 oauthlib==2.1.0 openapi-codec==1.3.2 pa11ycrawler==1.6.2 -parsel==1.5.0 # via scrapy +parsel==1.5.1 # via scrapy path.py==8.2.1 pathtools==0.1.2 paver==1.3.4 -pbr==5.0.0 +pbr==5.1.0 pdfminer==20140328 piexif==1.0.2 pillow==5.3.0 @@ -233,13 +233,13 @@ py2neo==3.1.2 py==1.7.0 # via pytest, tox pyasn1-modules==0.2.2 # via service-identity pyasn1==0.4.4 # via pyasn1-modules, service-identity -pycodestyle==2.3.1 +pycodestyle==2.4.0 pycontracts==1.7.1 pycountry==1.20 pycparser==2.19 pycryptodomex==3.4.7 pydispatcher==2.0.5 # via scrapy -pyflakes==1.6.0 # via flake8 +pyflakes==2.0.0 # via flake8 pygments==2.2.0 pygraphviz==1.1 pyjwkest==1.3.2 @@ -247,7 +247,7 @@ pyjwt==1.5.2 pylint-celery==0.3 # via edx-lint pylint-django==0.7.2 # via edx-lint pylint-plugin-utils==0.3 -pylint==1.7.1 # via edx-lint, pylint-celery, pylint-django, pylint-plugin-utils +pylint==1.7.6 # via edx-lint, pylint-celery, pylint-django, pylint-plugin-utils pymongo==2.9.1 pynliner==0.8.0 pyopenssl==18.0.0 # via scrapy, service-identity @@ -260,7 +260,7 @@ pytest-cov==2.5.1 pytest-django==3.1.2 pytest-forked==0.2 # via pytest-xdist pytest-randomly==1.2.3 -pytest-xdist==1.23.2 +pytest-xdist==1.24.0 pytest==3.6.3 python-dateutil==2.4.0 python-levenshtein==0.12.0 @@ -279,7 +279,7 @@ radon==2.4.0 redis==2.10.6 reportlab==3.5.9 requests-oauthlib==1.0.0 -requests==2.19.1 +requests==2.20.0 rest-condition==1.0.3 rfc6266-parser==0.0.5.post2 rules==2.0 @@ -287,7 +287,7 @@ s3transfer==0.1.13 sailthru-client==2.2.3 scipy==0.14.0 scrapy==1.1.2 # via pa11ycrawler -selenium==3.14.1 +selenium==3.141.0 semantic-version==2.6.0 service-identity==17.0.0 # via scrapy shapely==1.2.16 @@ -311,7 +311,7 @@ text-unidecode==1.2 # via faker tincan==0.0.5 toml==0.10.0 # via tox tox-battery==0.5.1 -tox==3.5.2 +tox==3.5.3 traceback2==1.4.0 # via testtools, unittest2 transifex-client==0.13.5 twisted==16.6.0 # via pa11ycrawler, scrapy @@ -336,4 +336,4 @@ xblock-utils==1.2.0 xblock==1.2.2 xmltodict==0.11.0 # via moto zendesk==1.1.1 -zope.interface==4.5.0 # via twisted +zope.interface==4.6.0 # via twisted diff --git a/scripts/thresholds.sh b/scripts/thresholds.sh index 229298002a..e4eba69566 100755 --- a/scripts/thresholds.sh +++ b/scripts/thresholds.sh @@ -2,6 +2,6 @@ set -e export LOWER_PYLINT_THRESHOLD=1000 -export UPPER_PYLINT_THRESHOLD=2715 +export UPPER_PYLINT_THRESHOLD=2750 export ESLINT_THRESHOLD=5590 export STYLELINT_THRESHOLD=973