Skip to content
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

Clarify check argument is needed for github action workflow #3325

Merged
merged 3 commits into from
Oct 15, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/integrations/github_actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ extra. Installing the extra and including Jupyter Notebook files can be configur
`jupyter` (default is `false`).

You can also configure the arguments passed to _Black_ via `options` (defaults to
`'--check --diff'`) and `src` (default is `'.'`)
`'--check --diff'`) and `src` (default is `'.'`). Please note that the [`'--check'` argument](https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#exit-code) is required so that the workflow fails if _Black_ finds files that need to be formatted.

Here's an example configuration:

Expand Down