SoyGema / pulling_ace

4 stars 0 forks source link

[Sweep Rules] Fix Inconsistent Coding Style and Formatting #41

Closed sweep-ai[bot] closed 12 months ago

sweep-ai[bot] commented 12 months ago

PR Feedback (click)

Summary of Changes

sweep-ai[bot] commented 12 months ago

Rollback Files For Sweep

sweep-ai[bot] commented 12 months ago

Sandbox Executions

sweep-ai[bot] commented 12 months ago

The command: Run pipenv run black --check . yielded the following error: `##[error]Process completed with exit code 123.

[group]Run docker build . -t pulling_ace:test

docker build . -t pulling_ace:test shell: /usr/bin/bash -e {0}

[endgroup]

0 building with "default" instance using docker driver

1 [internal] load .dockerignore

1 transferring context: 145B done

1 DONE 0.0s

2 [internal] load build definition from Dockerfile

2 transferring dockerfile: 1.22kB done

2 DONE 0.0s

3 [internal] load metadata for docker.io/library/python:3.10-slim

3 ...

4 [auth] library/python:pull token for registry-1.docker.io

4 DONE 0.0s

3 [internal] load metadata for docker.io/library/python:3.10-slim

3 DONE 1.2s

5 [internal] load build context

5 transferring context: 170.52kB done

5 DONE 0.0s

6 [python-deps 1/7] COPY Pipfile Pipfile.lock /app/

6 CACHED

7 [python-deps 2/7] COPY . /app

7 CACHED

8 [python-deps 3/7] WORKDIR /app

8 CACHED

9 [python-deps 4/7] COPY pulling_ace /app/pulling_ace

9 ERROR: failed to calculate checksum of ref 5ee0a90d-9ba7-4120-a52c-7d8898402fd7::z4mgtm906fgrr131e5ug3zwll: "/pulling_ace": not found

10 [base 1/1] FROM docker.io/library/python:3.10-slim@sha256:3c9182c6498d7de6044be04fb1785ba3a04f953d515d45e5007e8be1c15fdd34

10 resolve docker.io/library/python:3.10-slim@sha256:3c9182c6498d7de6044be04fb1785ba3a04f953d515d45e5007e8be1c15fdd34 done

10 sha256:3c9182c6498d7de6044be04fb1785ba3a04f953d515d45e5007e8be1c15fdd34 1.65kB / 1.65kB done

10 sha256:9a5af4ca0c7678180db9bab26506d0f8959e5a6c32cc5349b7bdcd712790c0f3 1.37kB / 1.37kB done

10 sha256:a9e021b7cfa1ac0b0cb401c04110e523878b46276735710ce120f940e9523700 6.94kB / 6.94kB done

10 CANCELED


[python-deps 4/7] COPY pulling_ace /app/pulling_ace:

Dockerfile:19

17 |
18 | # Copy the pulling_ace directory into the Docker image 19 | >>> COPY pulling_ace /app/pulling_ace 20 |
21 | # Install pipenv and compilation dependencies

ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 5ee0a90d-9ba7-4120-a52c-7d8898402fd7::z4mgtm906fgrr131e5ug3zwll: "/pulling_ace": not found

[error]Process completed with exit code 1.`

Here are the logs:


error: cannot format pulling_ace/cli.py: Cannot parse: 39:4:     run_injections(args.model_type, args.model_name, args.probes)
would reformat setup.py

Oh no! 💥 💔 💥 1 file would be reformatted, 18 files would be left unchanged, 1 file would fail to reformat.

sweep-ai[bot] commented 12 months ago

🚀 Wrote Changes

Done.