From 1c364f42ee298251d009e39fcab5ecc8cd0384d6 Mon Sep 17 00:00:00 2001 From: James Addison Date: Wed, 10 Feb 2021 01:10:02 +0000 Subject: [PATCH] Regenerate documentation (#1980) Resolves #1979 and ensures that the content from #1861 is included in the repository-published documentation. --- docs/installation_and_usage.md | 5 ----- docs/pyproject_toml.md | 7 ++++--- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/installation_and_usage.md b/docs/installation_and_usage.md index e3b53fd..ee45c93 100644 --- a/docs/installation_and_usage.md +++ b/docs/installation_and_usage.md @@ -100,11 +100,6 @@ Options: respect --force-exclude option on some editors that rely on using stdin. - --stdin-filename TEXT The name of the file when passing it through - stdin. Useful to make sure Black will respect - --force-exclude option on some editors that - rely on using stdin. - -q, --quiet Don't emit non-error messages to stderr. Errors are still emitted; silence those with 2>/dev/null. diff --git a/docs/pyproject_toml.md b/docs/pyproject_toml.md index cd31345..453f533 100644 --- a/docs/pyproject_toml.md +++ b/docs/pyproject_toml.md @@ -55,9 +55,10 @@ line-length = 88 target-version = ['py37'] include = '\.pyi?$' exclude = ''' - -( - /( +# A regex preceded with ^/ will apply only to files and directories +# in the root of the project. +^/( + ( \.eggs # exclude a few common directories in the | \.git # root of the project | \.hg -- 2.39.2