Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x GitHub操作:无法找到具有GitHub操作的输入文件_Python 3.x_Github_Github Actions - Fatal编程技术网

Python 3.x GitHub操作:无法找到具有GitHub操作的输入文件

Python 3.x GitHub操作:无法找到具有GitHub操作的输入文件,python-3.x,github,github-actions,Python 3.x,Github,Github Actions,我正在尝试运行“生成lint”命令。为此,我写了以下GitHub操作: name: main on: push jobs: super-lint: name: Lint code base runs-on: windows-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: TESTING SERGEY

我正在尝试运行“生成lint”命令。为此,我写了以下GitHub操作:

name: main

on: push

jobs:

  super-lint:

    name: Lint code base
    runs-on: windows-latest

    steps:
      - name: Checkout code
        uses: actions/checkout@v2
        
      - name: TESTING SERGEY      
        run: make lint 

      - name: Run Super-Linter
        uses: github/super-linter@v3
        env:
          DEFAULT_BRANCH: master
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
我正在使用Windows 10,但它给了我一个错误:

 Run make lint
 make lint
 shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
 poetry run flake8 brain_games
 process_begin: CreateProcess(NULL, poetry run flake8 brain_games, ...) failed.
 make (e=2): The system cannot find the file specified.

 mingw32-make: *** [Makefile:5: lint] Error 2
 Error: Process completed with exit code 1.
我尝试更改Powershell默认文件夹,但未成功。我还试图在“run:makelint”之后添加路径“C:\Python\u Work\u for\u Hexlet\Python-project-lvl1/”,但也没有成功


请帮忙

路径中可能未安装或未安装诗歌。试着像我尝试的那样使用动作。同样的错误你说的风投是什么意思?您正在使用的是
windows最新版本
。我指的是Visual Studio代码。GitHub操作中的代码没有在您的计算机上运行(windows 10+VSC+POYMENT)。它运行在GitHub托管的运行程序上,运行的是
windows最新版本
(在本文发布时,resloves to
windows-2019
)以及在中指定的软件。这里面没有诗。