Skip to content

Use double quotes errors in 'dont mix' and 'has no attributes' #10296

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

Merged
merged 2 commits into from
Apr 12, 2021

Conversation

dixith
Copy link
Contributor

@dixith dixith commented Apr 8, 2021

Description

This pull request fixes issue reported in #7445 for dont mix and has no attributes error messages

Test Plan

Updated test cases for the message. New test cases not added.

@dixith
Copy link
Contributor Author

dixith commented Apr 8, 2021

@JelleZijlstra

# E: eq must be "True" if order is "True"

Please let me know if you feel double quotes are not needed for the above error message

@@ -212,7 +212,7 @@ def _determine_eq_order(ctx: 'mypy.plugin.ClassDefContext') -> bool:
order = _get_decorator_optional_bool_argument(ctx, 'order')

if cmp is not None and any((eq is not None, order is not None)):
ctx.api.fail("Don't mix `cmp` with `eq' and `order`", ctx.reason)
ctx.api.fail('Don\'t mix "%s" with "%s" and "%s"' % (cmp, eq, order), ctx.reason)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change makes the error message worse. We shouldn't be interpolating the values for these arguments here.

Suggested change
ctx.api.fail('Don\'t mix "%s" with "%s" and "%s"' % (cmp, eq, order), ctx.reason)
ctx.api.fail('Don\'t mix "cmp" with "eq" and "order"', ctx.reason)

@@ -226,7 +226,7 @@ def _determine_eq_order(ctx: 'mypy.plugin.ClassDefContext') -> bool:
order = eq

if eq is False and order is True:
ctx.api.fail("eq must be True if order is True", ctx.reason)
ctx.api.fail('eq must be "True" if order is "True"', ctx.reason)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for quotes here, I think just plain True reads more clearly as a Python literal

@dixith dixith force-pushed the double-quotes-errors-1 branch from b10a548 to add21c6 Compare April 8, 2021 08:05
@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2021

Diff from mypy_primer, showing the effect of this PR on open source code:

