Skip to content

Update MyPy option name#11829

Closed
DimitriPapadopoulos wants to merge 1 commit into
sphinx-doc:masterfrom
DimitriPapadopoulos:mypy.show_error_codes
Closed

Update MyPy option name#11829
DimitriPapadopoulos wants to merge 1 commit into
sphinx-doc:masterfrom
DimitriPapadopoulos:mypy.show_error_codes

Conversation

@DimitriPapadopoulos
Copy link
Copy Markdown
Contributor

Subject: Update MyPy option name

Feature or Bugfix

  • Bugfix

Purpose

Detail

As suggested by Repo-Review:

  • MY102: MyPy show_error_codes deprecated
    Must not have show_error_codes. Use hide_error_codes instead (since MyPy v0.990).

Relates

Must use `hide_error_codes` instead of `show_error_codes` since MyPy v0.990.
@AA-Turner
Copy link
Copy Markdown
Member

I think it's better to simply remove the config option, given we want error codes to be shown (see 3f1fb5e). Thank you for alerting me to the change in MyPy, though!

A

@AA-Turner AA-Turner closed this Dec 31, 2023
@DimitriPapadopoulos DimitriPapadopoulos deleted the mypy.show_error_codes branch December 31, 2023 17:52
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jan 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants