temporalio / sdk-python

Temporal Python SDK
MIT License
474 stars 77 forks source link

Adds ruff, a drop-in replacement for black #423

Closed rachfop closed 4 months ago

rachfop commented 1 year ago

What was changed

Added isort: skip_file in the .gitignore file, because ruff will follow isorts commands. Replaced black with ruff in the.pyproject.toml` file.

There were a lot of changes made.

Why?

https://github.com/temporalio/sdk-python/issues/421

Checklist

  1. Closes

  2. How was this tested:

  3. Any docs updates needed?

cretz commented 1 year ago

Can you work out the CI kinks? Make sure the app lints and tests all complete properly. Can mark as draft while you work through them.

dandavison commented 4 months ago

Thanks @rachfop! We followed through with this in https://github.com/temporalio/sdk-python/pull/566