Skip to content

Comments

psycopg: Configure src.root for ty#171

Merged
sharkdp merged 1 commit intomasterfrom
psycopg-ty-config
May 19, 2025
Merged

psycopg: Configure src.root for ty#171
sharkdp merged 1 commit intomasterfrom
psycopg-ty-config

Conversation

@sharkdp
Copy link
Collaborator

@sharkdp sharkdp commented May 19, 2025

As analyzed here, psycopg uses a src layout but the src folder is called psycopg. This is not supported in ty, unless src.root is configured accordingly.

@JelleZijlstra
Copy link
Collaborator

There's a test failure that appears to indicate pyright behaves differently on its main branch and its latest release; doesn't seem like a great thing to test?

@sharkdp sharkdp merged commit 01a7ca3 into master May 19, 2025
2 of 4 checks passed
@sharkdp sharkdp deleted the psycopg-ty-config branch May 19, 2025 14:23
@hauntsaninja
Copy link
Owner

Yeah, sorry about that. More folks have been contributing to mypy_primer, so I wanted to have a test that actually runs mypy_primer, but I guess I was a little lazy/unimaginative... the projects it runs on are simple. Anyway, pinned the type checker versions now.

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