Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Emacs related file to a separate package, cleanup and upgrade documentation #7739

Closed
wants to merge 1 commit into from

Conversation

Pierre-Sassoulas
Copy link
Member

Type of Changes

Type
βœ“ πŸ”¨ Refactoring
βœ“ πŸ“œ Docs

Description

Work in progress for emacs cleanup.

  • TODO Does that package have to include pylint/epylint.py?

Closes #7737

- TODO Does that package have to include pylint/epylint.py?
@Pierre-Sassoulas Pierre-Sassoulas added Work in progress Maintenance Discussion or action around maintaining pylint or the dev workflow Emacs πŸ’Ύ labels Nov 9, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2022

πŸ€– Effect of this PR on checked open source code: πŸ€–

Effect on astroid:
The following messages are now emitted:

  1. compare-to-empty-string:
    "parts[0] == ''" can be simplified to "not parts[0]" as an empty string is falsey
    https://github.com/PyCQA/astroid/blob/6cf238d089cf4b6753c94cfc089b4a47487711e5/astroid/modutils.py#L424
  2. compare-to-empty-string:
    "parts[starti] == ''" can be simplified to "not parts[starti]" as an empty string is falsey
    https://github.com/PyCQA/astroid/blob/6cf238d089cf4b6753c94cfc089b4a47487711e5/astroid/modutils.py#L430
  3. use-dict-literal:
    Consider using '{"node": self, "unknown": node, "assign_path": assign_path, "context": context, ... }' instead of a call to 'dict'.
    https://github.com/PyCQA/astroid/blob/6cf238d089cf4b6753c94cfc089b4a47487711e5/astroid/protocols.py#L297
  4. use-dict-literal:
    Consider using '{"node": self, "unknown": node, "assign_path": assign_path, "context": context, ... }' instead of a call to 'dict'.
    https://github.com/PyCQA/astroid/blob/6cf238d089cf4b6753c94cfc089b4a47487711e5/astroid/protocols.py#L304
  5. use-dict-literal:
    Consider using '{"node": self, "unknown": node, "assign_path": assign_path, "context": context, ... }' instead of a call to 'dict'.
    https://github.com/PyCQA/astroid/blob/6cf238d089cf4b6753c94cfc089b4a47487711e5/astroid/protocols.py#L457
  6. use-dict-literal:
    Consider using '{"node": self, "unknown": node, "assign_path": assign_path, "context": context, ... }' instead of a call to 'dict'.
    https://github.com/PyCQA/astroid/blob/6cf238d089cf4b6753c94cfc089b4a47487711e5/astroid/protocols.py#L530
  7. use-dict-literal:
    Consider using '{"node": self, "unknown": node, "assign_path": assign_path, "context": context, ... }' instead of a call to 'dict'.
    https://github.com/PyCQA/astroid/blob/6cf238d089cf4b6753c94cfc089b4a47487711e5/astroid/protocols.py#L646
  8. use-dict-literal:
    Consider using '{"node": stmt, "context": context}' instead of a call to 'dict'.
    https://github.com/PyCQA/astroid/blob/6cf238d089cf4b6753c94cfc089b4a47487711e5/astroid/nodes/node_classes.py#L94
  9. use-dict-literal:
    Consider using '{"node": stmt, "context": context}' instead of a call to 'dict'.
    https://github.com/PyCQA/astroid/blob/6cf238d089cf4b6753c94cfc089b4a47487711e5/astroid/nodes/node_classes.py#L99
  10. use-dict-literal:
    Consider using '{"node": stmt, "context": context}' instead of a call to 'dict'.
    https://github.com/PyCQA/astroid/blob/6cf238d089cf4b6753c94cfc089b4a47487711e5/astroid/nodes/node_classes.py#L107

The following messages are no longer emitted:

  1. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/PyCQA/astroid/blob/6cf238d089cf4b6753c94cfc089b4a47487711e5/astroid/modutils.py#L424
  2. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/PyCQA/astroid/blob/6cf238d089cf4b6753c94cfc089b4a47487711e5/astroid/modutils.py#L430

Effect on black:
The following messages are now emitted:

  1. compare-to-empty-string:
    "LL[string_idx - 1].value == ''" can be simplified to "not LL[string_idx - 1].value" as an empty string is falsey
    https://github.com/psf/black/blob/ffaaf4838228c922b586a87f717ed402031fcc0a/src/black/trans.py#L973
  2. compare-to-empty-string:
    "N.value == ''" can be simplified to "not N.value" as an empty string is falsey
    https://github.com/psf/black/blob/ffaaf4838228c922b586a87f717ed402031fcc0a/src/black/trans.py#L1005
  3. compare-to-empty-string:
    "first.value == ''" can be simplified to "not first.value" as an empty string is falsey
    https://github.com/psf/black/blob/ffaaf4838228c922b586a87f717ed402031fcc0a/src/black/nodes.py#L748
  4. compare-to-empty-string:
    "last.value == ''" can be simplified to "not last.value" as an empty string is falsey
    https://github.com/psf/black/blob/ffaaf4838228c922b586a87f717ed402031fcc0a/src/black/nodes.py#L751
  5. compare-to-empty-string:
    "leaf.value == ''" can be simplified to "not leaf.value" as an empty string is falsey
    https://github.com/psf/black/blob/ffaaf4838228c922b586a87f717ed402031fcc0a/src/black/nodes.py#L760
  6. compare-to-empty-string:
    "leaf.value == ''" can be simplified to "not leaf.value" as an empty string is falsey
    https://github.com/psf/black/blob/ffaaf4838228c922b586a87f717ed402031fcc0a/src/black/nodes.py#L764

