Skip to content

Better pyright config#145

Merged
ffelten merged 4 commits into
mainfrom
chore/config_pyright
Jul 1, 2025
Merged

Better pyright config#145
ffelten merged 4 commits into
mainfrom
chore/config_pyright

Conversation

@ffelten
Copy link
Copy Markdown
Collaborator

@ffelten ffelten commented Jun 30, 2025

Un-ignore some rules. I also fixed a bunch of places where pyright was now complaining.

PS: I'm not even sure we want to keep pyright and mypy in the long run. Mypy seems to work better/is less annoying.

Base automatically changed from docs/fix_docs_versioning to main June 30, 2025 13:14
@ffelten ffelten requested a review from g-braeunlich June 30, 2025 13:21
Copy link
Copy Markdown
Collaborator

@g-braeunlich g-braeunlich left a comment

Choose a reason for hiding this comment

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

LGTM.
Also think that we dont need pyright anymore. I am not aware of any important lint/check which is not covered by mypy/ruff.
But maybe we should consider ty at some time.

@ffelten
Copy link
Copy Markdown
Collaborator Author

ffelten commented Jul 1, 2025

LGTM. Also think that we dont need pyright anymore. I am not aware of any important lint/check which is not covered by mypy/ruff. But maybe we should consider ty at some time.

Agreed. I'd wait for ty to be more stable (it is still in alpha). But once it becomes mature, I don't see any reason against it.

@ffelten ffelten merged commit ed5875b into main Jul 1, 2025
7 of 8 checks passed
@ffelten ffelten deleted the chore/config_pyright branch July 1, 2025 07:51
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.

2 participants