Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
BrittleFoot committed Jun 5, 2024
1 parent 17b278e commit 6c8a4ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ deps:
pip-sync requirements.txt requirements-dev.txt

lint:
ruff lint src
ruff check src

fix:
ruff format src && ruff lint src --fix
ruff format src && ruff check src --fix

test:
pytest src $(ARGS)
Expand Down
4 changes: 1 addition & 3 deletions src/app/urls/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
path("admin/", admin.site.urls),
path(
"openapi/",
get_schema_view(
title="", description="OpenAPI schema", version="1.0.0"
),
get_schema_view(title="", description="OpenAPI schema", version="1.0.0"),
name="openapi-schema",
),
]
1 change: 1 addition & 0 deletions src/manage.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""

import os
import sys

Expand Down

0 comments on commit 6c8a4ae

Please sign in to comment.