The following messages are no longer emitted:

  1. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/psf/black/blob/ffaaf4838228c922b586a87f717ed402031fcc0a/src/black/trans.py#L973
  2. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/psf/black/blob/ffaaf4838228c922b586a87f717ed402031fcc0a/src/black/trans.py#L1005
  3. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/psf/black/blob/ffaaf4838228c922b586a87f717ed402031fcc0a/src/black/nodes.py#L748
  4. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/psf/black/blob/ffaaf4838228c922b586a87f717ed402031fcc0a/src/black/nodes.py#L751
  5. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/psf/black/blob/ffaaf4838228c922b586a87f717ed402031fcc0a/src/black/nodes.py#L760
  6. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/psf/black/blob/ffaaf4838228c922b586a87f717ed402031fcc0a/src/black/nodes.py#L764

Effect on django:
The following messages are now emitted:

  1. compare-to-empty-string:
    "text == ''" can be simplified to "not text" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/utils/termcolors.py#L49
  2. compare-to-empty-string:
    "number == ''" can be simplified to "not number" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/utils/numberformat.py#L28
  3. compare-to-empty-string:
    "subpath == ''" can be simplified to "not subpath" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/apps/registry.py#L265
  4. compare-to-empty-string:
    "key == ''" can be simplified to "not key" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/views/i18n.py#L280
  5. compare-to-empty-string:
    "value == ''" can be simplified to "not value" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/forms/widgets.py#L260
  6. compare-to-empty-string:
    "v == ''" can be simplified to "not v" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/forms/widgets.py#L551
  7. compare-to-empty-string:
    "value == ''" can be simplified to "not value" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/forms/widgets.py#L566
  8. compare-to-empty-string:
    "value == ''" can be simplified to "not value" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/forms/widgets.py#L744
  9. compare-to-empty-string:
    "y == m == d == ''" can be simplified to "not d" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/forms/widgets.py#L1161
  10. compare-to-empty-string:
    "settings_dict['NAME'] == ''" can be simplified to "not settings_dict['NAME']" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/backends/postgresql/base.py#L171
  11. compare-to-empty-string:
    "lookup_value == ''" can be simplified to "not lookup_value" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/base.py#L1314
  12. compare-to-empty-string:
    "lookup_value == ''" can be simplified to "not lookup_value" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/constraints.py#L317
  13. use-implicit-booleaness-not-comparison:
    'inner_query.select == ()' can be simplified to 'not inner_query.select' as an empty tuple is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/sql/query.py#L513
  14. compare-to-empty-string:
    "lookup.rhs == ''" can be simplified to "not lookup.rhs" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/sql/query.py#L1302
  15. compare-to-empty-string:
    "val == ''" can be simplified to "not val" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/fields/related_descriptors.py#L680
  16. compare-to-empty-string:
    "value == ''" can be simplified to "not value" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/fields/related.py#L1139
  17. compare-to-empty-string:
    "self.path != ''" can be simplified to "self.path" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/fields/__init__.py#L1867
  18. compare-to-empty-string:
    "default == ''" can be simplified to "not default" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/fields/__init__.py#L2585
  19. compare-to-empty-string:
    "request_csrf_token == ''" can be simplified to "not request_csrf_token" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/middleware/csrf.py#L382
  20. compare-to-empty-string:
    "salt != ''" can be simplified to "salt" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/auth/hashers.py#L745
  21. compare-to-empty-string:
    "salt != ''" can be simplified to "salt" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/auth/hashers.py#L800
  22. compare-to-empty-string:
    "username == ''" can be simplified to "not username" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/auth/management/commands/createsuperuser.py#L117
  23. compare-to-empty-string:
    "password.strip() == ''" can be simplified to "not password.strip()" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/auth/management/commands/createsuperuser.py#L178
  24. compare-to-empty-string:
    "raw_value == ''" can be simplified to "not raw_value" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/auth/management/commands/createsuperuser.py#L256
  25. compare-to-empty-string:
    "path == ''" can be simplified to "not path" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/staticfiles/views.py#L35
  26. compare-to-empty-string:
    "r.new_path == ''" can be simplified to "not r.new_path" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/redirects/middleware.py#L45
  27. compare-to-empty-string:
    "geo_value == ''" can be simplified to "not geo_value" as an empty string is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/gis/db/models/proxy.py#L40

The following messages are no longer emitted:

  1. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/utils/termcolors.py#L49
  2. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/utils/numberformat.py#L28
  3. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/apps/registry.py#L265
  4. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/views/i18n.py#L280
  5. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/forms/widgets.py#L260
  6. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/forms/widgets.py#L551
  7. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/forms/widgets.py#L566
  8. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/forms/widgets.py#L744
  9. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/forms/widgets.py#L1161
  10. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/backends/postgresql/base.py#L171
  11. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/base.py#L1314
  12. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/constraints.py#L317
  13. use-implicit-booleaness-not-comparison:
    'inner_query.select == ()' can be simplified to 'not inner_query.select' as an empty sequence is falsey
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/sql/query.py#L513
  14. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/sql/query.py#L1302
  15. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/fields/related_descriptors.py#L680
  16. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/fields/related.py#L1139
  17. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/fields/__init__.py#L1867
  18. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/db/models/fields/__init__.py#L2585
  19. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/middleware/csrf.py#L382
  20. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/auth/hashers.py#L745
  21. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/auth/hashers.py#L800
  22. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/auth/management/commands/createsuperuser.py#L117
  23. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/auth/management/commands/createsuperuser.py#L178
  24. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/auth/management/commands/createsuperuser.py#L256
  25. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/staticfiles/views.py#L35
  26. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/redirects/middleware.py#L45
  27. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/django/django/blob/e0fb2a25b973a5e539d908f7f31112fb10622bd4/django/contrib/gis/db/models/proxy.py#L40

Effect on flask:
The following messages are now emitted:

  1. use-dict-literal:
    Consider using '{"key_derivation": self.key_derivation, "digest_method": self.digest_method, ... }' instead of a call to 'dict'.
    https://github.com/pallets/flask/blob/cc66213e579d6b35d9951c21b685d0078f373c44/src/flask/sessions.py#L350

Effect on pandas:
The following messages are now emitted:

  1. use-implicit-booleaness-not-comparison:
    'kwargs == {}' can be simplified to 'not kwargs' as an empty dict is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/_testing/asserters.py#L1247
  2. use-implicit-booleaness-not-comparison:
    'kwargs == {}' can be simplified to 'not kwargs' as an empty dict is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/_testing/asserters.py#L1250
  3. compare-to-empty-string:
    "top == ''" can be simplified to "not top" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/frame.py#L3817
  4. compare-to-empty-string:
    "x[start:stop] == ''" can be simplified to "not x[start:stop]" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/strings/object_array.py#L306
  5. compare-to-empty-string:
    "sep == ''" can be simplified to "not sep" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/strings/accessor.py#L3255
  6. compare-to-empty-string:
    "group == ''" can be simplified to "not group" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/strings/accessor.py#L3325
  7. compare-to-empty-string:
    "tz != ''" can be simplified to "tz" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/interchange/from_dataframe.py#L297
  8. compare-to-empty-string:
    "msg != ''" can be simplified to "msg" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/window/common.py#L200
  9. use-dict-literal:
    Consider using '{**_shared_docs}' instead of a call to 'dict'.
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/window/doc.py#L8
  10. compare-to-empty-string:
    "re.compile(to_replace).pattern != ''" can be simplified to "re.compile(to_replace).pattern" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/array_algos/replace.py#L41
  11. compare-to-empty-string:
    "e.strip() != ''" can be simplified to "e.strip()" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/computation/eval.py#L302
  12. compare-to-empty-string:
    "'' == empty.str.cat()" can be simplified to "not empty.str.cat()" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/strings/test_strings.py#L107
  13. compare-to-empty-string:
    "captured.err == ''" can be simplified to "not captured.err" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/series/test_repr.py#L158
  14. use-implicit-booleaness-not-comparison:
    's.attrs == {}' can be simplified to 'not s.attrs' as an empty dict is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/series/test_api.py#L165
  15. use-implicit-booleaness-not-comparison:
    'df.attrs == {}' can be simplified to 'not df.attrs' as an empty dict is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/frame/test_api.py#L318
  16. use-implicit-booleaness-not-comparison:
    'x == []' can be simplified to 'not x' as an empty list is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/apply/test_frame_apply.py#L128
  17. compare-to-empty-string:
    "p.get_label() != ''" can be simplified to "p.get_label()" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/test_misc.py#L304
  18. compare-to-empty-string:
    "p.get_label() != ''" can be simplified to "p.get_label()" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/test_misc.py#L309
  19. compare-to-empty-string:
    "p.get_label() != ''" can be simplified to "p.get_label()" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/test_misc.py#L314
  20. compare-to-empty-string:
    "label == ''" can be simplified to "not label" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/test_series.py#L235
  21. compare-to-empty-string:
    "label2 == ''" can be simplified to "not label2" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/test_series.py#L239
  22. compare-to-empty-string:
    "ax.get_xlabel() == ''" can be simplified to "not ax.get_xlabel()" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/test_series.py#L819
  23. compare-to-empty-string:
    "ax.get_ylabel() == ''" can be simplified to "not ax.get_ylabel()" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/test_series.py#L822
  24. compare-to-empty-string:
    "ax.get_legend().get_texts()[0].get_text() == ''" can be simplified to "not ax.get_legend().get_texts()[0].get_text()" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/frame/test_frame.py#L1191
  25. compare-to-empty-string:
    "ax.get_ylabel() == ''" can be simplified to "not ax.get_ylabel()" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/frame/test_frame.py#L2185
  26. compare-to-empty-string:
    "ax.get_ylabel() == ''" can be simplified to "not ax.get_ylabel()" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/frame/test_frame_subplots.py#L507
  27. compare-to-empty-string:
    "captured.err == ''" can be simplified to "not captured.err" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/indexes/datetimes/test_map.py#L29
  28. compare-to-empty-string:
    "value == ''" can be simplified to "not value" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/scalar/test_nat.py#L108
  29. use-implicit-booleaness-not-comparison:
    'reader.value_labels(...) == {}' can be simplified to 'not reader.value_labels(...)' as an empty dict is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/test_stata.py#L604
  30. compare-to-empty-string:
    "result['B'][2] == ''" can be simplified to "not result['B'][2]" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/parser/test_c_parser_only.py#L251
  31. compare-to-empty-string:
    "quote_char == ''" can be simplified to "not quote_char" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/parser/test_quoting.py#L86
  32. compare-to-empty-string:
    "captured.err == ''" can be simplified to "not captured.err" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/parser/common/test_read_errors.py#L145
  33. use-dict-literal:
    Consider using '{"x": 'A', "y": 'B', "c": 'c', "colormap": cmap}' instead of a call to 'dict'.
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/formats/style/test_matplotlib.py#L300
  34. compare-to-empty-string:
    "x != ''" can be simplified to "x" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/excel/test_readers.py#L463
  35. compare-to-empty-string:
    "x != ''" can be simplified to "x" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/excel/test_readers.py#L465
  36. compare-to-empty-string:
    "df2.x == ''" can be simplified to "not df2.x" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/pytables/test_select.py#L761
  37. use-implicit-booleaness-not-comparison:
    'list(...) == []' can be simplified to 'not list(...)' as an empty list is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/pytables/test_store.py#L107
  38. use-implicit-booleaness-not-comparison:
    'dicts == []' can be simplified to 'not dicts' as an empty list is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/xml.py#L376
  39. compare-to-empty-string:
    "column != ''" can be simplified to "column" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/format.py#L711
  40. compare-to-empty-string:
    "p != ''" can be simplified to "p" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/xml.py#L254
  41. compare-to-empty-string:
    "p == ''" can be simplified to "not p" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/xml.py#L257
  42. compare-to-empty-string:
    "d[col] == ''" can be simplified to "not d[col]" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/xml.py#L309
  43. compare-to-empty-string:
    "value == ''" can be simplified to "not value" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/style.py#L1484
  44. compare-to-empty-string:
    "side != ''" can be simplified to "side" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/css.py#L75
  45. compare-to-empty-string:
    "val == ''" can be simplified to "not val" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/css.py#L346
  46. compare-to-empty-string:
    "x != ''" can be simplified to "x" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/excel.py#L689
  47. compare-to-empty-string:
    "x.strip() != ''" can be simplified to "x.strip()" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/style_render.py#L1861
  48. compare-to-empty-string:
    "user_arg != ''" can be simplified to "user_arg" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/style_render.py#L2254
  49. compare-to-empty-string:
    "text == ''" can be simplified to "not text" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/clipboard/__init__.py#L273
  50. compare-to-empty-string:
    "data[-1] == ''" can be simplified to "not data[-1]" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/parsers/base_parser.py#L896
  51. compare-to-empty-string:
    "c == ''" can be simplified to "not c" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/parsers/python_parser.py#L416
  52. compare-to-empty-string:
    "v == ''" can be simplified to "not v" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/parsers/python_parser.py#L1307
  53. compare-to-empty-string:
    "row[i] == ''" can be simplified to "not row[i]" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/excel/_util.py#L265
  54. compare-to-empty-string:
    "header_name == ''" can be simplified to "not header_name" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/excel/_util.py#L303
  55. compare-to-empty-string:
    "converted_row[-1] == ''" can be simplified to "not converted_row[-1]" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/excel/_pyxlsb.py#L94
  56. compare-to-empty-string:
    "x == ''" can be simplified to "not x" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/excel/_base.py#L809
  57. compare-to-empty-string:
    "data[row][col] == ''" can be simplified to "not data[row][col]" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/excel/_base.py#L835
  58. compare-to-empty-string:
    "converted_row[-1] == ''" can be simplified to "not converted_row[-1]" as an empty string is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/excel/_openpyxl.py#L607
  59. use-implicit-booleaness-not-comparison:
    'self._current_page_data_subheader_pointers != []' can be simplified to 'self._current_page_data_subheader_pointers' as an empty list is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/sas/sas7bdat.py#L389

