Open wwzeng1 opened 1 year ago
122b34cd3c
)Running sandbox for touch_typing_practice/main.py. Current Code:
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).
rope
library to refactor Python! Check out Large Language Models are Bad at Refactoring Code. To have Sweep refactor your code, try sweep: Refactor <your_file>.py
!đĄ 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
Details
No response