Skip to content

Commit

Permalink
Fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
smallwat3r committed Nov 3, 2024
1 parent 9e81fab commit 9058926
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Linting checks
run: |
# stop the build if there are any Python syntax errors
ruff check shhh tests
ruff check shhh tests --exclude shhh/migrations/ --exclude
- name: SAST analysis
run: |
bandit -r shhh -x shhh/static
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ yapf: ## Format python code with yapf
.PHONY: ruff
ruff: ## Run ruff
@echo "Running Ruff report..."
$(PYTHON) -m ruff $(SRC_DIR) $(TEST_DIR)
$(PYTHON) -m ruff check $(SRC_DIR) $(TEST_DIR) --exclude shhh/migrations/ --exclude shhh/static

.PHONY: mypy
mypy: ## Run mypy
Expand Down

0 comments on commit 9058926

Please sign in to comment.