Skip to content

Commit

Permalink
fix: Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor authored Jul 25, 2024
1 parent 2084155 commit ea7fdac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ exclude = [
line-length = 120
indent-width = 4

# Assume Python 3.8
target-version = "py38"
# Assume Python 3.11
target-version = "py311"

[lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
Expand Down
2 changes: 1 addition & 1 deletion scripts/lint-back
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# Ruff allows you to lint your Python code with a variety of linters.
# This script runs the Ruff linter on the backend codebase.
# It uses the `ruff check` command to lint the codebase.
# The ` --watch` flag tells Ruff to watch the codebase for changes and re-lint the codebase when changes are detected.
# The `--watch` flag tells Ruff to watch the codebase for changes and re-lint the codebase when changes are detected.
# The `--fix` flag tells Ruff to automatically fix any linting errors that it can.
docker-compose run --rm server bash -c "ruff check $@"

0 comments on commit ea7fdac

Please sign in to comment.