Skip to content

Move black and isort settings to pyproject - #27

Merged
JohannesWeinbrecht merged 2 commits into
mainfrom
chore/configure-black-isort
Aug 11, 2026
Merged

Move black and isort settings to pyproject#27
JohannesWeinbrecht merged 2 commits into
mainfrom
chore/configure-black-isort

Conversation

@Sriganesh-k

Copy link
Copy Markdown
Collaborator
  • pyproject.toml now stores the Black/isort settings.
  • .pre-commit-config.yaml still runs Black and isort, but no longer repeats their options.
  • Pre-commit automatically reads the settings from pyproject.toml.

@JohannesWeinbrecht JohannesWeinbrecht left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Sriganesh-k

Copy link
Copy Markdown
Collaborator Author

Updated — both pre-commit hooks now explicitly use pyproject.toml (--settings-path for isort and --config for Black), and I tested both locally

@JohannesWeinbrecht
JohannesWeinbrecht merged commit 047c970 into main Aug 11, 2026
1 check passed
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