Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

disable_wrong_import_order.py 463B

1234567891011
  1. """Checks that disabling 'wrong-import-order' on an import prevents subsequent
  2. imports from being considered out-of-order in respect to it but does not prevent
  3. it from being considered for 'ungrouped-imports'."""
  4. # pylint: disable=unused-import,import-error,no-name-in-module
  5. from first_party.foo import bar # pylint: disable=wrong-import-order
  6. import logging
  7. import os.path
  8. import sys
  9. from astroid import are_exclusive
  10. import first_party # [ungrouped-imports]