The following messages are no longer emitted:

  1. use-implicit-booleaness-not-comparison:
    'kwargs == {}' can be simplified to 'not kwargs' as an empty sequence is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/_testing/asserters.py#L1247
  2. use-implicit-booleaness-not-comparison:
    'kwargs == {}' can be simplified to 'not kwargs' as an empty sequence is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/_testing/asserters.py#L1250
  3. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/frame.py#L3817
  4. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/strings/object_array.py#L306
  5. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/strings/accessor.py#L3255
  6. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/strings/accessor.py#L3325
  7. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/interchange/from_dataframe.py#L297
  8. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/window/common.py#L200
  9. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/array_algos/replace.py#L41
  10. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/core/computation/eval.py#L302
  11. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/strings/test_strings.py#L107
  12. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/series/test_repr.py#L158
  13. use-implicit-booleaness-not-comparison:
    's.attrs == {}' can be simplified to 'not s.attrs' as an empty sequence is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/series/test_api.py#L165
  14. use-implicit-booleaness-not-comparison:
    'df.attrs == {}' can be simplified to 'not df.attrs' as an empty sequence is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/frame/test_api.py#L318
  15. use-implicit-booleaness-not-comparison:
    'x == []' can be simplified to 'not x' as an empty sequence is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/apply/test_frame_apply.py#L128
  16. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/test_misc.py#L304
  17. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/test_misc.py#L309
  18. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/test_misc.py#L314
  19. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/test_series.py#L235
  20. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/test_series.py#L239
  21. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/test_series.py#L819
  22. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/test_series.py#L822
  23. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/frame/test_frame.py#L1191
  24. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/frame/test_frame.py#L2185
  25. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/plotting/frame/test_frame_subplots.py#L507
  26. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/indexes/datetimes/test_map.py#L29
  27. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/scalar/test_nat.py#L108
  28. use-implicit-booleaness-not-comparison:
    'reader.value_labels(...) == {}' can be simplified to 'not reader.value_labels(...)' as an empty sequence is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/test_stata.py#L604
  29. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/parser/test_c_parser_only.py#L251
  30. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/parser/test_quoting.py#L86
  31. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/parser/common/test_read_errors.py#L145
  32. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/excel/test_readers.py#L463
  33. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/excel/test_readers.py#L465
  34. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/pytables/test_select.py#L761
  35. use-implicit-booleaness-not-comparison:
    'list(...) == []' can be simplified to 'not list(...)' as an empty sequence is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/tests/io/pytables/test_store.py#L107
  36. use-implicit-booleaness-not-comparison:
    'dicts == []' can be simplified to 'not dicts' as an empty sequence is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/xml.py#L376
  37. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/format.py#L711
  38. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/xml.py#L254
  39. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/xml.py#L257
  40. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/xml.py#L309
  41. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/style.py#L1484
  42. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/css.py#L75
  43. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/css.py#L346
  44. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/excel.py#L689
  45. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/style_render.py#L1861
  46. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/formats/style_render.py#L2254
  47. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/clipboard/__init__.py#L273
  48. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/parsers/base_parser.py#L896
  49. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/parsers/python_parser.py#L416
  50. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/parsers/python_parser.py#L1307
  51. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/excel/_util.py#L265
  52. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/excel/_util.py#L303
  53. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/excel/_pyxlsb.py#L94
  54. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/excel/_base.py#L809
  55. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/excel/_base.py#L835
  56. compare-to-empty-string:
    Avoid comparisons to empty string
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/excel/_openpyxl.py#L607
  57. use-implicit-booleaness-not-comparison:
    'self._current_page_data_subheader_pointers != []' can be simplified to 'self._current_page_data_subheader_pointers' as an empty sequence is falsey
    https://github.com/pandas-dev/pandas/blob/25832bc479dd794c588938b5d650126f9d8d9bff/pandas/io/sas/sas7bdat.py#L389

