Skip to content

Replace black with ruff-format #116

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

Merged
merged 5 commits into from
Apr 26, 2024
Merged

Replace black with ruff-format #116

merged 5 commits into from
Apr 26, 2024

Conversation

niksirbi
Copy link
Member

@niksirbi niksirbi commented Apr 26, 2024

  • Remove black dependency and any related configs from pyproject.toml and pre-commit-config.yaml
  • Use ruff-format instead, and configure it in pyproject.toml and pre-commit-config.yaml
  • Update README accordingly
  • Add some commented out ruff rules in the pyproject.toml that can be optionally enabled.

@niksirbi niksirbi marked this pull request as ready for review April 26, 2024 14:14
@niksirbi niksirbi requested a review from adamltyson April 26, 2024 14:15
@adamltyson adamltyson merged commit 2cdc2af into main Apr 26, 2024
@adamltyson adamltyson deleted the black-to-ruff-format branch April 26, 2024 16:46
ablot pushed a commit to znamlab/python-cookiecutter that referenced this pull request Mar 10, 2025
* replaced black with ruff-format

* add commented (optional) ruff rules

* Updated README.md

* removed black dependency

* restore inadvertendly removed brackets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants