python / python/mypy

Formatting settings should not bounce mypy-daemon

Open
#18,025 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Python
Stars
20.6k
Forks
3.3k
PR merge metrics
PR metrics pending

Description

(feature/improvement more than a bug I think?)
I was looking at having the mypy-daemon share its existence inside and outside of my editor, such as in vscode. But one thing I noticed is that vscode will pass in quite a few extra args:

--no-color-output --no-error-summary --show-absolute-path --show-column-numbers --show-error-codes --no-pretty --show-error-end

All except --show-error-codes --no-pretty will individually force the daemon to restart with Restarting: configuration changed. These all seem cosmetic, can the daemon avoid bouncing when these flags change?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing mypy-daemon argument and configuration handling for the listed output-formatting flags. Verify that changing these cosmetic options no longer restarts the daemon while the requested output behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.