From 7b37114d39700b3754d840f70d001b219c85906a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Pedersen?= Date: Wed, 26 Jun 2024 10:03:38 +0200 Subject: [PATCH] Add linting back to README --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 95d48e9..4f70992 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,32 @@ In this method, you need to save images from areas of interest and then train th You can also use a few-shot learning method [FewShot.py](./FewShot.py) and optimize for the number of classes using our novel optimization method using [FindOptimumNumberOfClasses.py](FindOptimumNumberOfClasses.py). +
+ + +## Linting + +First install linting dependencies: + +``` +pip install isort==5.10.1 flake8==4.0.1 black==22.3.0 "black[jupyter]" +``` + +Then run linting test by: + +``` +sh shell/lint.sh +``` + +Perform automatic linting by: + +``` +sh shell/format.sh +``` + +
+ + ## Citation If you found the source code or manuscript relevant in your research, please cite the following reference: