Export symbols to satisfy type checkers by zariiii9003 · Pull Request #1551 · hardbyte/python-can · GitHub
Skip to content

Export symbols to satisfy type checkers#1551

Merged
zariiii9003 merged 4 commits into
hardbyte:developfrom
zariiii9003:ruff
Apr 1, 2023
Merged

Export symbols to satisfy type checkers#1551
zariiii9003 merged 4 commits into
hardbyte:developfrom
zariiii9003:ruff

Conversation

@zariiii9003

Copy link
Copy Markdown
Collaborator

Closes #1547

This also introduces ruff with isort, pyupgrade and the unused-imports check.

@felixdivo The version with the import x as x reexport can be seen here. I think that one is less ugly, but i don't care too much.

@felixdivo felixdivo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I didn't go through every change, but the tooling additons and general changes are great!

@zariiii9003

Copy link
Copy Markdown
Collaborator Author

@zariiii9003

Copy link
Copy Markdown
Collaborator Author

@tjohanssonn Could you try this branch with pyright?

@tjohanssonn

Copy link
Copy Markdown

This was referenced Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Package not re-exporting symbols in package __init__.py

3 participants