Backblaze / boardwalk

A linear remote execution workflow engine built on top of Ansible
Other
11 stars 0 forks source link

Figure out what's wrong with usort and GitHub Actions #65

Closed asullivan-blze closed 5 months ago

asullivan-blze commented 6 months ago

For whatever reason, make test-usort errors with the following error when attempting to execute the following from the Makefile:

# Ensure imports are formatted in a uniform way
.PHONY: test-usort
test-usort: develop
    @# This is a workaround for https://github.com/facebook/usort/issues/216
    LIBCST_PARSER_TYPE=native poetry run usort check .

black does explicitly call out isort as being compatible, so perhaps we could switch to that as the import sorting/ordering method? Alternatively: Perhaps Ruff (combines black and isort)?

image

Spawned from #64.