-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python app formatter issue #153
Comments
Seems the root cause of this issue is that Nx build the |
@solomondefi-dev |
Will that work for CI? In that situation, we don't need the files to actually be formatted, just to fail if anything is unformatted. |
@kelvin-wong The Nx python plugin is updated in the repo now, so |
Hey team! Please add your planning poker estimate with ZenHub @kelvin-wong @solomondefi-dev |
🎉 This issue has been resolved in version 1.3.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Enable Solomon formatter python via
pnpx nx format:check --all
.I’m not sure if this is possible, but it seems like the generic Nx format runner doesn’t pick up the python task, so running the Nx commands skips Black (and CI doesn’t work as expected). This may not be so easy to solve, and requires some research into Nx
Note - in CI, the command should usually be
pnpx nx format:check --base=origin/main
, but we don't have a way for Nx to detect that Python apps have changed. There is a hacky workaround implemented by the author ofnx-plus
for their Vue plugin, some discussion here: nrwl/nx#2960The text was updated successfully, but these errors were encountered: