From f750901b30a9802a43883d3ca86b70f616ef19ac Mon Sep 17 00:00:00 2001 From: Luke Labrie-Cleary Date: Mon, 25 Mar 2024 16:05:45 +0100 Subject: [PATCH 1/4] ignore examples in pylinting --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 383e65c..3a36063 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -20,4 +20,4 @@ jobs: pip install pylint - name: Analysing the code with pylint run: | - pylint $(git ls-files '*.py') + pylint $(git ls-files '*.py') --ignore=toy*,parameters* From af7e6f7e5eb0e36ce15b82822184e27a8cb361fa Mon Sep 17 00:00:00 2001 From: Luke Labrie-Cleary Date: Mon, 25 Mar 2024 16:08:44 +0100 Subject: [PATCH 2/4] Update pylint.yml --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 3a36063..acc8ea7 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -20,4 +20,4 @@ jobs: pip install pylint - name: Analysing the code with pylint run: | - pylint $(git ls-files '*.py') --ignore=toy*,parameters* + pylint $(git ls-files '*.py') --ignore='toy*','parameters*' From a5f7ab44b052f152a7a1bd217bff04ea6356b7a7 Mon Sep 17 00:00:00 2001 From: Luke Labrie-Cleary Date: Mon, 25 Mar 2024 16:13:16 +0100 Subject: [PATCH 3/4] Update pylint.yml --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index acc8ea7..614aa05 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -20,4 +20,4 @@ jobs: pip install pylint - name: Analysing the code with pylint run: | - pylint $(git ls-files '*.py') --ignore='toy*','parameters*' + pylint $(git ls-files '*.py') --ignore=^notebooks/toy*,^notebooks/parameters* From 476388e0251cef77dfbbe3127f611f828dcf990d Mon Sep 17 00:00:00 2001 From: Luke Labrie-Cleary Date: Mon, 25 Mar 2024 16:17:50 +0100 Subject: [PATCH 4/4] Update pylint.yml --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 614aa05..1a6997b 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -20,4 +20,4 @@ jobs: pip install pylint - name: Analysing the code with pylint run: | - pylint $(git ls-files '*.py') --ignore=^notebooks/toy*,^notebooks/parameters* + pylint $(git ls-files '*.py' | grep -v '^notebooks/toy' | grep -v '^notebooks/parameters')