Added Pre-Commit Hooks (#175)

* Added pre commit hook

* Run pre commit hook on all files

---------

Co-authored-by: Horilla <131998600+horilla-opensource@users.noreply.github.com>
This commit is contained in:
Ashwanth Balakrishnan
2024-05-07 12:23:36 +05:30
committed by GitHub
parent 117e8e88c2
commit 58be33a8d7
1117 changed files with 11976 additions and 11690 deletions

View File

@@ -4,24 +4,26 @@ forms.py
from datetime import date
from typing import Any
from django import forms
from django.forms import widgets
from django.utils.translation import gettext_lazy as trans
from django.template.loader import render_to_string
from django.utils.translation import gettext_lazy as trans
from base import thread_local_middleware
from base.forms import Form
from base.methods import reload_queryset
from employee.forms import MultipleFileField
from employee.models import Employee
from payroll.context_processors import get_active_employees
from payroll.models.models import (
Contract,
EncashmentGeneralSettings,
PayrollGeneralSetting,
ReimbursementFile,
ReimbursementrequestComment,
WorkRecord,
)
from payroll.models.models import Contract
from base.methods import reload_queryset
class ModelForm(forms.ModelForm):