Last 12 weeks · 0 commits
4 of 6 standards met
sys.exc_info() always returned (None, None, None) inside __attrs_post_init__ because the except clause had already exited by the time Result was constructed. Move traceback capture to each except block in api.py using e.__traceback__, and remove the now-dead __attrs_post_init__ from Result (along with the sys/traceback imports that were only needed for it).
Repository: facebook/usort. Description: Safe, minimal import sorting for Python projects. Stars: 205, Forks: 23. Primary language: Python. Languages: Python (99%), Makefile (0.7%), Shell (0.3%). License: MIT. Homepage: https://usort.readthedocs.io Latest release: v1.1.0 (7mo ago). Open PRs: 15, open issues: 13. Last activity: 4mo ago. Community health: 75%. Top contributors: amyreese, dependabot[bot], thatch, maggiemoss, zsol, bowiechen, loren-arthur, fried, facebook-github-bot, Bobronium and others.