pip (https://github.com/pypa/pip.git)
- src/pip/_internal/operations/install/wheel.py:42: error: Module 'pip._vendor.six' has no attribute 'ensure_str'
+ src/pip/_internal/operations/install/wheel.py:42: error: Module "pip._vendor.six" has no attribute "ensure_str"
- src/pip/_internal/operations/install/wheel.py:42: error: Module 'pip._vendor.six' has no attribute 'ensure_text'
+ src/pip/_internal/operations/install/wheel.py:42: error: Module "pip._vendor.six" has no attribute "ensure_text"
- src/pip/_internal/operations/install/wheel.py:42: error: Module 'pip._vendor.six' has no attribute 'reraise'
+ src/pip/_internal/operations/install/wheel.py:42: error: Module "pip._vendor.six" has no attribute "reraise"

scipy (https://github.com/scipy/scipy.git)
- scipy/special/spfun_stats.py:36: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/special/spfun_stats.py:36: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/stats/_tukeylambda_stats.py:3: error: Module 'scipy.special' has no attribute 'beta'  [attr-defined]
+ scipy/stats/_tukeylambda_stats.py:3: error: Module "scipy.special" has no attribute "beta"  [attr-defined]
- scipy/special/tests/test_wright_bessel.py:24: error: Module 'scipy.special' has no attribute 'rgamma'; maybe "gamma" or "digamma"?  [attr-defined]
+ scipy/special/tests/test_wright_bessel.py:24: error: Module "scipy.special" has no attribute "rgamma"; maybe "gamma" or "digamma"?  [attr-defined]
- scipy/special/tests/test_wright_bessel.py:24: error: Module 'scipy.special' has no attribute 'wright_bessel'  [attr-defined]
+ scipy/special/tests/test_wright_bessel.py:24: error: Module "scipy.special" has no attribute "wright_bessel"  [attr-defined]
- scipy/special/tests/test_spfun_stats.py:6: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_spfun_stats.py:6: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_logit.py:4: error: Module 'scipy.special' has no attribute 'expit'  [attr-defined]
+ scipy/special/tests/test_logit.py:4: error: Module "scipy.special" has no attribute "expit"  [attr-defined]
- scipy/special/tests/test_logit.py:4: error: Module 'scipy.special' has no attribute 'logit'  [attr-defined]
+ scipy/special/tests/test_logit.py:4: error: Module "scipy.special" has no attribute "logit"  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'boxcox'  [attr-defined]
+ scipy/special/tests/test_boxcox.py:3: error: Module "scipy.special" has no attribute "boxcox"  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'boxcox1p'  [attr-defined]
+ scipy/special/tests/test_boxcox.py:3: error: Module "scipy.special" has no attribute "boxcox1p"  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'inv_boxcox'  [attr-defined]
+ scipy/special/tests/test_boxcox.py:3: error: Module "scipy.special" has no attribute "inv_boxcox"  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'inv_boxcox1p'  [attr-defined]
+ scipy/special/tests/test_boxcox.py:3: error: Module "scipy.special" has no attribute "inv_boxcox1p"  [attr-defined]
- scipy/integrate/_quadrature.py:13: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/integrate/_quadrature.py:13: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_spence.py:4: error: Module 'scipy.special' has no attribute 'spence'  [attr-defined]
+ scipy/special/tests/test_spence.py:4: error: Module "scipy.special" has no attribute "spence"  [attr-defined]
- scipy/special/tests/test_loggamma.py:5: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_loggamma.py:5: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_loggamma.py:5: error: Module 'scipy.special' has no attribute 'loggamma'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_loggamma.py:5: error: Module "scipy.special" has no attribute "loggamma"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'kolmogi'  [attr-defined]
+ scipy/special/tests/test_kolmogorov.py:9: error: Module "scipy.special" has no attribute "kolmogi"  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'kolmogorov'  [attr-defined]
+ scipy/special/tests/test_kolmogorov.py:9: error: Module "scipy.special" has no attribute "kolmogorov"  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'smirnov'  [attr-defined]
+ scipy/special/tests/test_kolmogorov.py:9: error: Module "scipy.special" has no attribute "smirnov"  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'smirnovi'  [attr-defined]
+ scipy/special/tests/test_kolmogorov.py:9: error: Module "scipy.special" has no attribute "smirnovi"  [attr-defined]
- scipy/special/tests/test_basic.py:37: error: Module 'scipy.special' has no attribute 'ellipk'  [attr-defined]
+ scipy/special/tests/test_basic.py:37: error: Module "scipy.special" has no attribute "ellipk"  [attr-defined]
- scipy/stats/_distn_infrastructure.py:20: error: Module 'scipy.special' has no attribute 'chndtr'  [attr-defined]
+ scipy/stats/_distn_infrastructure.py:20: error: Module "scipy.special" has no attribute "chndtr"  [attr-defined]
- scipy/stats/_distn_infrastructure.py:20: error: Module 'scipy.special' has no attribute 'entr'  [attr-defined]
+ scipy/stats/_distn_infrastructure.py:20: error: Module "scipy.special" has no attribute "entr"  [attr-defined]
- scipy/stats/_distn_infrastructure.py:20: error: Module 'scipy.special' has no attribute 'ive'; maybe "iv"?  [attr-defined]
+ scipy/stats/_distn_infrastructure.py:20: error: Module "scipy.special" has no attribute "ive"; maybe "iv"?  [attr-defined]
- scipy/stats/_distn_infrastructure.py:20: error: Module 'scipy.special' has no attribute 'xlogy'  [attr-defined]
+ scipy/stats/_distn_infrastructure.py:20: error: Module "scipy.special" has no attribute "xlogy"  [attr-defined]
- scipy/stats/_hypotests.py:10: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/stats/_hypotests.py:10: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'bdtrik'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "bdtrik"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'beta'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "beta"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'betainc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "betainc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'betaincinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "betaincinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'binom'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "binom"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtr'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "btdtr"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtri'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "btdtri"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtria'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "btdtria"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtrib'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "btdtrib"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'cbrt'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "cbrt"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'chndtr'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "chndtr"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipe'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipe"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipeinc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipeinc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipj'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipj"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipk'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipk"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipkinc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipkinc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipkm1'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipkm1"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erf'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "erf"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erfc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "erfc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erfcinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "erfcinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erfinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "erfinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_genlaguerre'; maybe "genlaguerre"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "eval_genlaguerre"; maybe "genlaguerre"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_hermite'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "eval_hermite"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_laguerre'; maybe "laguerre"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "eval_laguerre"; maybe "laguerre"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_legendre'; maybe "legendre"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "eval_legendre"; maybe "legendre"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'exp1'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "exp1"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'expi'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "expi"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'expm1'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "expm1"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'expn'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "expn"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammainc'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammainc"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammaincc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammaincc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammainccinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammainccinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammaincinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammaincinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtr'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gdtr"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtrc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gdtrc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtrib'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gdtrib"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtrix'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gdtrix"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'jn'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "jn"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'kn'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "kn"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'log1p'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "log1p"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'lpmv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "lpmv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_cem'; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_cem"; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modcem1'; maybe "mathieu_odd_coef"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_modcem1"; maybe "mathieu_odd_coef"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modcem2'; maybe "mathieu_odd_coef"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_modcem2"; maybe "mathieu_odd_coef"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modsem1'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_modsem1"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modsem2'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_modsem2"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_sem'; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_sem"; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'nbdtrik'; maybe "ndtri"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "nbdtrik"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'owens_t'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "owens_t"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'pdtrik'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "pdtrik"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'poch'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "poch"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'sph_harm'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "sph_harm"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'wright_bessel'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "wright_bessel"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'yn'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "yn"  [attr-defined]
- scipy/stats/tests/test_contingency.py:6: error: Module 'scipy.special' has no attribute 'xlogy'  [attr-defined]
+ scipy/stats/tests/test_contingency.py:6: error: Module "scipy.special" has no attribute "xlogy"  [attr-defined]

streamlit (https://github.com/streamlit/streamlit.git)
- lib/streamlit/commands/page_config.py:17:1: error: Module 'streamlit.proto' has no attribute 'PageConfig_pb2'  [attr-defined]
+ lib/streamlit/commands/page_config.py:17:1: error: Module "streamlit.proto" has no attribute "PageConfig_pb2"  [attr-defined]



poetry (https://github.com/python-poetry/poetry.git)
- poetry/repositories/legacy_repository.py:60: error: Module 'urllib' has no attribute 'quote'
+ poetry/repositories/legacy_repository.py:60: error: Module "urllib" has no attribute "quote"

@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2021

Diff from mypy_primer, showing the effect of this PR on open source code:

streamlit (https://github.com/streamlit/streamlit.git)
- lib/streamlit/commands/page_config.py:17:1: error: Module 'streamlit.proto' has no attribute 'PageConfig_pb2'  [attr-defined]
+ lib/streamlit/commands/page_config.py:17:1: error: Module "streamlit.proto" has no attribute "PageConfig_pb2"  [attr-defined]

scipy (https://github.com/scipy/scipy.git)
- scipy/special/spfun_stats.py:36: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/special/spfun_stats.py:36: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/stats/_tukeylambda_stats.py:3: error: Module 'scipy.special' has no attribute 'beta'  [attr-defined]
+ scipy/stats/_tukeylambda_stats.py:3: error: Module "scipy.special" has no attribute "beta"  [attr-defined]
- scipy/special/tests/test_wright_bessel.py:24: error: Module 'scipy.special' has no attribute 'rgamma'; maybe "gamma" or "digamma"?  [attr-defined]
+ scipy/special/tests/test_wright_bessel.py:24: error: Module "scipy.special" has no attribute "rgamma"; maybe "gamma" or "digamma"?  [attr-defined]
- scipy/special/tests/test_wright_bessel.py:24: error: Module 'scipy.special' has no attribute 'wright_bessel'  [attr-defined]
+ scipy/special/tests/test_wright_bessel.py:24: error: Module "scipy.special" has no attribute "wright_bessel"  [attr-defined]
- scipy/special/tests/test_spfun_stats.py:6: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_spfun_stats.py:6: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_logit.py:4: error: Module 'scipy.special' has no attribute 'expit'  [attr-defined]
+ scipy/special/tests/test_logit.py:4: error: Module "scipy.special" has no attribute "expit"  [attr-defined]
- scipy/special/tests/test_logit.py:4: error: Module 'scipy.special' has no attribute 'logit'  [attr-defined]
+ scipy/special/tests/test_logit.py:4: error: Module "scipy.special" has no attribute "logit"  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'boxcox'  [attr-defined]
+ scipy/special/tests/test_boxcox.py:3: error: Module "scipy.special" has no attribute "boxcox"  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'boxcox1p'  [attr-defined]
+ scipy/special/tests/test_boxcox.py:3: error: Module "scipy.special" has no attribute "boxcox1p"  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'inv_boxcox'  [attr-defined]
+ scipy/special/tests/test_boxcox.py:3: error: Module "scipy.special" has no attribute "inv_boxcox"  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'inv_boxcox1p'  [attr-defined]
+ scipy/special/tests/test_boxcox.py:3: error: Module "scipy.special" has no attribute "inv_boxcox1p"  [attr-defined]
- scipy/integrate/_quadrature.py:13: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/integrate/_quadrature.py:13: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_spence.py:4: error: Module 'scipy.special' has no attribute 'spence'  [attr-defined]
+ scipy/special/tests/test_spence.py:4: error: Module "scipy.special" has no attribute "spence"  [attr-defined]
- scipy/special/tests/test_loggamma.py:5: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_loggamma.py:5: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_loggamma.py:5: error: Module 'scipy.special' has no attribute 'loggamma'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_loggamma.py:5: error: Module "scipy.special" has no attribute "loggamma"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'kolmogi'  [attr-defined]
+ scipy/special/tests/test_kolmogorov.py:9: error: Module "scipy.special" has no attribute "kolmogi"  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'kolmogorov'  [attr-defined]
+ scipy/special/tests/test_kolmogorov.py:9: error: Module "scipy.special" has no attribute "kolmogorov"  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'smirnov'  [attr-defined]
+ scipy/special/tests/test_kolmogorov.py:9: error: Module "scipy.special" has no attribute "smirnov"  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'smirnovi'  [attr-defined]
+ scipy/special/tests/test_kolmogorov.py:9: error: Module "scipy.special" has no attribute "smirnovi"  [attr-defined]
- scipy/special/tests/test_basic.py:37: error: Module 'scipy.special' has no attribute 'ellipk'  [attr-defined]
+ scipy/special/tests/test_basic.py:37: error: Module "scipy.special" has no attribute "ellipk"  [attr-defined]
- scipy/stats/_distn_infrastructure.py:20: error: Module 'scipy.special' has no attribute 'chndtr'  [attr-defined]
+ scipy/stats/_distn_infrastructure.py:20: error: Module "scipy.special" has no attribute "chndtr"  [attr-defined]
- scipy/stats/_distn_infrastructure.py:20: error: Module 'scipy.special' has no attribute 'entr'  [attr-defined]
+ scipy/stats/_distn_infrastructure.py:20: error: Module "scipy.special" has no attribute "entr"  [attr-defined]
- scipy/stats/_distn_infrastructure.py:20: error: Module 'scipy.special' has no attribute 'ive'; maybe "iv"?  [attr-defined]
+ scipy/stats/_distn_infrastructure.py:20: error: Module "scipy.special" has no attribute "ive"; maybe "iv"?  [attr-defined]
- scipy/stats/_distn_infrastructure.py:20: error: Module 'scipy.special' has no attribute 'xlogy'  [attr-defined]
+ scipy/stats/_distn_infrastructure.py:20: error: Module "scipy.special" has no attribute "xlogy"  [attr-defined]
- scipy/stats/_hypotests.py:10: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/stats/_hypotests.py:10: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'bdtrik'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "bdtrik"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'beta'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "beta"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'betainc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "betainc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'betaincinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "betaincinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'binom'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "binom"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtr'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "btdtr"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtri'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "btdtri"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtria'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "btdtria"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtrib'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "btdtrib"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'cbrt'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "cbrt"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'chndtr'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "chndtr"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipe'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipe"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipeinc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipeinc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipj'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipj"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipk'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipk"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipkinc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipkinc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipkm1'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipkm1"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erf'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "erf"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erfc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "erfc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erfcinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "erfcinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erfinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "erfinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_genlaguerre'; maybe "genlaguerre"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "eval_genlaguerre"; maybe "genlaguerre"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_hermite'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "eval_hermite"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_laguerre'; maybe "laguerre"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "eval_laguerre"; maybe "laguerre"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_legendre'; maybe "legendre"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "eval_legendre"; maybe "legendre"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'exp1'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "exp1"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'expi'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "expi"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'expm1'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "expm1"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'expn'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "expn"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammainc'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammainc"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammaincc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammaincc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammainccinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammainccinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammaincinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammaincinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtr'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gdtr"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtrc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gdtrc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtrib'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gdtrib"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtrix'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gdtrix"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'jn'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "jn"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'kn'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "kn"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'log1p'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "log1p"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'lpmv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "lpmv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_cem'; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_cem"; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modcem1'; maybe "mathieu_odd_coef"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_modcem1"; maybe "mathieu_odd_coef"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modcem2'; maybe "mathieu_odd_coef"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_modcem2"; maybe "mathieu_odd_coef"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modsem1'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_modsem1"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modsem2'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_modsem2"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_sem'; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_sem"; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'nbdtrik'; maybe "ndtri"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "nbdtrik"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'owens_t'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "owens_t"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'pdtrik'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "pdtrik"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'poch'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "poch"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'sph_harm'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "sph_harm"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'wright_bessel'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "wright_bessel"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'yn'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "yn"  [attr-defined]
- scipy/stats/tests/test_contingency.py:6: error: Module 'scipy.special' has no attribute 'xlogy'  [attr-defined]
+ scipy/stats/tests/test_contingency.py:6: error: Module "scipy.special" has no attribute "xlogy"  [attr-defined]

pip (https://github.com/pypa/pip.git)
- src/pip/_internal/operations/install/wheel.py:42: error: Module 'pip._vendor.six' has no attribute 'ensure_str'
+ src/pip/_internal/operations/install/wheel.py:42: error: Module "pip._vendor.six" has no attribute "ensure_str"
- src/pip/_internal/operations/install/wheel.py:42: error: Module 'pip._vendor.six' has no attribute 'ensure_text'
+ src/pip/_internal/operations/install/wheel.py:42: error: Module "pip._vendor.six" has no attribute "ensure_text"
- src/pip/_internal/operations/install/wheel.py:42: error: Module 'pip._vendor.six' has no attribute 'reraise'
+ src/pip/_internal/operations/install/wheel.py:42: error: Module "pip._vendor.six" has no attribute "reraise"



poetry (https://github.com/python-poetry/poetry.git)
- poetry/repositories/legacy_repository.py:60: error: Module 'urllib' has no attribute 'quote'
+ poetry/repositories/legacy_repository.py:60: error: Module "urllib" has no attribute "quote"

@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2021

Diff from mypy_primer, showing the effect of this PR on open source code:

streamlit (https://github.com/streamlit/streamlit.git)
- lib/streamlit/commands/page_config.py:17:1: error: Module 'streamlit.proto' has no attribute 'PageConfig_pb2'  [attr-defined]
+ lib/streamlit/commands/page_config.py:17:1: error: Module "streamlit.proto" has no attribute "PageConfig_pb2"  [attr-defined]

pip (https://github.com/pypa/pip.git)
- src/pip/_internal/operations/install/wheel.py:42: error: Module 'pip._vendor.six' has no attribute 'ensure_str'
+ src/pip/_internal/operations/install/wheel.py:42: error: Module "pip._vendor.six" has no attribute "ensure_str"
- src/pip/_internal/operations/install/wheel.py:42: error: Module 'pip._vendor.six' has no attribute 'ensure_text'
+ src/pip/_internal/operations/install/wheel.py:42: error: Module "pip._vendor.six" has no attribute "ensure_text"
- src/pip/_internal/operations/install/wheel.py:42: error: Module 'pip._vendor.six' has no attribute 'reraise'
+ src/pip/_internal/operations/install/wheel.py:42: error: Module "pip._vendor.six" has no attribute "reraise"

scipy (https://github.com/scipy/scipy.git)
- scipy/special/spfun_stats.py:36: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/special/spfun_stats.py:36: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/stats/_tukeylambda_stats.py:3: error: Module 'scipy.special' has no attribute 'beta'  [attr-defined]
+ scipy/stats/_tukeylambda_stats.py:3: error: Module "scipy.special" has no attribute "beta"  [attr-defined]
- scipy/special/tests/test_wright_bessel.py:24: error: Module 'scipy.special' has no attribute 'rgamma'; maybe "gamma" or "digamma"?  [attr-defined]
+ scipy/special/tests/test_wright_bessel.py:24: error: Module "scipy.special" has no attribute "rgamma"; maybe "gamma" or "digamma"?  [attr-defined]
- scipy/special/tests/test_wright_bessel.py:24: error: Module 'scipy.special' has no attribute 'wright_bessel'  [attr-defined]
+ scipy/special/tests/test_wright_bessel.py:24: error: Module "scipy.special" has no attribute "wright_bessel"  [attr-defined]
- scipy/special/tests/test_spfun_stats.py:6: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_spfun_stats.py:6: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_logit.py:4: error: Module 'scipy.special' has no attribute 'expit'  [attr-defined]
+ scipy/special/tests/test_logit.py:4: error: Module "scipy.special" has no attribute "expit"  [attr-defined]
- scipy/special/tests/test_logit.py:4: error: Module 'scipy.special' has no attribute 'logit'  [attr-defined]
+ scipy/special/tests/test_logit.py:4: error: Module "scipy.special" has no attribute "logit"  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'boxcox'  [attr-defined]
+ scipy/special/tests/test_boxcox.py:3: error: Module "scipy.special" has no attribute "boxcox"  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'boxcox1p'  [attr-defined]
+ scipy/special/tests/test_boxcox.py:3: error: Module "scipy.special" has no attribute "boxcox1p"  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'inv_boxcox'  [attr-defined]
+ scipy/special/tests/test_boxcox.py:3: error: Module "scipy.special" has no attribute "inv_boxcox"  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'inv_boxcox1p'  [attr-defined]
+ scipy/special/tests/test_boxcox.py:3: error: Module "scipy.special" has no attribute "inv_boxcox1p"  [attr-defined]
- scipy/integrate/_quadrature.py:13: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/integrate/_quadrature.py:13: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_spence.py:4: error: Module 'scipy.special' has no attribute 'spence'  [attr-defined]
+ scipy/special/tests/test_spence.py:4: error: Module "scipy.special" has no attribute "spence"  [attr-defined]
- scipy/special/tests/test_loggamma.py:5: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_loggamma.py:5: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_loggamma.py:5: error: Module 'scipy.special' has no attribute 'loggamma'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_loggamma.py:5: error: Module "scipy.special" has no attribute "loggamma"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'kolmogi'  [attr-defined]
+ scipy/special/tests/test_kolmogorov.py:9: error: Module "scipy.special" has no attribute "kolmogi"  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'kolmogorov'  [attr-defined]
+ scipy/special/tests/test_kolmogorov.py:9: error: Module "scipy.special" has no attribute "kolmogorov"  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'smirnov'  [attr-defined]
+ scipy/special/tests/test_kolmogorov.py:9: error: Module "scipy.special" has no attribute "smirnov"  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'smirnovi'  [attr-defined]
+ scipy/special/tests/test_kolmogorov.py:9: error: Module "scipy.special" has no attribute "smirnovi"  [attr-defined]
- scipy/special/tests/test_basic.py:37: error: Module 'scipy.special' has no attribute 'ellipk'  [attr-defined]
+ scipy/special/tests/test_basic.py:37: error: Module "scipy.special" has no attribute "ellipk"  [attr-defined]
- scipy/stats/_distn_infrastructure.py:20: error: Module 'scipy.special' has no attribute 'chndtr'  [attr-defined]
+ scipy/stats/_distn_infrastructure.py:20: error: Module "scipy.special" has no attribute "chndtr"  [attr-defined]
- scipy/stats/_distn_infrastructure.py:20: error: Module 'scipy.special' has no attribute 'entr'  [attr-defined]
+ scipy/stats/_distn_infrastructure.py:20: error: Module "scipy.special" has no attribute "entr"  [attr-defined]
- scipy/stats/_distn_infrastructure.py:20: error: Module 'scipy.special' has no attribute 'ive'; maybe "iv"?  [attr-defined]
+ scipy/stats/_distn_infrastructure.py:20: error: Module "scipy.special" has no attribute "ive"; maybe "iv"?  [attr-defined]
- scipy/stats/_distn_infrastructure.py:20: error: Module 'scipy.special' has no attribute 'xlogy'  [attr-defined]
+ scipy/stats/_distn_infrastructure.py:20: error: Module "scipy.special" has no attribute "xlogy"  [attr-defined]
- scipy/stats/_hypotests.py:10: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/stats/_hypotests.py:10: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'bdtrik'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "bdtrik"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'beta'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "beta"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'betainc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "betainc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'betaincinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "betaincinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'binom'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "binom"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtr'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "btdtr"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtri'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "btdtri"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtria'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "btdtria"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtrib'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "btdtrib"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'cbrt'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "cbrt"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'chndtr'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "chndtr"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipe'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipe"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipeinc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipeinc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipj'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipj"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipk'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipk"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipkinc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipkinc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipkm1'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "ellipkm1"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erf'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "erf"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erfc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "erfc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erfcinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "erfcinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erfinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "erfinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_genlaguerre'; maybe "genlaguerre"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "eval_genlaguerre"; maybe "genlaguerre"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_hermite'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "eval_hermite"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_laguerre'; maybe "laguerre"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "eval_laguerre"; maybe "laguerre"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_legendre'; maybe "legendre"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "eval_legendre"; maybe "legendre"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'exp1'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "exp1"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'expi'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "expi"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'expm1'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "expm1"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'expn'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "expn"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammainc'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammainc"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammaincc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammaincc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammainccinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammainccinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammaincinv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammaincinv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtr'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gdtr"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtrc'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gdtrc"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtrib'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gdtrib"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtrix'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "gdtrix"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'jn'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "jn"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'kn'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "kn"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'log1p'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "log1p"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'lpmv'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "lpmv"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_cem'; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_cem"; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modcem1'; maybe "mathieu_odd_coef"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_modcem1"; maybe "mathieu_odd_coef"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modcem2'; maybe "mathieu_odd_coef"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_modcem2"; maybe "mathieu_odd_coef"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modsem1'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_modsem1"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modsem2'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_modsem2"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_sem'; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "mathieu_sem"; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'nbdtrik'; maybe "ndtri"?  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "nbdtrik"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'owens_t'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "owens_t"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'pdtrik'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "pdtrik"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'poch'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "poch"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'sph_harm'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "sph_harm"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'wright_bessel'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "wright_bessel"  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'yn'  [attr-defined]
+ scipy/special/tests/test_data.py:8: error: Module "scipy.special" has no attribute "yn"  [attr-defined]
- scipy/stats/tests/test_contingency.py:6: error: Module 'scipy.special' has no attribute 'xlogy'  [attr-defined]
+ scipy/stats/tests/test_contingency.py:6: error: Module "scipy.special" has no attribute "xlogy"  [attr-defined]



poetry (https://github.com/python-poetry/poetry.git)
- poetry/repositories/legacy_repository.py:60: error: Module 'urllib' has no attribute 'quote'
+ poetry/repositories/legacy_repository.py:60: error: Module "urllib" has no attribute "quote"

@dixith dixith requested a review from hauntsaninja April 8, 2021 10:39
@@ -226,7 +226,7 @@ def _determine_eq_order(ctx: 'mypy.plugin.ClassDefContext') -> bool:
order = eq

if eq is False and order is True:
ctx.api.fail("eq must be True if order is True", ctx.reason)
ctx.api.fail('eq must be True if order is True', ctx.reason)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could undo this quote change but I don't feel strongly

@dixith
Copy link
Contributor Author

dixith commented Apr 12, 2021

@hauntsaninja Can you please review and approve the PR? JelleZijlstra has approved.

@JelleZijlstra JelleZijlstra merged commit b049e6a into python:master Apr 12, 2021
@JelleZijlstra
Copy link
Member

(Sorry, I forgot to click merge. I don't think Shantanu needs to review too; these changes are pretty simple.

@dixith dixith deleted the double-quotes-errors-1 branch April 16, 2021 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants