From cfd9217bae4409a06b2150b70e58a16625414e5d Mon Sep 17 00:00:00 2001 From: Madeesh Kannan Date: Mon, 4 Apr 2022 17:35:37 +0200 Subject: [PATCH] Update link to flake8 config (#10620) * Update link to flake8 config * Run prettier --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9a7d0744a..ddd833be1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -144,7 +144,7 @@ Changes to `.py` files will be effective immediately. When fixing a bug, first create an [issue](https://github.com/explosion/spaCy/issues) if one does not already -exist. The description text can be very short – we don't want to make this too +exist. The description text can be very short – we don't want to make this too bureaucratic. Next, add a test to the relevant file in the @@ -233,7 +233,7 @@ also want to keep an eye on unused declared variables or repeated (i.e. overwritten) dictionary keys. If your code was formatted with `black` (see above), you shouldn't see any formatting-related warnings. -The [`.flake8`](.flake8) config defines the configuration we use for this +The `flake8` section in [`setup.cfg`](setup.cfg) defines the configuration we use for this codebase. For example, we're not super strict about the line length, and we're excluding very large files like lemmatization and tokenizer exception tables.