Skip to content

Move mypy options to pyproject.toml#1280

Merged
mhucka merged 7 commits intoquantumlib:mainfrom
mhucka:move-mypy-ini-to-pyproject
Apr 24, 2026
Merged

Move mypy options to pyproject.toml#1280
mhucka merged 7 commits intoquantumlib:mainfrom
mhucka:move-mypy-ini-to-pyproject

Conversation

@mhucka
Copy link
Copy Markdown
Contributor

@mhucka mhucka commented Apr 23, 2026

In addition to being the more modern approach, this lets us start to consolidate tool options into a single well-known locadtion instead of burying them in a nonstandard location like dev_tools/conf/.

One of the PRs that will resolve #1268.

mhucka added 2 commits April 23, 2026 20:18
In addition to being the more modern approach, this lets us start to
consolidate tool options into a single well-known locadtion instead of
burying them in a nonstandard location like `dev_tools/conf/`.
Now that the options are in pyproject.toml, the explicit argument is no
longer necessary.
@mhucka mhucka marked this pull request as ready for review April 23, 2026 21:05
@mhucka mhucka requested review from mpharrigan and pavoljuhas April 23, 2026 21:05
@mhucka mhucka enabled auto-merge April 23, 2026 21:07
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request migrates the mypy configuration from a standalone .ini file to pyproject.toml and updates the check/mypy script to use the default configuration. A review comment highlights that the global ignore_errors = true setting, though existing previously, should be addressed as it disables effective type checking.

Comment thread pyproject.toml
@mhucka mhucka added area/devops Involves build systems, Make files, Bazel files, continuous integration, and or other DevOps topics area/health Involves code and/or project health labels Apr 23, 2026
Comment thread pyproject.toml Outdated
Copy link
Copy Markdown
Contributor

@pavoljuhas pavoljuhas left a comment

Choose a reason for hiding this comment

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

LGTM with a tiny suggestion.

@mhucka mhucka added this pull request to the merge queue Apr 23, 2026
@pavoljuhas pavoljuhas removed this pull request from the merge queue due to a manual request Apr 23, 2026
@mhucka mhucka enabled auto-merge April 23, 2026 23:02
Safer for long-term maintenance.
@mhucka mhucka added this pull request to the merge queue Apr 24, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 24, 2026
@mhucka mhucka merged commit e32d7bf into quantumlib:main Apr 24, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/devops Involves build systems, Make files, Bazel files, continuous integration, and or other DevOps topics area/health Involves code and/or project health

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move tool configuration settings into pyproject.toml

2 participants