Skip to content

Commit

Permalink
styles: changes after installed pre-commit on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszszymaniak committed Mar 13, 2024
1 parent 7c75a5f commit 337efec
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ RUN poetry install --no-root

COPY . .
EXPOSE 8000
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
6 changes: 3 additions & 3 deletions .github/workflows/fh_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ jobs:
DB_PORT: 5432

- name: Run Bandit
run: |
run: |
poetry run bandit -r .
- name: Run Safety
run: |
run: |
poetry run safety check
continue-on-error: true
- name: Run Ruff
run: |
poetry run ruff check .
poetry run ruff check .
1 change: 1 addition & 0 deletions recipes/admin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from django.contrib import admin

from .models import Recipe

admin.site.register(Recipe)
2 changes: 1 addition & 1 deletion recipes/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ class RecipesConfig(AppConfig):
name = "recipes"

def ready(self):
from .signals import pre_delete_recipe # noqa: F401
from .signals import pre_delete_recipe # noqa: F401
1 change: 1 addition & 0 deletions users/admin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from django.contrib import admin

from .models import Profile

admin.site.register(Profile)
2 changes: 1 addition & 1 deletion users/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ class UserConfig(AppConfig):
name = "users"

def ready(self):
from .signals import create_profile # noqa: F401
from .signals import create_profile # noqa: F401
2 changes: 1 addition & 1 deletion users/forms.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.contrib.auth.forms import UserCreationForm, User, PasswordResetForm
from django import forms
from django.contrib.auth.forms import PasswordResetForm, User, UserCreationForm


class UserRegisterForm(UserCreationForm):
Expand Down

0 comments on commit 337efec

Please sign in to comment.