pylint
pylint copied to clipboard
Refactor check()
- [x] Add yourself to CONTRIBUTORS if you are a new contributor.
- [x] Write a good description on what the PR does.
Type of Changes
Type | |
---|---|
✓ | :hammer: Refactoring |
Description
Refs https://github.com/PyCQA/pylint/issues/7263.
Blocked by #7286.
Pull Request Test Coverage Report for Build 2875868156
- 47 of 47 (100.0%) changed or added relevant lines in 1 file are covered.
- 1 unchanged line in 1 file lost coverage.
- Overall coverage increased (+0.007%) to 95.252%
Files with Coverage Reduction | New Missed Lines | % |
---|---|---|
pylint/lint/pylinter.py | 1 | 95.25% |
<!-- | Total: | 1 |
Totals | |
---|---|
Change from base Build 2872236273: | 0.007% |
Covered Lines: | 16872 |
Relevant Lines: | 17713 |
💛 - Coveralls
🤖 Effect of this PR on checked open source code: 🤖
Effect on django: The following messages are no longer emitted:
- no-member: Instance of 'str' has no 'get' member https://github.com/django/django/blob/main/django/urls/resolvers.py#L642
Effect on pandas: The following messages are now emitted:
- no-member: Instance of 'int' has no 'encoding' member https://github.com/pandas-dev/pandas/blob/main/pandas/_config/localization.py#L162
- invalid-name: Attribute name "a" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/config/test_config.py#L434
- invalid-name: Attribute name "b" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/config/test_config.py#L442
- invalid-name: Attribute name "c" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/config/test_config.py#L447
- too-many-instance-attributes: Too many instance attributes (13/11) https://github.com/pandas-dev/pandas/blob/main/pandas/io/parsers/readers.py#L1380
- too-many-instance-attributes: Too many instance attributes (12/11) https://github.com/pandas-dev/pandas/blob/main/pandas/io/formats/style.py#L118
- invalid-name: Attribute name "y" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/reshape/test_pivot.py#L1770
- invalid-name: Attribute name "z" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/reshape/test_pivot.py#L1771
- invalid-name: Attribute name "Date" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/groupby/test_apply.py#L600
- invalid-name: Attribute name "oTime" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/groupby/test_apply.py#L636
- invalid-name: Attribute name "dt" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/groupby/test_timegrouper.py#L784
- invalid-name: Attribute name "x" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/groupby/aggregate/test_aggregate.py#L573
- invalid-name: Attribute name "A" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/conftest.py#L142
- invalid-name: Attribute name "B" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/conftest.py#L143
- invalid-name: Attribute name "C" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/conftest.py#L144
- invalid-name: Attribute name "D" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/conftest.py#L145
- invalid-name: Attribute name "h" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/indexing/test_setitem.py#L536
- too-many-instance-attributes: Too many instance attributes (31/11) https://github.com/pandas-dev/pandas/blob/main/pandas/core/frame.py#L468
- redefined-variable-type: Redefinition of join_index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/reshape/merge.py#L1003
- redefined-variable-type: Redefinition of new_index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L1315
- invalid-name: Attribute name "tz" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_constructors.py#L730
- redefined-variable-type: Redefinition of index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/api.py#L165
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L142
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L212
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.period.PeriodIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/period/test_indexing.py#L615
- redefined-variable-type: Redefinition of columns type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/methods/test_reset_index.py#L371
The following messages are no longer emitted:
- attribute-defined-outside-init: Attribute 'name' defined outside init https://github.com/pandas-dev/pandas/blob/main/pandas/core/frame.py#L9772
- redefined-variable-type: Redefinition of join_index type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/core/reshape/merge.py#L1003
- redefined-variable-type: Redefinition of new_index type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L1315
- using-constant-test: Using a conditional statement with a constant value https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L3010
- using-constant-test: Using a conditional statement with a constant value https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L3063
- using-constant-test: Using a conditional statement with a constant value https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L3124
- using-constant-test: Using a conditional statement with a constant value https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L3392
- using-constant-test: Using a conditional statement with a constant value https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L4426
- using-constant-test: Using a conditional statement with a constant value https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L6061
- using-constant-test: Using a conditional statement with a constant value https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L6074
- redefined-variable-type: Redefinition of index type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.datetimelike.DatetimeTimedeltaMixin https://github.com/pandas-dev/pandas/blob/main/pandas/tests/window/test_rolling.py#L715
- redefined-variable-type: Redefinition of idx type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.datetimelike.DatetimeTimedeltaMixin https://github.com/pandas-dev/pandas/blob/main/pandas/tests/arithmetic/test_datetime64.py#L2302
- redefined-variable-type: Redefinition of idx type from pandas.core.indexes.interval.IntervalIndex to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/dtypes/test_inference.py#L1664
- no-member: Instance of 'DatetimeTimedeltaMixin' has no 'tz_convert' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/io/pytables/test_timezones.py#L229
- no-member: Instance of 'DatetimeTimedeltaMixin' has no 'tz_convert' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/io/pytables/test_timezones.py#L230
- redefined-variable-type: Redefinition of result type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.interval.IntervalIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/categorical/test_astype.py#L41
- no-member: Instance of 'DatetimeTimedeltaMixin' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_constructors.py#L180
- no-member: Instance of 'DatetimeTimedeltaMixin' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_constructors.py#L181
- no-member: Instance of 'DatetimeTimedeltaMixin' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_constructors.py#L187
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L142
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L212
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.period.PeriodIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/period/test_indexing.py#L615
- redefined-variable-type: Redefinition of columns type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/methods/test_reset_index.py#L371
Effect on sentry: The following messages are now emitted:
- too-many-instance-attributes: Too many instance attributes (12/11) https://github.com/getsentry/sentry/blob/master/src/sentry/eventstore/models.py#L34
- redefined-variable-type: Redefinition of orgs type from list to dict https://github.com/getsentry/sentry/blob/master/src/sentry/api/endpoints/relay/project_configs.py#L241
- not-callable: self.get_provider is not callable https://github.com/getsentry/sentry/blob/master/src/sentry/models/repository.py#L59
- too-many-instance-attributes: Too many instance attributes (23/11) https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/param.py#L7
- unneeded-not: Consider changing "not settings.SENTRY_EVENTSTREAM == 'sentry.eventstream.kafka.KafkaEventStream'" to "settings.SENTRY_EVENTSTREAM != 'sentry.eventstream.kafka.KafkaEventStream'" https://github.com/getsentry/sentry/blob/master/src/sentry/runner/commands/devserver.py#L264
- unneeded-not: Consider changing "not settings.SENTRY_EVENTSTREAM == 'sentry.eventstream.kafka.KafkaEventStream'" to "settings.SENTRY_EVENTSTREAM != 'sentry.eventstream.kafka.KafkaEventStream'" https://github.com/getsentry/sentry/blob/master/src/sentry/runner/commands/devserver.py#L273
The following messages are no longer emitted:
- no-member: Instance of 'GzippedDictField' has no 'get' member https://github.com/getsentry/sentry/blob/master/src/sentry/models/group.py#L564
- unsubscriptable-object: Value 'self.data' is unsubscriptable https://github.com/getsentry/sentry/blob/master/src/sentry/models/group.py#L572
- too-many-instance-attributes: Too many instance attributes (20/11) https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/param.py#L7
- import-error: Unable to import 'sentry.utils.distutils.commands.build_assets' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L3
- import-error: Unable to import 'sentry.utils.distutils.commands.build_integration_docs' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L4
- import-error: Unable to import 'sentry.utils.distutils.commands.build_js_sdk_registry' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L5
- import-error: Unable to import 'sentry.utils.distutils.commands.base' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L12
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L38
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L42
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L42
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L45
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L93
- attribute-defined-outside-init: Attribute 'asset_json_path' defined outside init https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L39
- import-error: Unable to import 'sentry.utils.distutils.commands.base' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L13
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L42
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L42
- too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L39
This comment was generated for commit de60d26570c5c7ef9e8a487446c76914f89b5fdb
🤖 Effect of this PR on checked open source code: 🤖
Effect on django: The following messages are no longer emitted:
- no-member: Instance of 'str' has no 'get' member https://github.com/django/django/blob/main/django/urls/resolvers.py#L642
Effect on pandas: The following messages are now emitted:
- no-member: Instance of 'int' has no 'encoding' member https://github.com/pandas-dev/pandas/blob/main/pandas/_config/localization.py#L162
- invalid-name: Attribute name "a" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/config/test_config.py#L434
- invalid-name: Attribute name "b" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/config/test_config.py#L442
- invalid-name: Attribute name "c" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/config/test_config.py#L447
- too-many-instance-attributes: Too many instance attributes (13/11) https://github.com/pandas-dev/pandas/blob/main/pandas/io/parsers/readers.py#L1381
- too-many-instance-attributes: Too many instance attributes (12/11) https://github.com/pandas-dev/pandas/blob/main/pandas/io/formats/style.py#L119
- invalid-name: Attribute name "y" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/reshape/test_pivot.py#L1770
- invalid-name: Attribute name "z" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/reshape/test_pivot.py#L1771
- invalid-name: Attribute name "Date" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/groupby/test_apply.py#L600
- invalid-name: Attribute name "oTime" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/groupby/test_apply.py#L636
- invalid-name: Attribute name "dt" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/groupby/test_timegrouper.py#L784
- invalid-name: Attribute name "x" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/groupby/aggregate/test_aggregate.py#L573
- invalid-name: Attribute name "A" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/conftest.py#L142
- invalid-name: Attribute name "B" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/conftest.py#L143
- invalid-name: Attribute name "C" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/conftest.py#L144
- invalid-name: Attribute name "D" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/conftest.py#L145
- invalid-name: Attribute name "h" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/indexing/test_setitem.py#L536
- too-many-instance-attributes: Too many instance attributes (31/11) https://github.com/pandas-dev/pandas/blob/main/pandas/core/frame.py#L469
- redefined-variable-type: Redefinition of join_index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/reshape/merge.py#L1008
- redefined-variable-type: Redefinition of new_index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L1316
- invalid-name: Attribute name "tz" doesn't conform to '[a-z_][a-z0-9_]{2,}$' pattern https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_constructors.py#L730
- redefined-variable-type: Redefinition of index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/api.py#L165
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L142
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L212
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.period.PeriodIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/period/test_indexing.py#L615
- redefined-variable-type: Redefinition of columns type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/methods/test_reset_index.py#L371
The following messages are no longer emitted:
- attribute-defined-outside-init: Attribute 'name' defined outside init https://github.com/pandas-dev/pandas/blob/main/pandas/core/frame.py#L9790
- redefined-variable-type: Redefinition of join_index type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/core/reshape/merge.py#L1008
- redefined-variable-type: Redefinition of new_index type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L1316
- using-constant-test: Using a conditional statement with a constant value https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L3011
- using-constant-test: Using a conditional statement with a constant value https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L3064
- using-constant-test: Using a conditional statement with a constant value https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L3125
- using-constant-test: Using a conditional statement with a constant value https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L3393
- using-constant-test: Using a conditional statement with a constant value https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L4427
- using-constant-test: Using a conditional statement with a constant value https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L6062
- using-constant-test: Using a conditional statement with a constant value https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L6075
- redefined-variable-type: Redefinition of index type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.datetimelike.DatetimeTimedeltaMixin https://github.com/pandas-dev/pandas/blob/main/pandas/tests/window/test_rolling.py#L715
- redefined-variable-type: Redefinition of idx type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.datetimelike.DatetimeTimedeltaMixin https://github.com/pandas-dev/pandas/blob/main/pandas/tests/arithmetic/test_datetime64.py#L2302
- redefined-variable-type: Redefinition of idx type from pandas.core.indexes.interval.IntervalIndex to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/dtypes/test_inference.py#L1664
- no-member: Instance of 'DatetimeTimedeltaMixin' has no 'tz_convert' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/io/pytables/test_timezones.py#L229
- no-member: Instance of 'DatetimeTimedeltaMixin' has no 'tz_convert' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/io/pytables/test_timezones.py#L230
- redefined-variable-type: Redefinition of result type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.interval.IntervalIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/categorical/test_astype.py#L41
- no-member: Instance of 'DatetimeTimedeltaMixin' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_constructors.py#L180
- no-member: Instance of 'DatetimeTimedeltaMixin' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_constructors.py#L181
- no-member: Instance of 'DatetimeTimedeltaMixin' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_constructors.py#L187
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L142
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L212
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.period.PeriodIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/period/test_indexing.py#L615
- redefined-variable-type: Redefinition of columns type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/methods/test_reset_index.py#L371
Effect on sentry: The following messages are now emitted:
- too-many-instance-attributes: Too many instance attributes (12/11) https://github.com/getsentry/sentry/blob/master/src/sentry/eventstore/models.py#L34
- redefined-variable-type: Redefinition of orgs type from list to dict https://github.com/getsentry/sentry/blob/master/src/sentry/api/endpoints/relay/project_configs.py#L241
- not-callable: self.get_provider is not callable https://github.com/getsentry/sentry/blob/master/src/sentry/models/repository.py#L59
- too-many-instance-attributes: Too many instance attributes (23/11) https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/param.py#L7
- unneeded-not: Consider changing "not settings.SENTRY_EVENTSTREAM == 'sentry.eventstream.kafka.KafkaEventStream'" to "settings.SENTRY_EVENTSTREAM != 'sentry.eventstream.kafka.KafkaEventStream'" https://github.com/getsentry/sentry/blob/master/src/sentry/runner/commands/devserver.py#L264
- unneeded-not: Consider changing "not settings.SENTRY_EVENTSTREAM == 'sentry.eventstream.kafka.KafkaEventStream'" to "settings.SENTRY_EVENTSTREAM != 'sentry.eventstream.kafka.KafkaEventStream'" https://github.com/getsentry/sentry/blob/master/src/sentry/runner/commands/devserver.py#L273
The following messages are no longer emitted:
- no-member: Instance of 'GzippedDictField' has no 'get' member https://github.com/getsentry/sentry/blob/master/src/sentry/models/group.py#L564
- unsubscriptable-object: Value 'self.data' is unsubscriptable https://github.com/getsentry/sentry/blob/master/src/sentry/models/group.py#L572
- too-many-instance-attributes: Too many instance attributes (20/11) https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/param.py#L7
- import-error: Unable to import 'sentry.utils.distutils.commands.build_assets' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L3
- import-error: Unable to import 'sentry.utils.distutils.commands.build_integration_docs' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L4
- import-error: Unable to import 'sentry.utils.distutils.commands.build_js_sdk_registry' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L5
- import-error: Unable to import 'sentry.utils.distutils.commands.base' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L12
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L38
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L42
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L42
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L45
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L93
- attribute-defined-outside-init: Attribute 'asset_json_path' defined outside init https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L39
- import-error: Unable to import 'sentry.utils.distutils.commands.base' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L13
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L42
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L42
- too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L39
This comment was generated for commit e79324d208c9ac2bf9dac750f23a8ff2fca015ee
🤖 Effect of this PR on checked open source code: 🤖
Effect on pandas: The following messages are now emitted:
- redefined-variable-type: Redefinition of join_index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/reshape/merge.py#L1008
- redefined-variable-type: Redefinition of new_index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L1316
- redefined-variable-type: Redefinition of indexer type from .ndarray to slice https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/multi.py#L3155
- redefined-variable-type: Redefinition of index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/api.py#L165
- no-member: Instance of 'int' has no 'encoding' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/config/test_localization.py#L140
- redefined-variable-type: Redefinition of result type from pandas.core.indexes.numeric.Int64Index to pandas.core.indexes.multi.MultiIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/multi/test_reshape.py#L126
- redefined-variable-type: Redefinition of dti type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.numeric.Int64Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_misc.py#L248
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L142
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L212
- no-member: Instance of 'DatetimeIndexOpsMixin' has no 'tz' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/methods/test_shift.py#L101
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.period.PeriodIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/period/test_indexing.py#L615
- redefined-variable-type: Redefinition of columns type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/methods/test_reset_index.py#L371
The following messages are no longer emitted:
- not-an-iterable: Non-iterable value index.values is used in an iterating context https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexing/multiindex/test_sorted.py#L120
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.period.PeriodIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/period/test_indexing.py#L615
- redefined-variable-type: Redefinition of result type from pandas.core.indexes.base.Index to pandas.core.indexes.multi.MultiIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/multi/test_reshape.py#L126
- redefined-variable-type: Redefinition of result type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.interval.IntervalIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/categorical/test_astype.py#L41
- no-member: Instance of 'Index' has no 'day_name' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_misc.py#L249
- no-member: Instance of 'Index' has no 'month_name' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_misc.py#L274
- redefined-variable-type: Redefinition of dti type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_misc.py#L248
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L142
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L212
- redefined-variable-type: Redefinition of idx1 type from pandas.core.indexes.period.PeriodIndex to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/methods/test_set_index.py#L516
- redefined-variable-type: Redefinition of columns type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/methods/test_reset_index.py#L371
- redefined-variable-type: Redefinition of idx type from pandas.core.indexes.interval.IntervalIndex to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/dtypes/test_inference.py#L1664
- redefined-variable-type: Redefinition of key type from list to pandas.core.arrays.period.PeriodArray https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexing.py#L1391
- unsupported-assignment-operation: 'mangled_aggspec' does not support item assignment https://github.com/pandas-dev/pandas/blob/main/pandas/core/apply.py#L1540
- redefined-variable-type: Redefinition of mangled_aggspec type from str to list https://github.com/pandas-dev/pandas/blob/main/pandas/core/apply.py#L1542
- redefined-variable-type: Redefinition of indexer type from pandas.core.indexes.numeric.Int64Index to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/core/algorithms.py#L1382
- redefined-variable-type: Redefinition of join_index type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/core/reshape/merge.py#L1008
- redefined-variable-type: Redefinition of new_index type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L1316
Effect on sentry: The following messages are now emitted:
- too-many-instance-attributes: Too many instance attributes (12/11) https://github.com/getsentry/sentry/blob/master/src/sentry/eventstore/models.py#L34
- too-many-instance-attributes: Too many instance attributes (23/11) https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/param.py#L7
- unneeded-not: Consider changing "not settings.SENTRY_EVENTSTREAM == 'sentry.eventstream.kafka.KafkaEventStream'" to "settings.SENTRY_EVENTSTREAM != 'sentry.eventstream.kafka.KafkaEventStream'" https://github.com/getsentry/sentry/blob/master/src/sentry/runner/commands/devserver.py#L264
- unneeded-not: Consider changing "not settings.SENTRY_EVENTSTREAM == 'sentry.eventstream.kafka.KafkaEventStream'" to "settings.SENTRY_EVENTSTREAM != 'sentry.eventstream.kafka.KafkaEventStream'" https://github.com/getsentry/sentry/blob/master/src/sentry/runner/commands/devserver.py#L273
The following messages are no longer emitted:
- import-error: Unable to import 'sentry.utils.distutils.commands.build_assets' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L3
- import-error: Unable to import 'sentry.utils.distutils.commands.build_integration_docs' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L4
- import-error: Unable to import 'sentry.utils.distutils.commands.build_js_sdk_registry' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L5
- import-error: Unable to import 'sentry.utils.distutils.commands.base' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L13
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L42
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L42
- too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L39
- import-error: Unable to import 'sentry.utils.distutils.commands.base' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L12
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L38
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L42
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L42
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L45
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L93
- attribute-defined-outside-init: Attribute 'asset_json_path' defined outside init https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L39
- no-member: Instance of 'Param' has no 'name' member https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/external_requests/issue_link_requester.py#L116
- no-member: Instance of 'Param' has no 'schema' member https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/sentry_app_components/preparer.py#L25
- no-member: Instance of 'Param' has no 'schema' member https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/sentry_app_components/preparer.py#L40
- no-member: Instance of 'Param' has no 'schema' member https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/sentry_app_components/preparer.py#L58
This comment was generated for commit 662c19c2e30e9c5add02e54e7b1b1a561d7c3679
🤖 Effect of this PR on checked open source code: 🤖
Effect on pandas: The following messages are now emitted:
- no-member: Instance of 'int' has no 'encoding' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/config/test_localization.py#L140
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.period.PeriodIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/period/test_indexing.py#L615
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L142
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L212
- redefined-variable-type: Redefinition of columns type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/methods/test_reset_index.py#L371
- redefined-variable-type: Redefinition of join_index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/reshape/merge.py#L1008
- redefined-variable-type: Redefinition of index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/api.py#L165
- redefined-variable-type: Redefinition of new_index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L1316
The following messages are no longer emitted:
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.period.PeriodIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/period/test_indexing.py#L615
- redefined-variable-type: Redefinition of result type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.interval.IntervalIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/categorical/test_astype.py#L41
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L142
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L212
- redefined-variable-type: Redefinition of columns type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/methods/test_reset_index.py#L371
- redefined-variable-type: Redefinition of idx type from pandas.core.indexes.interval.IntervalIndex to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/dtypes/test_inference.py#L1664
- redefined-variable-type: Redefinition of join_index type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/core/reshape/merge.py#L1008
- redefined-variable-type: Redefinition of new_index type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L1316
Effect on sentry: The following messages are now emitted:
- unneeded-not: Consider changing "not settings.SENTRY_EVENTSTREAM == 'sentry.eventstream.kafka.KafkaEventStream'" to "settings.SENTRY_EVENTSTREAM != 'sentry.eventstream.kafka.KafkaEventStream'" https://github.com/getsentry/sentry/blob/master/src/sentry/runner/commands/devserver.py#L264
- unneeded-not: Consider changing "not settings.SENTRY_EVENTSTREAM == 'sentry.eventstream.kafka.KafkaEventStream'" to "settings.SENTRY_EVENTSTREAM != 'sentry.eventstream.kafka.KafkaEventStream'" https://github.com/getsentry/sentry/blob/master/src/sentry/runner/commands/devserver.py#L273
- too-many-instance-attributes: Too many instance attributes (12/11) https://github.com/getsentry/sentry/blob/master/src/sentry/eventstore/models.py#L34
- too-many-instance-attributes: Too many instance attributes (23/11) https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/param.py#L7
The following messages are no longer emitted:
- import-error: Unable to import 'sentry.utils.distutils.commands.build_assets' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L3
- import-error: Unable to import 'sentry.utils.distutils.commands.build_integration_docs' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L4
- import-error: Unable to import 'sentry.utils.distutils.commands.build_js_sdk_registry' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L5
- import-error: Unable to import 'sentry.utils.distutils.commands.base' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L13
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L42
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L42
- too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L39
- import-error: Unable to import 'sentry.utils.distutils.commands.base' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L12
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L38
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L42
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L42
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L45
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L93
- attribute-defined-outside-init: Attribute 'asset_json_path' defined outside init https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L39
- no-member: Instance of 'Param' has no 'name' member https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/external_requests/issue_link_requester.py#L116
- no-member: Instance of 'Param' has no 'schema' member https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/sentry_app_components/preparer.py#L25
- no-member: Instance of 'Param' has no 'schema' member https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/sentry_app_components/preparer.py#L40
- no-member: Instance of 'Param' has no 'schema' member https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/sentry_app_components/preparer.py#L58
This comment was generated for commit 36740d3c74845eafd7b627bc5c30747744196c2d
@Pierre-Sassoulas Gentle ping as this is very prone to creating merge conflicts and I'd like to merge quickyl
🤖 Effect of this PR on checked open source code: 🤖
Effect on pandas: The following messages are now emitted:
- no-member: Instance of 'int' has no 'encoding' member https://github.com/pandas-dev/pandas/blob/main/pandas/tests/config/test_localization.py#L140
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.period.PeriodIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/period/test_indexing.py#L615
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L142
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.datetimes.DatetimeIndex to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L212
- redefined-variable-type: Redefinition of columns type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/methods/test_reset_index.py#L371
- redefined-variable-type: Redefinition of join_index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/reshape/merge.py#L1068
- redefined-variable-type: Redefinition of index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/api.py#L165
- redefined-variable-type: Redefinition of new_index type from pandas.core.indexes.base.Index to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L1316
The following messages are no longer emitted:
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.period.PeriodIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/period/test_indexing.py#L615
- redefined-variable-type: Redefinition of result type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.interval.IntervalIndex https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/categorical/test_astype.py#L41
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L142
- redefined-variable-type: Redefinition of i2 type from pandas.core.indexes.numeric.Float64Index to pandas.core.indexes.base.Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/indexes/datetimes/test_indexing.py#L212
- redefined-variable-type: Redefinition of columns type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/frame/methods/test_reset_index.py#L371
- redefined-variable-type: Redefinition of idx type from pandas.core.indexes.interval.IntervalIndex to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/tests/dtypes/test_inference.py#L1664
- redefined-variable-type: Redefinition of join_index type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/core/reshape/merge.py#L1068
- redefined-variable-type: Redefinition of new_index type from pandas.core.indexes.base.Index to pandas.core.indexes.numeric.Float64Index https://github.com/pandas-dev/pandas/blob/main/pandas/core/indexes/base.py#L1316
Effect on sentry: The following messages are now emitted:
- unneeded-not: Consider changing "not settings.SENTRY_EVENTSTREAM == 'sentry.eventstream.kafka.KafkaEventStream'" to "settings.SENTRY_EVENTSTREAM != 'sentry.eventstream.kafka.KafkaEventStream'" https://github.com/getsentry/sentry/blob/master/src/sentry/runner/commands/devserver.py#L264
- unneeded-not: Consider changing "not settings.SENTRY_EVENTSTREAM == 'sentry.eventstream.kafka.KafkaEventStream'" to "settings.SENTRY_EVENTSTREAM != 'sentry.eventstream.kafka.KafkaEventStream'" https://github.com/getsentry/sentry/blob/master/src/sentry/runner/commands/devserver.py#L273
- too-many-instance-attributes: Too many instance attributes (12/11) https://github.com/getsentry/sentry/blob/master/src/sentry/eventstore/models.py#L34
- too-many-instance-attributes: Too many instance attributes (23/11) https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/param.py#L7
The following messages are no longer emitted:
- import-error: Unable to import 'sentry.utils.distutils.commands.build_assets' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L3
- import-error: Unable to import 'sentry.utils.distutils.commands.build_integration_docs' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L4
- import-error: Unable to import 'sentry.utils.distutils.commands.build_js_sdk_registry' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/init.py#L5
- import-error: Unable to import 'sentry.utils.distutils.commands.base' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L13
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L42
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L42
- too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_js_sdk_registry.py#L39
- import-error: Unable to import 'sentry.utils.distutils.commands.base' https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L12
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L38
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L42
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L42
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L45
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L93
- attribute-defined-outside-init: Attribute 'asset_json_path' defined outside init https://github.com/getsentry/sentry/blob/master/src/sentry/utils/distutils/commands/build_assets.py#L39
- no-member: Instance of 'Param' has no 'name' member https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/external_requests/issue_link_requester.py#L116
- no-member: Instance of 'Param' has no 'schema' member https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/sentry_app_components/preparer.py#L25
- no-member: Instance of 'Param' has no 'schema' member https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/sentry_app_components/preparer.py#L40
- no-member: Instance of 'Param' has no 'schema' member https://github.com/getsentry/sentry/blob/master/src/sentry/mediators/sentry_app_components/preparer.py#L58
This comment was generated for commit 1147c080abb6bd8effa3bbffd5227b96eafcae9c
LGTM ! Sorry for the delay, it was a little hard to review as it seems the code was moved around but the diff is not very helpful. And sometime it's more than moving around (like the fatal/astroid-error change).
No worries, just thought you might have missed this as you had reviewed more recent PRs. Thanks for the review 😄