wwzeng1 / touch_typing_practice

0 stars 0 forks source link

Sweep(sandbox): touch_typing_practice/main.py #1

Open wwzeng1 opened 10 months ago

wwzeng1 commented 10 months ago

Details

No response

sweep-nightly[bot] commented 10 months ago
Sweeping

100%
💎 Sweep Pro: I'm using GPT-4. You have unlimited GPT-4 tickets. (tracking ID: 122b34cd3c)

![Docker Version Updated](https://img.shields.io/badge/Docker%20Version%20Updated-17%20hours%20ago-blue)

Actions (click)


📖 Reading File

Running sandbox for touch_typing_practice/main.py. Current Code:

https://github.com/wwzeng1/touch_typing_practice/blob/6776b013ddb8ed641493c6df1695a67aa929c36a/touch_typing_practice/main.py#L1-L45


🛠️ Executing Sandbox


Sandbox logs
pip install -r requirements.txt 1/4 ✓
Collecting iniconfig==2.0.0
  Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting packaging==23.2
  Downloading packaging-23.2-py3-none-any.whl (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 KB 1.4 MB/s eta 0:00:00
Collecting pluggy==1.3.0
  Downloading pluggy-1.3.0-py3-none-any.whl (18 kB)
Collecting polyglot==16.7.4
  Downloading polyglot-16.7.4.tar.gz (126 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.3/126.3 KB 7.2 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting pytest==7.4.3
  Downloading pytest-7.4.3-py3-none-any.whl (325 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 325.1/325.1 KB 20.5 MB/s eta 0:00:00
Collecting exceptiongroup>=1.0.0rc8
  Downloading exceptiongroup-1.1.3-py3-none-any.whl (14 kB)
Requirement already satisfied: tomli>=1.0.0 in /usr/local/lib/python3.10/dist-packages (from pytest==7.4.3->-r requirements.txt (line 5)) (2.0.1)
Building wheels for collected packages: polyglot
  Building wheel for polyglot (setup.py): started
  Building wheel for polyglot (setup.py): finished with status 'done'
  Created wheel for polyglot: filename=polyglot-16.7.4-py2.py3-none-any.whl size=52577 sha256=93a7309718670d3b05983486e82cac7950a07b7713fd9c97c25d2e2573ba9bf5
  Stored in directory: /root/.cache/pip/wheels/aa/92/4a/b172589446ba537db3bdb9a1f2204f27fe71217981c14ac368
Successfully built polyglot
Installing collected packages: polyglot, pluggy, packaging, iniconfig, exceptiongroup, pytest
  Attempting uninstall: packaging
    Found existing installation: packaging 23.1
    Uninstalling packaging-23.1:
      Successfully uninstalled packaging-23.1
Successfully installed exceptiongroup-1.1.3 iniconfig-2.0.0 packaging-23.2 pluggy-1.3.0 polyglot-16.7.4 pytest-7.4.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
trunk init 2/4 ✓
⥿ Downloading Trunk 1.17.2...
⥿ Downloading Trunk 1.17.2...
⢿ Downloading Trunk 1.17.2...
⣝ Downloading Trunk 1.17.2...
⣽ Downloading Trunk 1.17.2...
⣞ Downloading Trunk 1.17.2...
⣡ Downloading Trunk 1.17.2...
⣯ Downloading Trunk 1.17.2...
⣟ Downloading Trunk 1.17.2...
⥿ Downloading Trunk 1.17.2...
⢿ Downloading Trunk 1.17.2...
⣝ Downloading Trunk 1.17.2...
⣽ Downloading Trunk 1.17.2...
✔ Downloading Trunk 1.17.2... done
⥿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⥿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 15 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.26 (1 github-workflow file)
  bandit 1.7.5 (9 python files)
  black 23.9.1 (7 python files)
  checkov 3.0.38 (4 yaml files)
  git-diff-check (32 files)
  isort 5.12.0 (9 python files) (created .isort.cfg)
  markdownlint 0.37.0 (4 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.3 (1 lockfile file)
  oxipng 9.0.0 (3 png files)
  prettier 3.1.0 (4 markdown, 4 yaml files)
  ruff 0.1.5 (9 python files) (created ruff.toml)
  svgo 3.0.3 (3 svg files) (created svgo.config.js)
  trivy 0.47.0 (4 yaml files)
  trufflehog 3.62.1 (32 files)
  yamllint 1.33.0 (4 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt touch_typing_practice/main.py || exit 0 3/4 ✓
 ✔ Formatted touch_typing_practice/main.py
Re-checking autofixed files...

 ✔ Formatted touch_typing_practice/main.py
Re-checking autofixed files...

Checked 1 file
✔ No issues
trunk check --fix --print-failures touch_typing_practice/main.py 4/4 ✓
Checked 1 file
✔ No issues

Sandbox made not changes to touch_typing_practice/main.py (formatters not configured or didn't make changes).


🎉 Latest improvements to Sweep:


💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. Join Our Discord