Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/kittycad-0.6.24
Browse files Browse the repository at this point in the history
* main:
  format
  • Loading branch information
jessfraz committed Sep 10, 2024
2 parents 44c9ce0 + 5df1833 commit 59e5cbb
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 38 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/black.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ jobs:
shell: bash
run: |
ruff check --output-format=github . */*/*.py
ruff format --check
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM python:3.9

RUN pip install \
black \
isort \
mypy \
ruff
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ format: docker-image ## Format all the python files.
--disable-content-trust \
-v $(CURDIR):/home/user/src \
--workdir /home/user/src \
$(DOCKER_IMAGE_NAME) sh -c 'isort . */*/*.py && black . */*/*.py && ruff check --fix . */*/*.py'
$(DOCKER_IMAGE_NAME) sh -c 'isort . */*/*.py && ruff format && ruff check --fix . */*/*.py'

.PHONY: shell
shell: docker-image ## Pop into a shell in the docker image.
Expand Down
2 changes: 0 additions & 2 deletions tutorials/websocket_tutorial/websocketexample.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@


def make_cube():

# Create our client.
client = ClientFromEnv()

Expand All @@ -37,7 +36,6 @@ def make_cube():
video_res_width=480,
webrtc=False,
) as websocket:

# Draw a sqaure

# Start the Path
Expand Down

0 comments on commit 59e5cbb

Please sign in to comment.