Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / diagrams / remove-black-requirement.patch
blobd6c9b42270916f3e5bbd46c2715da50c6ab94f6d
1 From bf081e60a7f604d2e71cf5c315dd90c48dd96808 Mon Sep 17 00:00:00 2001
2 From: Fabian Affolter <mail@fabian-affolter.ch>
3 Date: Thu, 26 Jan 2023 15:35:47 +0100
4 Subject: [PATCH] Update autogen.sh
6 ---
7 autogen.sh | 9 ---------
8 1 file changed, 9 deletions(-)
10 diff --git a/autogen.sh b/autogen.sh
11 index f5e065b35..b6cef5bf9 100755
12 --- a/autogen.sh
13 +++ b/autogen.sh
14 @@ -37,11 +37,6 @@ if ! [ -x "$(command -v convert)" ]; then
15 exit 1
18 -if ! [ -x "$(command -v black)" ]; then
19 - echo 'black is not installed'
20 - exit 1
21 -fi
23 # preprocess the resources
24 for pvd in "${providers[@]}"; do
25 # convert the svg to png for azure provider
26 @@ -75,7 +70,3 @@ python -m scripts.generate "custom"
27 # copy icons across to website
28 echo "copying icons to website static folder"
29 cp -r resources website/static/img/
31 -# run black
32 -echo "linting the all the diagram modules"
33 -black "$app_root_dir"/**/*.py