Closed CunliangGeng closed 4 months ago
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @CunliangGeng and the rest of your teammates on Graphite
It's ready for review.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
82.4% Coverage on New Code
0.0% Duplication on New Code
This PR tries to solve all type hints errors (mypy), formatting errors (ruff) and typos for refactored code. As for non-refactored code, we keep it as it is.
As for type hints, the changes follow the rules below:
@overload
for different data types of the same argumentSequence
andMapping
to replacelist
anddict
, respectively, as much as possibleTYPE_CHECKING
to only avoid circular imports