From 8d34801e7a36374f08eaeb97928b48772a12ea29 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Wed, 3 Jan 2024 09:37:39 +0000 Subject: [PATCH 1/2] fail on ANY pylint message --- .github/workflows/python_actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python_actions.yml b/.github/workflows/python_actions.yml index 96d3a8dea..04394466f 100644 --- a/.github/workflows/python_actions.yml +++ b/.github/workflows/python_actions.yml @@ -72,6 +72,7 @@ jobs: uses: ./support/actions/pylint with: package: ${{ env.BASE_PKG }} + exitcheck: 31 # Action fails on any message language: en_GB - name: Lint with mypy From c8cbd7c375b60461cfa67d28bc1ba7cd90a925e8 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Wed, 3 Jan 2024 09:51:37 +0000 Subject: [PATCH 2/2] cleanup pylint exceptions --- .pylint_dict.txt | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/.pylint_dict.txt b/.pylint_dict.txt index 962348462..238462b96 100644 --- a/.pylint_dict.txt +++ b/.pylint_dict.txt @@ -13,40 +13,42 @@ # limitations under the License. # Our abbreviations/names +Navaridas NER # Our types AbstractEdge -ApplicationEdge -MachineEdge -SDRAMMachineEdge AbstractEdgePartition -AbstractSingleSourcePartition -ApplicationEdgePartition -MulticastEdgePartition +AbstractMulticastRoutingTable +AbstractSDRAM AbstractSDRAMPartition +AbstractSingleSourcePartition AbstractVertex +ApplicationEdge +ApplicationEdgePartition ApplicationVertex -MachineVertex -MulticastRoutingTable +BaseKeyAndMask +ChipAndCore FPGAConnection IPTag IPtagResource +MachineEdge +MachineVertex +MulticastEdgePartition +MulticastRoutingTable +PacmanAlreadyExistsException +PlacementTuple ReverseIPtagResource -AbstractSDRAM -BaseKeyAndMask +RoutingTableEntry RoutingInfo RoutingTree -RoutingTableEntry -PlacementTuple -ChipAndCore - +RTEntry +SDRAMMachineEdge ValidationError -PacmanAlreadyExistsException # Python packages -pacman jsonschema +pacman # Others' types FileIO @@ -55,13 +57,14 @@ FileIO maxsize # Our special words -reorderable mergable -sdram -precompressor precompressed precompression -Navaridas +precompressor +quicksort obj +reorderable +sdram subobj +vartype xy