Effect on pytest:
The following messages are now emitted:

  1. use-dict-literal:
    Consider using '{"getfixture": self.fixture_request.getfixturevalue}' instead of a call to 'dict'.
    https://github.com/pytest-dev/pytest/blob/a092b3ab360b1aa56ea35d3303ed33b460144124/src/_pytest/doctest.py#L282
  2. use-dict-literal:
    Consider using '{"DONT_ACCEPT_TRUE_FOR_1": doctest.DONT_ACCEPT_TRUE_FOR_1, "DONT_ACCEPT_BLANKLINE": doctest.DONT_ACCEPT_BLANKLINE, ... }' instead of a call to 'dict'.
    https://github.com/pytest-dev/pytest/blob/a092b3ab360b1aa56ea35d3303ed33b460144124/src/_pytest/doctest.py#L385
  3. use-dict-literal:
    Consider using '{}' instead of a call to 'dict'.
    https://github.com/pytest-dev/pytest/blob/a092b3ab360b1aa56ea35d3303ed33b460144124/src/_pytest/doctest.py#L752
  4. use-dict-literal:
    Consider using '{"metafunc": metafunc}' instead of a call to 'dict'.
    https://github.com/pytest-dev/pytest/blob/a092b3ab360b1aa56ea35d3303ed33b460144124/src/_pytest/python.py#L499
  5. use-dict-literal:
    Consider using '{"warning_message": warning_message, "nodeid": nodeid, "when": when, ... }' instead of a call to 'dict'.
    https://github.com/pytest-dev/pytest/blob/a092b3ab360b1aa56ea35d3303ed33b460144124/src/_pytest/warnings.py#L65
  6. use-dict-literal:
    Consider using '{"plugin": plugin, "manager": self}' instead of a call to 'dict'.
    https://github.com/pytest-dev/pytest/blob/a092b3ab360b1aa56ea35d3303ed33b460144124/src/_pytest/config/__init__.py#L492
  7. use-dict-literal:
    Consider using '{"parser": self._parser, "pluginmanager": self.pluginmanager}' instead of a call to 'dict'.
    https://github.com/pytest-dev/pytest/blob/a092b3ab360b1aa56ea35d3303ed33b460144124/src/_pytest/config/__init__.py#L999
  8. use-dict-literal:
    Consider using '{"config": self}' instead of a call to 'dict'.
    https://github.com/pytest-dev/pytest/blob/a092b3ab360b1aa56ea35d3303ed33b460144124/src/_pytest/config/__init__.py#L1037
  9. use-dict-literal:
    Consider using '{"pluginmanager": self.pluginmanager}' instead of a call to 'dict'.
    https://github.com/pytest-dev/pytest/blob/a092b3ab360b1aa56ea35d3303ed33b460144124/src/_pytest/config/__init__.py#L1344
  10. use-dict-literal:
    Consider using '{"warning_message": records[0], "when": 'config', "nodeid": '', "location": location, ... }' instead of a call to 'dict'.
    https://github.com/pytest-dev/pytest/blob/a092b3ab360b1aa56ea35d3303ed33b460144124/src/_pytest/config/__init__.py#L1400
  11. use-dict-literal:
    Consider using '{"black": 30, "red": 31, "green": 32, "yellow": 33, "blue": 34, "purple": 35, ... }' instead of a call to 'dict'.
    https://github.com/pytest-dev/pytest/blob/a092b3ab360b1aa56ea35d3303ed33b460144124/src/_pytest/_io/terminalwriter.py#L42

The following messages are no longer emitted:

  1. use-dict-literal:
    Consider using {} instead of dict()
    https://github.com/pytest-dev/pytest/blob/a092b3ab360b1aa56ea35d3303ed33b460144124/src/_pytest/doctest.py#L752

Effect on sentry:
The following messages are now emitted:

  1. use-dict-literal:
    Consider using '{"geoip_lookup": rust_geoip, "max_secs_in_future": MAX_SECS_IN_FUTURE, ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/constants.py#L571
  2. compare-to-empty-string:
    "activity.data['version'] == ''" can be simplified to "not activity.data['version']" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/event_manager.py#L1746
  3. use-dict-literal:
    Consider using '{"start": start, "end": end, "groupby": groupby, "conditions": conditions, ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/utils/snuba.py#L1187
  4. compare-to-empty-string:
    "name == ''" can be simplified to "not name" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/utils/snuba.py#L1288
  5. compare-to-empty-string:
    "key != ''" can be simplified to "key" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/utils/meta.py#L157
  6. use-dict-literal:
    Consider using '{"partition_query": ' AND '.join(partition_query) + (' AND ' if partition_query else ''), ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/utils/query.py#L236
  7. use-dict-literal:
    Consider using '{}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/utils/jwt.py#L74
  8. compare-to-empty-string:
    "x != ''" can be simplified to "x" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/utils/committers.py#L40
  9. compare-to-empty-string:
    "self.raw_value == ''" can be simplified to "not self.raw_value" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/event_search.py#L373
  10. compare-to-empty-string:
    "self.raw_value == ''" can be simplified to "not self.raw_value" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/event_search.py#L382
  11. compare-to-empty-string:
    "self.value.raw_value != ''" can be simplified to "self.value.raw_value" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/event_search.py#L400
  12. compare-to-empty-string:
    "self.value.raw_value == ''" can be simplified to "not self.value.raw_value" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/event_search.py#L402
  13. use-dict-literal:
    Consider using '{"organization": organization}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/bases/organizationmember.py#L67
  14. use-dict-literal:
    Consider using '{"suggestions": list(get_suggested_updates(SdkSetupState(latest['sdkName'], latest['sdkVersion'], (), ()), index_state, ignore_patch_version=True)), ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/endpoints/organization_sdk_updates.py#L44
  15. compare-to-empty-string:
    "spanOp == ''" can be simplified to "not spanOp" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/endpoints/organization_events_spans_count_histogram.py#L29
  16. use-dict-literal:
    Consider using '{"include_values_seen": True}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/endpoints/project_tags.py#L19
  17. compare-to-empty-string:
    "stats_period == ''" can be simplified to "not stats_period" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/endpoints/project_group_index.py#L83
  18. use-dict-literal:
    Consider using '{}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/helpers/group_index/update.py#L691
  19. compare-to-empty-string:
    "stats_period == ''" can be simplified to "not stats_period" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/helpers/group_index/index.py#L169
  20. compare-to-empty-string:
    "start_key != ''" can be simplified to "start_key" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/serializers/models/group_stream.py#L435
  21. compare-to-empty-string:
    "end_key != ''" can be simplified to "end_key" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/serializers/models/group_stream.py#L436
  22. use-dict-literal:
    Consider using '{"url": f'/organizations/{org_slug}/integrations/{obj.key}/setup/', ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/serializers/models/integration.py#L170
  23. compare-to-empty-string:
    "data == ''" can be simplified to "not data" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/serializers/rest_framework/doc_integration.py#L21
  24. compare-to-empty-string:
    "data == ''" can be simplified to "not data" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/serializers/rest_framework/sentry_app.py#L51
  25. compare-to-empty-string:
    "data == ''" can be simplified to "not data" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/serializers/rest_framework/list.py#L6
  26. compare-to-empty-string:
    "data == ''" can be simplified to "not data" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/fields/empty_decimal.py#L13
  27. compare-to-empty-string:
    "data == ''" can be simplified to "not data" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/fields/empty_decimal.py#L18
  28. compare-to-empty-string:
    "data == ''" can be simplified to "not data" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/fields/empty_integer.py#L13
  29. compare-to-empty-string:
    "data == ''" can be simplified to "not data" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/api/fields/empty_integer.py#L18
  30. compare-to-empty-string:
    "value == ''" can be simplified to "not value" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/plugins/bases/issue2.py#L195
  31. compare-to-empty-string:
    "v == ''" can be simplified to "not v" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/release_health/metrics.py#L116
  32. use-dict-literal:
    Consider using '{"constructor": NormalizedUserIpEvent}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/region_to_control/messages.py#L62
  33. use-dict-literal:
    Consider using '{"constructor": NormalizedAuditLogEvent}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/region_to_control/messages.py#L66
  34. use-dict-literal:
    Consider using '{"user_id": user_ip_event.user_id, "ip_address": user_ip_event.ip_address, ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/region_to_control/consumer.py#L109
  35. use-implicit-booleaness-not-comparison:
    'list(...) == []' can be simplified to 'not list(...)' as an empty list is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/replays/testutils.py#L58
  36. use-dict-literal:
    Consider using '{"key": redis_key, "limit": limit, "request_uid": request_uid}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/ratelimits/concurrent.py#L53
  37. use-dict-literal:
    Consider using '{"key": key, "request_uid": request_uid}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/ratelimits/concurrent.py#L79
  38. compare-to-empty-string:
    "content == ''" can be simplified to "not content" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/web/frontend/error_page_embed.py#L102
  39. compare-to-empty-string:
    "index == ''" can be simplified to "not index" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/interfaces/stacktrace.py#L494
  40. use-dict-literal:
    Consider using '{"value": original_data}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/db/mixin.py#L54
  41. compare-to-empty-string:
    "value == ''" can be simplified to "not value" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/db/models/fields/jsonfield.py#L91
  42. use-dict-literal:
    Consider using '{"by": dict(((key, reverse_resolve_tag_value(self._use_case_id, self._organization_id, value, weak=True)) if groupby_alias_to_groupby_column.get(key) not in NON_RESOLVABLE_TAG_VALUES else (key, value) for (key, value) in tags)), ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/snuba/metrics/query_builder.py#L906
  43. compare-to-empty-string:
    "query.orderby == ''" can be simplified to "not query.orderby" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/migrations/0289_dashboardwidgetquery_convert_orderby_to_field.py#L93
  44. use-dict-literal:
    Consider using '{}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/profiles/task.py#L167
  45. compare-to-empty-string:
    "frames[stack[len(stack) - 2]].get('function', '') == ''" can be simplified to "not frames[stack[len(stack) - 2]].get('function', '')" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/profiles/task.py#L284
  46. compare-to-empty-string:
    "debug_file_id == ''" can be simplified to "not debug_file_id" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/profiles/task.py#L352
  47. compare-to-empty-string:
    "prop != ''" can be simplified to "prop" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/identity/oauth2.py#L55
  48. compare-to-empty-string:
    "response.text == ''" can be simplified to "not response.text" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/shared_integrations/response/base.py#L82
  49. use-dict-literal:
    Consider using '{"data": data}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/models/processingissue.py#L89
  50. use-dict-literal:
    Consider using '{"group": group, "project_id": group.project_id, "linked_type": GroupLink.LinkedType.issue, ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/models/grouplink.py#L27
  51. compare-to-empty-string:
    "self.password == ''" can be simplified to "not self.password" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/models/user.py#L226
  52. use-dict-literal:
    Consider using '{"organization_id": self._release.organization_id, "release_id": self._release.id, ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/models/releasefile.py#L359
  53. use-dict-literal:
    Consider using '{"integration": integration, "organization__organizationintegration__integration": integration, ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/models/integrations/external_issue.py#L27
  54. use-dict-literal:
    Consider using '{"method": str(request.method), "view": view, "response": status_code, ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/middleware/access_log.py#L83
  55. use-dict-literal:
    Consider using '{"host": '%s:%d' % (host, port), "userid": dsn.username, "password": dsn.password, ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/monitoring/queues.py#L37
  56. use-dict-literal:
    Consider using '{}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/tagstore/snuba/backend.py#L599
  57. use-dict-literal:
    Consider using '{"user_id__isnull": False, "user__is_active": True}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/tasks/reports.py#L779
  58. use-dict-literal:
    Consider using '{}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/sentry_metrics/configuration.py#L51
  59. use-dict-literal:
    Consider using '{}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/integrations/utils/sync.py#L25
  60. compare-to-empty-string:
    "frame_filename.dir_path != ''" can be simplified to "frame_filename.dir_path" as an empty string is falsey
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/integrations/utils/code_mapping.py#L132
  61. use-dict-literal:
    Consider using '{"member_set__user": user, "organizationintegration__integration": integration, ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/integrations/utils/identities.py#L28
  62. use-dict-literal:
    Consider using '{"id": organization_id}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/integrations/utils/identities.py#L34
  63. use-dict-literal:
    Consider using '{"oauth_scopes": sorted(GitlabIdentityProvider.oauth_scopes), "redirect_url": absolute_uri('/extensions/gitlab/setup/'), ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/integrations/gitlab/integration.py#L335
  64. use-dict-literal:
    Consider using '{"oauth_scopes": (), "redirect_url": absolute_uri('/extensions/github-enterprise/setup/'), ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/integrations/github_enterprise/integration.py#L271
  65. use-dict-literal:
    Consider using '{"user": user, "key": 'issue:defaults', "project": project}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/integrations/mixins/issues.py#L168
  66. use-dict-literal:
    Consider using '{"user": user, "key": 'issue:defaults', "project": project}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/integrations/mixins/issues.py#L178
  67. use-dict-literal:
    *Consider using '{"jwt": encoded_jwt, *url_params or {}}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/integrations/jira/client.py#L71
  68. use-dict-literal:
    Consider using '{"method": method, "path": path, "data": data, "params": params}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/integrations/jira/client.py#L73
  69. use-dict-literal:
    Consider using '{"method": method, "path": path, "data": data, "params": params}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/integrations/jira_server/client.py#L73
  70. use-dict-literal:
    Consider using '{"external_name": channel_name, "external_id": channel_id}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/integrations/slack/views/link_team.py#L132
  71. use-dict-literal:
    *Consider using '{"query": query, *args}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/integrations/slack/unfurl/discover.py#L288
  72. use-dict-literal:
    Consider using '{}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/features/manager.py#L100
  73. use-dict-literal:
    Consider using '{"category": get_path(frame_data, 'data', 'category'), "family": get_behavior_family_for_platform(frame_data.get('platform') or platform), ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/grouping/enhancer/matchers.py#L63
  74. use-dict-literal:
    Consider using '{"ignore_unknown_options": True}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/runner/__init__.py#L91
  75. use-dict-literal:
    Consider using '{"ignore_unknown_options": True, "allow_extra_args": True}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/runner/commands/exec.py#L19
  76. use-dict-literal:
    Consider using '{"email": email, "username": email, "is_superuser": superuser, "is_staff": staff, ... }' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/runner/commands/createuser.py#L109
  77. use-dict-literal:
    Consider using '{"ignore_unknown_options": True, "allow_extra_args": True}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7fb05277e22bb2c9/src/sentry/runner/commands/execfile.py#L8
  78. use-dict-literal:
    Consider using '{"ignore_unknown_options": True}' instead of a call to 'dict'.
    https://github.com/getsentry/sentry/blob/8f53000b026f763fb849c40c7f...

This comment was truncated because GitHub allows only 65536 characters in a comment.

This comment was generated for commit 9782639

@Pierre-Sassoulas Pierre-Sassoulas requested review from nickdrozd and removed request for nickdrozd November 17, 2022 08:23
@Pierre-Sassoulas
Copy link
Member Author

Closing in favor of a branch I can modify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Emacs πŸ’Ύ Maintenance Discussion or action around maintaining pylint or the dev workflow Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Please consider maintaining the Emacs-Lisp files in a separate repository
2 participants