mirror of
https://github.com/stoatchat/python-client-sdk.git
synced 2026-07-22 02:25:22 -04:00
Rename the package #38
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andreas-hartmann on GitHub (Sep 22, 2024).
Describe the bug
Naming the package "python.py" causes warnings downstream. Linting tools complain that the import "revolt" is coming from a different package. Using an alias doesn't work because "revolt.py" contains a period.
To Reproduce
import revoltin PyCharm for instance withrevolt.py==0.2.0in requirements.txt will cause a warning.Expected behavior
The package should have a standards-compliant name, such as revoltpy or something.
No warnings should be produced.
@Zomatree commented on GitHub (Sep 22, 2024):
This is an issue with the tools that require the names to match, it is not required that the package name must match the library name.
This is not something I will change.