getredash / redash-toolbelt

API client and utilities to manage a Redash instance
BSD 2-Clause "Simplified" License
140 stars 74 forks source link

Example script: delete queries #121

Open pine0619 opened 2 years ago

pine0619 commented 2 years ago

I added CLI script for delete(archive) query.

pine0619 commented 2 years ago

@arikfr @susodapop

I got the following message in CI, Could you please teach me how to fix it? https://github.com/getredash/redash-toolbelt/pull/122

susodapop commented 2 years ago

Thanks for your contribution. The restyled bot enforces our code format (we use black). If a pull request didn't use black, restyled-bot automatically makes a pull request against the original pull request that adds black formatting. Since you closed your PR and reopened it, restyled bot closed its original pull request. But the check still fails because your code hasn't yet been formatted.

You can do this locally with pip install black and then black path/to/example.py. Push your change to your remote branch and the check will re-run and pass 👌