Skip to content

Commit

Permalink
Add ruff fixer ™️
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzaadi committed Sep 16, 2024
1 parent b89ebba commit f9fcfe3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ define deactivate_virtualenv
fi
endef

.SILENT: install install/all test/all lint build run new test test/watch clean bump/integrations bump/single-integration execute/all
.SILENT: install install/all test/all lint lint/fix build run new test test/watch clean bump/integrations bump/single-integration execute/all


# Install dependencies
Expand Down Expand Up @@ -102,6 +102,7 @@ lint:
lint/fix:
$(ACTIVATE) && \
black .
ruff check --fix .

# Development commands
build:
Expand Down
7 changes: 6 additions & 1 deletion integrations/_infra/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ define deactivate_virtualenv
fi
endef

.SILENT: install install/prod install/local-core lint run test clean
.SILENT: install install/prod install/local-core lint lint/fix run test clean

install:
$(call deactivate_virtualenv) && \
Expand All @@ -56,6 +56,11 @@ lint:
$(ACTIVATE) && \
$(call run_checks,.)

lint/fix:
$(ACTIVATE) && \
black .
ruff check --fix .

run:
$(ACTIVATE) && ocean sail

Expand Down

0 comments on commit f9fcfe3

Please sign in to comment.