Workflows fail that previously succeeded

Hello,

I am currently developing a project in python that uses a github workflow for linting and unit tests.
The linting is done with the python tool flake8. I am now in the curious situation where a workflow exits with a python error regarding flake8 on commits on which it previously completed successfully.

This came to my attention when during a pull request the workflow did not run through anymore without having changed anything that would explain this behaviour. For testing, I then re-ran the job on previous commits, which then unexpectedly failed (but succeeded previously).

The error that I am getting seems to hint at an issue regarding the tool flake8 (raw logs attached at the end). If I run the same checks locally by hand, they go through without any issue.

The repository in question: https://github.com/Benezivas/algobattle
The pull request in question: https://github.com/Benezivas/algobattle/pull/13
The develop branch does not pass the workflow due to the same error right now, but it passed the tests previously without any issues.

I would appreciate any kind of help.

2021-10-11T10:19:32.1435492Z Found online and idle hosted runner in the current repository's organization account that matches the required labels: 'ubuntu-latest'
2021-10-11T10:19:32.2406507Z Waiting for a Hosted runner in the 'organization' to pick this job...
2021-10-11T10:19:32.3555865Z Job is waiting for a hosted runner to come online.
2021-10-11T10:19:36.5762309Z Job is about to start running on the hosted runner: Hosted Agent (hosted)
2021-10-11T10:19:38.3997080Z Current runner version: '2.283.2'
2021-10-11T10:19:38.4025337Z ##[group]Operating System
2021-10-11T10:19:38.4026257Z Ubuntu
2021-10-11T10:19:38.4026739Z 20.04.3
2021-10-11T10:19:38.4027176Z LTS
2021-10-11T10:19:38.4027601Z ##[endgroup]
2021-10-11T10:19:38.4028182Z ##[group]Virtual Environment
2021-10-11T10:19:38.4028798Z Environment: ubuntu-20.04
2021-10-11T10:19:38.4029348Z Version: 20211004.1
2021-10-11T10:19:38.4030278Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20211004.1/images/linux/Ubuntu2004-README.md
2021-10-11T10:19:38.4031612Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20211004.1
2021-10-11T10:19:38.4032477Z ##[endgroup]
2021-10-11T10:19:38.4033064Z ##[group]Virtual Environment Provisioner
2021-10-11T10:19:38.4033766Z 1.0.0.0-master-20210922-1
2021-10-11T10:19:38.4034259Z ##[endgroup]
2021-10-11T10:19:38.4036201Z ##[group]GITHUB_TOKEN Permissions
2021-10-11T10:19:38.4037547Z Actions: write
2021-10-11T10:19:38.4038077Z Checks: write
2021-10-11T10:19:38.4038553Z Contents: write
2021-10-11T10:19:38.4039093Z Deployments: write
2021-10-11T10:19:38.4039607Z Discussions: write
2021-10-11T10:19:38.4040150Z Issues: write
2021-10-11T10:19:38.4040626Z Metadata: read
2021-10-11T10:19:38.4041154Z Packages: write
2021-10-11T10:19:38.4041616Z Pages: write
2021-10-11T10:19:38.4042153Z PullRequests: write
2021-10-11T10:19:38.4042800Z RepositoryProjects: write
2021-10-11T10:19:38.4043383Z SecurityEvents: write
2021-10-11T10:19:38.4043949Z Statuses: write
2021-10-11T10:19:38.4044504Z ##[endgroup]
2021-10-11T10:19:38.4047533Z Prepare workflow directory
2021-10-11T10:19:38.4615266Z Prepare all required actions
2021-10-11T10:19:38.4624700Z Getting action download info
2021-10-11T10:19:38.6475954Z Download action repository 'actions/checkout@v2' (SHA:5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)
2021-10-11T10:19:40.5809659Z Download action repository 'actions/setup-python@v2' (SHA:dc73133d4da04e56a135ae2246682783cc7c7cb6)
2021-10-11T10:19:40.9094702Z ##[group]Run actions/checkout@v2
2021-10-11T10:19:40.9095348Z with:
2021-10-11T10:19:40.9095851Z   repository: Benezivas/algobattle
2021-10-11T10:19:40.9096804Z   token: ***
2021-10-11T10:19:40.9097251Z   ssh-strict: true
2021-10-11T10:19:40.9097775Z   persist-credentials: true
2021-10-11T10:19:40.9098294Z   clean: true
2021-10-11T10:19:40.9098722Z   fetch-depth: 1
2021-10-11T10:19:40.9099155Z   lfs: false
2021-10-11T10:19:40.9099594Z   submodules: false
2021-10-11T10:19:40.9100031Z ##[endgroup]
2021-10-11T10:19:41.1174294Z Syncing repository: Benezivas/algobattle
2021-10-11T10:19:41.1176491Z ##[group]Getting Git version info
2021-10-11T10:19:41.1177689Z Working directory is '/home/runner/work/algobattle/algobattle'
2021-10-11T10:19:41.1215251Z [command]/usr/bin/git version
2021-10-11T10:19:41.1322376Z git version 2.33.0
2021-10-11T10:19:41.1343308Z ##[endgroup]
2021-10-11T10:19:41.1348756Z Deleting the contents of '/home/runner/work/algobattle/algobattle'
2021-10-11T10:19:41.1353691Z ##[group]Initializing the repository
2021-10-11T10:19:41.1356782Z [command]/usr/bin/git init /home/runner/work/algobattle/algobattle
2021-10-11T10:19:41.1418009Z hint: Using 'master' as the name for the initial branch. This default branch name
2021-10-11T10:19:41.1419165Z hint: is subject to change. To configure the initial branch name to use in all
2021-10-11T10:19:41.1420125Z hint: of your new repositories, which will suppress this warning, call:
2021-10-11T10:19:41.1420839Z hint: 
2021-10-11T10:19:41.1421738Z hint: 	git config --global init.defaultBranch <name>
2021-10-11T10:19:41.1422437Z hint: 
2021-10-11T10:19:41.1423323Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2021-10-11T10:19:41.1424450Z hint: 'development'. The just-created branch can be renamed via this command:
2021-10-11T10:19:41.1425205Z hint: 
2021-10-11T10:19:41.1425914Z hint: 	git branch -m <name>
2021-10-11T10:19:41.1438912Z Initialized empty Git repository in /home/runner/work/algobattle/algobattle/.git/
2021-10-11T10:19:41.1450238Z [command]/usr/bin/git remote add origin https://github.com/Benezivas/algobattle
2021-10-11T10:19:41.1488414Z ##[endgroup]
2021-10-11T10:19:41.1489764Z ##[group]Disabling automatic garbage collection
2021-10-11T10:19:41.1492433Z [command]/usr/bin/git config --local gc.auto 0
2021-10-11T10:19:41.1522464Z ##[endgroup]
2021-10-11T10:19:41.1527363Z ##[group]Setting up auth
2021-10-11T10:19:41.1532811Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2021-10-11T10:19:41.1562428Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2021-10-11T10:19:41.1915900Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2021-10-11T10:19:41.1939437Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2021-10-11T10:19:41.2154125Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2021-10-11T10:19:41.2196460Z ##[endgroup]
2021-10-11T10:19:41.2198107Z ##[group]Fetching the repository
2021-10-11T10:19:41.2204335Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +b22f47a5193e46482d3e2f633be500495515ed2c:refs/remotes/pull/13/merge
2021-10-11T10:19:41.4843085Z remote: Enumerating objects: 78, done.        
2021-10-11T10:19:41.4845459Z remote: Counting objects:   1% (1/78)        
2021-10-11T10:19:41.4848735Z remote: Counting objects:   2% (2/78)        
2021-10-11T10:19:41.4849982Z remote: Counting objects:   3% (3/78)        
2021-10-11T10:19:41.4852610Z remote: Counting objects:   5% (4/78)        
2021-10-11T10:19:41.4854888Z remote: Counting objects:   6% (5/78)        
2021-10-11T10:19:41.4857604Z remote: Counting objects:   7% (6/78)        
2021-10-11T10:19:41.4859894Z remote: Counting objects:   8% (7/78)        
2021-10-11T10:19:41.4860940Z remote: Counting objects:  10% (8/78)        
2021-10-11T10:19:41.4862913Z remote: Counting objects:  11% (9/78)        
2021-10-11T10:19:41.4863926Z remote: Counting objects:  12% (10/78)        
2021-10-11T10:19:41.4866121Z remote: Counting objects:  14% (11/78)        
2021-10-11T10:19:41.4868110Z remote: Counting objects:  15% (12/78)        
2021-10-11T10:19:41.4870476Z remote: Counting objects:  16% (13/78)        
2021-10-11T10:19:41.4872129Z remote: Counting objects:  17% (14/78)        
2021-10-11T10:19:41.4873048Z remote: Counting objects:  19% (15/78)        
2021-10-11T10:19:41.4874554Z remote: Counting objects:  20% (16/78)        
2021-10-11T10:19:41.4875987Z remote: Counting objects:  21% (17/78)        
2021-10-11T10:19:41.4877706Z remote: Counting objects:  23% (18/78)        
2021-10-11T10:19:41.4879342Z remote: Counting objects:  24% (19/78)        
2021-10-11T10:19:41.4880160Z remote: Counting objects:  25% (20/78)        
2021-10-11T10:19:41.4881821Z remote: Counting objects:  26% (21/78)        
2021-10-11T10:19:41.4883082Z remote: Counting objects:  28% (22/78)        
2021-10-11T10:19:41.4884400Z remote: Counting objects:  29% (23/78)        
2021-10-11T10:19:41.4885632Z remote: Counting objects:  30% (24/78)        
2021-10-11T10:19:41.4886824Z remote: Counting objects:  32% (25/78)        
2021-10-11T10:19:41.4888743Z remote: Counting objects:  33% (26/78)        
2021-10-11T10:19:41.4890512Z remote: Counting objects:  34% (27/78)        
2021-10-11T10:19:41.4891714Z remote: Counting objects:  35% (28/78)        
2021-10-11T10:19:41.4892511Z remote: Counting objects:  37% (29/78)        
2021-10-11T10:19:41.4893446Z remote: Counting objects:  38% (30/78)        
2021-10-11T10:19:41.4894707Z remote: Counting objects:  39% (31/78)        
2021-10-11T10:19:41.4895593Z remote: Counting objects:  41% (32/78)        
2021-10-11T10:19:41.4896748Z remote: Counting objects:  42% (33/78)        
2021-10-11T10:19:41.4898091Z remote: Counting objects:  43% (34/78)        
2021-10-11T10:19:41.4898660Z remote: Counting objects:  44% (35/78)        
2021-10-11T10:19:41.4899213Z remote: Counting objects:  46% (36/78)        
2021-10-11T10:19:41.4899751Z remote: Counting objects:  47% (37/78)        
2021-10-11T10:19:41.4900307Z remote: Counting objects:  48% (38/78)        
2021-10-11T10:19:41.4900851Z remote: Counting objects:  50% (39/78)        
2021-10-11T10:19:41.4901408Z remote: Counting objects:  51% (40/78)        
2021-10-11T10:19:41.4901962Z remote: Counting objects:  52% (41/78)        
2021-10-11T10:19:41.4902501Z remote: Counting objects:  53% (42/78)        
2021-10-11T10:19:41.4903052Z remote: Counting objects:  55% (43/78)        
2021-10-11T10:19:41.4903595Z remote: Counting objects:  56% (44/78)        
2021-10-11T10:19:41.4904151Z remote: Counting objects:  57% (45/78)        
2021-10-11T10:19:41.4904718Z remote: Counting objects:  58% (46/78)        
2021-10-11T10:19:41.4905356Z remote: Counting objects:  60% (47/78)        
2021-10-11T10:19:41.4905978Z remote: Counting objects:  61% (48/78)        
2021-10-11T10:19:41.4906516Z remote: Counting objects:  62% (49/78)        
2021-10-11T10:19:41.4907076Z remote: Counting objects:  64% (50/78)        
2021-10-11T10:19:41.4907613Z remote: Counting objects:  65% (51/78)        
2021-10-11T10:19:41.4908164Z remote: Counting objects:  66% (52/78)        
2021-10-11T10:19:41.4908718Z remote: Counting objects:  67% (53/78)        
2021-10-11T10:19:41.4909252Z remote: Counting objects:  69% (54/78)        
2021-10-11T10:19:41.4909811Z remote: Counting objects:  70% (55/78)        
2021-10-11T10:19:41.4910349Z remote: Counting objects:  71% (56/78)        
2021-10-11T10:19:41.4910904Z remote: Counting objects:  73% (57/78)        
2021-10-11T10:19:41.4911439Z remote: Counting objects:  74% (58/78)        
2021-10-11T10:19:41.4911992Z remote: Counting objects:  75% (59/78)        
2021-10-11T10:19:41.4912775Z remote: Counting objects:  76% (60/78)        
2021-10-11T10:19:41.4913395Z remote: Counting objects:  78% (61/78)        
2021-10-11T10:19:41.4913945Z remote: Counting objects:  79% (62/78)        
2021-10-11T10:19:41.4914485Z remote: Counting objects:  80% (63/78)        
2021-10-11T10:19:41.4915034Z remote: Counting objects:  82% (64/78)        
2021-10-11T10:19:41.4915589Z remote: Counting objects:  83% (65/78)        
2021-10-11T10:19:41.4916935Z remote: Counting objects:  84% (66/78)        
2021-10-11T10:19:41.4955480Z remote: Counting objects:  85% (67/78)        
2021-10-11T10:19:41.4956353Z remote: Counting objects:  87% (68/78)        
2021-10-11T10:19:41.4957035Z remote: Counting objects:  88% (69/78)        
2021-10-11T10:19:41.4957698Z remote: Counting objects:  89% (70/78)        
2021-10-11T10:19:41.4958392Z remote: Counting objects:  91% (71/78)        
2021-10-11T10:19:41.4959061Z remote: Counting objects:  92% (72/78)        
2021-10-11T10:19:41.4959715Z remote: Counting objects:  93% (73/78)        
2021-10-11T10:19:41.4960490Z remote: Counting objects:  94% (74/78)        
2021-10-11T10:19:41.4961239Z remote: Counting objects:  96% (75/78)        
2021-10-11T10:19:41.4961902Z remote: Counting objects:  97% (76/78)        
2021-10-11T10:19:41.4962567Z remote: Counting objects:  98% (77/78)        
2021-10-11T10:19:41.4963227Z remote: Counting objects: 100% (78/78)        
2021-10-11T10:19:41.4963896Z remote: Counting objects: 100% (78/78), done.        
2021-10-11T10:19:41.4964618Z remote: Compressing objects:   1% (1/67)        
2021-10-11T10:19:41.4965321Z remote: Compressing objects:   2% (2/67)        
2021-10-11T10:19:41.4966005Z remote: Compressing objects:   4% (3/67)        
2021-10-11T10:19:41.4966721Z remote: Compressing objects:   5% (4/67)        
2021-10-11T10:19:41.4967419Z remote: Compressing objects:   7% (5/67)        
2021-10-11T10:19:41.4968100Z remote: Compressing objects:   8% (6/67)        
2021-10-11T10:19:41.4968816Z remote: Compressing objects:  10% (7/67)        
2021-10-11T10:19:41.4969580Z remote: Compressing objects:  11% (8/67)        
2021-10-11T10:19:41.4970587Z remote: Compressing objects:  13% (9/67)        
2021-10-11T10:19:41.4971314Z remote: Compressing objects:  14% (10/67)        
2021-10-11T10:19:41.4972002Z remote: Compressing objects:  16% (11/67)        
2021-10-11T10:19:41.4972697Z remote: Compressing objects:  17% (12/67)        
2021-10-11T10:19:41.4973580Z remote: Compressing objects:  19% (13/67)        
2021-10-11T10:19:41.4974273Z remote: Compressing objects:  20% (14/67)        
2021-10-11T10:19:41.4974976Z remote: Compressing objects:  22% (15/67)        
2021-10-11T10:19:41.4975697Z remote: Compressing objects:  23% (16/67)        
2021-10-11T10:19:41.4976381Z remote: Compressing objects:  25% (17/67)        
2021-10-11T10:19:41.4977077Z remote: Compressing objects:  26% (18/67)        
2021-10-11T10:19:41.4977794Z remote: Compressing objects:  28% (19/67)        
2021-10-11T10:19:41.4978476Z remote: Compressing objects:  29% (20/67)        
2021-10-11T10:19:41.4979246Z remote: Compressing objects:  31% (21/67)        
2021-10-11T10:19:41.4980029Z remote: Compressing objects:  32% (22/67)        
2021-10-11T10:19:41.4980709Z remote: Compressing objects:  34% (23/67)        
2021-10-11T10:19:41.4981404Z remote: Compressing objects:  35% (24/67)        
2021-10-11T10:19:41.4982098Z remote: Compressing objects:  37% (25/67)        
2021-10-11T10:19:41.4982801Z remote: Compressing objects:  38% (26/67)        
2021-10-11T10:19:41.4983490Z remote: Compressing objects:  40% (27/67)        
2021-10-11T10:19:41.4984186Z remote: Compressing objects:  41% (28/67)        
2021-10-11T10:19:41.4984879Z remote: Compressing objects:  43% (29/67)        
2021-10-11T10:19:41.4985572Z remote: Compressing objects:  44% (30/67)        
2021-10-11T10:19:41.4986270Z remote: Compressing objects:  46% (31/67)        
2021-10-11T10:19:41.4986956Z remote: Compressing objects:  47% (32/67)        
2021-10-11T10:19:41.4987643Z remote: Compressing objects:  49% (33/67)        
2021-10-11T10:19:41.4988575Z remote: Compressing objects:  50% (34/67)        
2021-10-11T10:19:41.4989369Z remote: Compressing objects:  52% (35/67)        
2021-10-11T10:19:41.4990068Z remote: Compressing objects:  53% (36/67)        
2021-10-11T10:19:41.4990768Z remote: Compressing objects:  55% (37/67)        
2021-10-11T10:19:41.4991458Z remote: Compressing objects:  56% (38/67)        
2021-10-11T10:19:41.4992153Z remote: Compressing objects:  58% (39/67)        
2021-10-11T10:19:41.4992848Z remote: Compressing objects:  59% (40/67)        
2021-10-11T10:19:41.4993546Z remote: Compressing objects:  61% (41/67)        
2021-10-11T10:19:41.4994227Z remote: Compressing objects:  62% (42/67)        
2021-10-11T10:19:41.4994994Z remote: Compressing objects:  64% (43/67)        
2021-10-11T10:19:41.4995689Z remote: Compressing objects:  65% (44/67)        
2021-10-11T10:19:41.4996369Z remote: Compressing objects:  67% (45/67)        
2021-10-11T10:19:41.4997156Z remote: Compressing objects:  68% (46/67)        
2021-10-11T10:19:41.4997930Z remote: Compressing objects:  70% (47/67)        
2021-10-11T10:19:41.4998818Z remote: Compressing objects:  71% (48/67)        
2021-10-11T10:19:41.4999526Z remote: Compressing objects:  73% (49/67)        
2021-10-11T10:19:41.5000228Z remote: Compressing objects:  74% (50/67)        
2021-10-11T10:19:41.5000908Z remote: Compressing objects:  76% (51/67)        
2021-10-11T10:19:41.5001602Z remote: Compressing objects:  77% (52/67)        
2021-10-11T10:19:41.5002300Z remote: Compressing objects:  79% (53/67)        
2021-10-11T10:19:41.5002980Z remote: Compressing objects:  80% (54/67)        
2021-10-11T10:19:41.5003682Z remote: Compressing objects:  82% (55/67)        
2021-10-11T10:19:41.5004358Z remote: Compressing objects:  83% (56/67)        
2021-10-11T10:19:41.5005049Z remote: Compressing objects:  85% (57/67)        
2021-10-11T10:19:41.5005752Z remote: Compressing objects:  86% (58/67)        
2021-10-11T10:19:41.5006435Z remote: Compressing objects:  88% (59/67)        
2021-10-11T10:19:41.5007160Z remote: Compressing objects:  89% (60/67)        
2021-10-11T10:19:41.5008053Z remote: Compressing objects:  91% (61/67)        
2021-10-11T10:19:41.5008735Z remote: Compressing objects:  92% (62/67)        
2021-10-11T10:19:41.5009429Z remote: Compressing objects:  94% (63/67)        
2021-10-11T10:19:41.5010130Z remote: Compressing objects:  95% (64/67)        
2021-10-11T10:19:41.5010812Z remote: Compressing objects:  97% (65/67)        
2021-10-11T10:19:41.5011506Z remote: Compressing objects:  98% (66/67)        
2021-10-11T10:19:41.5012202Z remote: Compressing objects: 100% (67/67)        
2021-10-11T10:19:41.5012902Z remote: Compressing objects: 100% (67/67), done.        
2021-10-11T10:19:41.5014631Z remote: Total 78 (delta 8), reused 40 (delta 2), pack-reused 0        
2021-10-11T10:19:41.5015518Z From https://github.com/Benezivas/algobattle
2021-10-11T10:19:41.5016622Z  * [new ref]         b22f47a5193e46482d3e2f633be500495515ed2c -> pull/13/merge
2021-10-11T10:19:41.5018512Z ##[endgroup]
2021-10-11T10:19:41.5020281Z ##[group]Determining the checkout info
2021-10-11T10:19:41.5021642Z ##[endgroup]
2021-10-11T10:19:41.5054623Z ##[group]Checking out the ref
2021-10-11T10:19:41.5056044Z [command]/usr/bin/git checkout --progress --force refs/remotes/pull/13/merge
2021-10-11T10:19:41.5057102Z Note: switching to 'refs/remotes/pull/13/merge'.
2021-10-11T10:19:41.5057611Z 
2021-10-11T10:19:41.5058492Z You are in 'detached HEAD' state. You can look around, make experimental
2021-10-11T10:19:41.5059401Z changes and commit them, and you can discard any commits you make in this
2021-10-11T10:19:41.5060265Z state without impacting any branches by switching back to a branch.
2021-10-11T10:19:41.5060805Z 
2021-10-11T10:19:41.5061452Z If you want to create a new branch to retain commits you create, you may
2021-10-11T10:19:41.5062462Z do so (now or later) by using -c with the switch command. Example:
2021-10-11T10:19:41.5062987Z 
2021-10-11T10:19:41.5063704Z   git switch -c <new-branch-name>
2021-10-11T10:19:41.5064400Z 
2021-10-11T10:19:41.5065068Z Or undo this operation with:
2021-10-11T10:19:41.5065494Z 
2021-10-11T10:19:41.5066176Z   git switch -
2021-10-11T10:19:41.5066571Z 
2021-10-11T10:19:41.5067320Z Turn off this advice by setting config variable advice.detachedHead to false
2021-10-11T10:19:41.5067927Z 
2021-10-11T10:19:41.5068828Z HEAD is now at b22f47a Merge a9afc5264d96ff9a91825705d5194e74fc3a3978 into 81d688cb3275098c65dee7811196a74fcacb4a6a
2021-10-11T10:19:41.5070530Z ##[endgroup]
2021-10-11T10:19:41.5071340Z [command]/usr/bin/git log -1 --format='%H'
2021-10-11T10:19:41.5072252Z 'b22f47a5193e46482d3e2f633be500495515ed2c'
2021-10-11T10:19:41.5210955Z ##[group]Run actions/setup-python@v2
2021-10-11T10:19:41.5211501Z with:
2021-10-11T10:19:41.5211937Z   python-version: 3.6
2021-10-11T10:19:41.5212825Z   token: ***
2021-10-11T10:19:41.5213467Z ##[endgroup]
2021-10-11T10:19:41.5909748Z Successfully setup CPython (3.6.15)
2021-10-11T10:19:41.5983914Z ##[group]Run python -m pip install --upgrade pip
2021-10-11T10:19:41.5984699Z e[36;1mpython -m pip install --upgrade pipe[0m
2021-10-11T10:19:41.5985327Z e[36;1mpip install flake8 flake8-docstringse[0m
2021-10-11T10:19:41.5986105Z e[36;1mif [ -f requirements.txt ]; then pip install -r requirements.txt; fie[0m
2021-10-11T10:19:41.5986795Z e[36;1mpip install . --usere[0m
2021-10-11T10:19:41.6035341Z shell: /usr/bin/bash -e {0}
2021-10-11T10:19:41.6035816Z env:
2021-10-11T10:19:41.6036396Z   pythonLocation: /opt/hostedtoolcache/Python/3.6.15/x64
2021-10-11T10:19:41.6037159Z   LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.6.15/x64/lib
2021-10-11T10:19:41.6037744Z ##[endgroup]
2021-10-11T10:19:44.8289219Z Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages (21.2.4)
2021-10-11T10:19:45.9352567Z Collecting flake8
2021-10-11T10:19:46.0074728Z   Downloading flake8-4.0.0-py2.py3-none-any.whl (64 kB)
2021-10-11T10:19:46.0550897Z Collecting flake8-docstrings
2021-10-11T10:19:46.0708060Z   Downloading flake8_docstrings-1.6.0-py2.py3-none-any.whl (5.7 kB)
2021-10-11T10:19:46.1829840Z Collecting importlib-metadata<4.3
2021-10-11T10:19:46.2002151Z   Downloading importlib_metadata-4.2.0-py3-none-any.whl (16 kB)
2021-10-11T10:19:46.2272142Z Collecting mccabe<0.7.0,>=0.6.0
2021-10-11T10:19:46.2431142Z   Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
2021-10-11T10:19:46.2761984Z Collecting pycodestyle<2.9.0,>=2.8.0
2021-10-11T10:19:46.2916436Z   Downloading pycodestyle-2.8.0-py2.py3-none-any.whl (42 kB)
2021-10-11T10:19:46.3336635Z Collecting pyflakes<2.5.0,>=2.4.0
2021-10-11T10:19:46.3488198Z   Downloading pyflakes-2.4.0-py2.py3-none-any.whl (69 kB)
2021-10-11T10:19:46.3894779Z Collecting pydocstyle>=2.1
2021-10-11T10:19:46.4044326Z   Downloading pydocstyle-6.1.1-py3-none-any.whl (37 kB)
2021-10-11T10:19:46.4856571Z Collecting zipp>=0.5
2021-10-11T10:19:46.5005353Z   Downloading zipp-3.6.0-py3-none-any.whl (5.3 kB)
2021-10-11T10:19:46.5324943Z Collecting typing-extensions>=3.6.4
2021-10-11T10:19:46.5473911Z   Downloading typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
2021-10-11T10:19:46.5790663Z Collecting snowballstemmer
2021-10-11T10:19:46.5940950Z   Downloading snowballstemmer-2.1.0-py2.py3-none-any.whl (93 kB)
2021-10-11T10:19:46.6760213Z Installing collected packages: zipp, typing-extensions, snowballstemmer, pyflakes, pycodestyle, mccabe, importlib-metadata, pydocstyle, flake8, flake8-docstrings
2021-10-11T10:19:47.0244947Z Successfully installed flake8-4.0.0 flake8-docstrings-1.6.0 importlib-metadata-4.2.0 mccabe-0.6.1 pycodestyle-2.8.0 pydocstyle-6.1.1 pyflakes-2.4.0 snowballstemmer-2.1.0 typing-extensions-3.10.0.2 zipp-3.6.0
2021-10-11T10:19:47.7213789Z Processing /home/runner/work/algobattle/algobattle
2021-10-11T10:19:47.7220001Z   DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
2021-10-11T10:19:47.7221960Z    pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.
2021-10-11T10:19:48.7122130Z Using legacy 'setup.py install' for algobattle, since package 'wheel' is not installed.
2021-10-11T10:19:48.7712507Z Installing collected packages: algobattle
2021-10-11T10:19:48.7731255Z     Running setup.py install for algobattle: started
2021-10-11T10:19:49.1752231Z     Running setup.py install for algobattle: finished with status 'done'
2021-10-11T10:19:49.1812897Z Successfully installed algobattle-1.0.1
2021-10-11T10:19:49.3477546Z ##[group]Run # stop the build if there are Python syntax errors or undefined names
2021-10-11T10:19:49.3478481Z e[36;1m# stop the build if there are Python syntax errors or undefined namese[0m
2021-10-11T10:19:49.3479279Z e[36;1mflake8 . --count --select=E9,F63,F7,F82 --show-source --statistics \e[0m
2021-10-11T10:19:49.3480173Z e[36;1m--per-file-ignores="*/solver_execution_error/main.py:E999 */generator_execution_error/main.py:E999"e[0m
2021-10-11T10:19:49.3481037Z e[36;1m# The GitHub editor is 127 chars widee[0m
2021-10-11T10:19:49.3481779Z e[36;1mflake8 . --count --max-complexity=10 --max-line-length=127 --statistics \e[0m
2021-10-11T10:19:49.3482629Z e[36;1m--per-file-ignores="__init__.py:F401,D104 */solver_execution_error/main.py:E999 \e[0m
2021-10-11T10:19:49.3483557Z e[36;1m*/generator_execution_error/main.py:E999 match.py:E221 */solver/main.py:D100 */generator/main.py:D100" \e[0m
2021-10-11T10:19:49.3484519Z e[36;1m--docstring-convention numpy --ignore=D100,D105,D102,W503e[0m
2021-10-11T10:19:49.3528617Z shell: /usr/bin/bash -e {0}
2021-10-11T10:19:49.3529065Z env:
2021-10-11T10:19:49.3529696Z   pythonLocation: /opt/hostedtoolcache/Python/3.6.15/x64
2021-10-11T10:19:49.3530423Z   LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.6.15/x64/lib
2021-10-11T10:19:49.3531001Z ##[endgroup]
2021-10-11T10:19:50.2301304Z Traceback (most recent call last):
2021-10-11T10:19:50.2303438Z   File "/opt/hostedtoolcache/Python/3.6.15/x64/bin/flake8", line 8, in <module>
2021-10-11T10:19:50.2304589Z     sys.exit(main())
2021-10-11T10:19:50.2306413Z   File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/flake8/main/cli.py", line 22, in main
2021-10-11T10:19:50.2307328Z     app.run(argv)
2021-10-11T10:19:50.2308589Z   File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/flake8/main/application.py", line 375, in run
2021-10-11T10:19:50.2309541Z     self._run(argv)
2021-10-11T10:19:50.2310796Z   File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/flake8/main/application.py", line 364, in _run
2021-10-11T10:19:50.2311748Z     self.run_checks()
2021-10-11T10:19:50.2313023Z   File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/flake8/main/application.py", line 271, in run_checks
2021-10-11T10:19:50.2314074Z     self.file_checker_manager.run()
2021-10-11T10:19:50.2315330Z   File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/flake8/checker.py", line 307, in run
2021-10-11T10:19:50.2316235Z     self.run_parallel()
2021-10-11T10:19:50.2317558Z   File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/flake8/checker.py", line 274, in run_parallel
2021-10-11T10:19:50.2318597Z     filename, results, statistics = ret
2021-10-11T10:19:50.2319523Z TypeError: 'NoneType' object is not iterable
2021-10-11T10:19:50.2328746Z ##[error]Process completed with exit code 1.
2021-10-11T10:19:50.2434210Z Post job cleanup.
2021-10-11T10:19:50.4063747Z [command]/usr/bin/git version
2021-10-11T10:19:50.4064263Z git version 2.33.0
2021-10-11T10:19:50.4069109Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2021-10-11T10:19:50.4070584Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2021-10-11T10:19:50.4072079Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2021-10-11T10:19:50.4073040Z http.https://github.com/.extraheader
2021-10-11T10:19:50.4074186Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2021-10-11T10:19:50.4076088Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2021-10-11T10:19:50.4091190Z Cleaning up orphan processes

The problem seems to have resolved itself. Without changing anything on my side, re-running the workflow on github now succeeds and the flake8 error is no longer thrown.

I assume this was a temporary hickup on Githubs side.