Skip to content

Commit

Permalink
chore(pre-commit): autoupdate hooks (#1860)
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Jan 29, 2024
2 parents 5f41656 + e2d05cc commit 4a220d5
Show file tree
Hide file tree
Showing 29 changed files with 30 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
args: ["--maxkb=1500"]

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
types:
Expand All @@ -48,7 +48,7 @@ repos:
- python

- repo: https://github.com/pycqa/bandit
rev: 1.7.6
rev: 1.7.7
hooks:
- id: bandit
args: ["-ll"]
Expand Down
1 change: 1 addition & 0 deletions benefits/core/admin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: Admin interface configuration.
"""

from django.conf import settings


Expand Down
1 change: 1 addition & 0 deletions benefits/core/analytics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: analytics implementation.
"""

import itertools
import json
import logging
Expand Down
1 change: 1 addition & 0 deletions benefits/core/apps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: Houses base templates and reusable models and components.
"""

from django.apps import AppConfig


Expand Down
1 change: 1 addition & 0 deletions benefits/core/context_processors.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: context processors for enriching request context data.
"""

from django.conf import settings

from . import models, session
Expand Down
1 change: 1 addition & 0 deletions benefits/core/middleware.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: middleware definitions for request/response cycle.
"""

import logging

from django.conf import settings
Expand Down
1 change: 1 addition & 0 deletions benefits/core/migrations/0002_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Data migration which loads configuration data for Benefits.
"""

import json
import os

Expand Down
1 change: 1 addition & 0 deletions benefits/core/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: Common model definitions.
"""

import importlib
import logging

Expand Down
1 change: 1 addition & 0 deletions benefits/core/recaptcha.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: helpers to work with reCAPTCHA.
"""

import requests

from django.conf import settings
Expand Down
1 change: 1 addition & 0 deletions benefits/core/session.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: helpers to work with request sessions.
"""

import hashlib
import logging
import time
Expand Down
1 change: 1 addition & 0 deletions benefits/core/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: URLConf for the root of the webapp.
"""

import logging

from django.urls import path, register_converter
Expand Down
1 change: 1 addition & 0 deletions benefits/core/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: view definition for the root of the webapp.
"""

from django.http import HttpResponse, HttpResponseBadRequest, HttpResponseNotFound, HttpResponseServerError
from django.template import loader
from django.template.response import TemplateResponse
Expand Down
1 change: 1 addition & 0 deletions benefits/core/widgets.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: Helper form widgets.
"""

import copy
from django.forms import widgets

Expand Down
1 change: 1 addition & 0 deletions benefits/eligibility/analytics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The eligibility application: analytics implementation.
"""

from benefits.core import analytics as core


Expand Down
1 change: 1 addition & 0 deletions benefits/eligibility/apps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The eligibility application: Verifies eligibility for benefits.
"""

from django.apps import AppConfig


Expand Down
1 change: 1 addition & 0 deletions benefits/eligibility/forms.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The eligibility application: Form definition for the eligibility verification flow.
"""

import logging

from django import forms
Expand Down
1 change: 1 addition & 0 deletions benefits/eligibility/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The eligibility application: URLConf for the eligibility verification flow.
"""

from django.urls import path

from . import views
Expand Down
1 change: 1 addition & 0 deletions benefits/eligibility/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The eligibility application: view definitions for the eligibility verification flow.
"""

from django.contrib import messages
from django.shortcuts import redirect
from django.template.response import TemplateResponse
Expand Down
1 change: 1 addition & 0 deletions benefits/enrollment/analytics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The enrollment application: analytics implementation.
"""

from benefits.core import analytics as core


Expand Down
1 change: 1 addition & 0 deletions benefits/enrollment/api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The enrollment application: Benefits Enrollment API implementation.
"""

import logging
from tempfile import NamedTemporaryFile
import time
Expand Down
1 change: 1 addition & 0 deletions benefits/enrollment/apps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The enrollment application: Allows user to enroll payment device for benefits.
"""

from django.apps import AppConfig


Expand Down
1 change: 1 addition & 0 deletions benefits/enrollment/forms.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The enrollment application: Form definitions for results from Hosted Card Verification Flow.
"""

from django import forms


Expand Down
1 change: 1 addition & 0 deletions benefits/enrollment/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The enrollment application: URLConf for the benefits enrollment flow.
"""

from django.urls import path

from . import views
Expand Down
1 change: 1 addition & 0 deletions benefits/enrollment/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The enrollment application: view definitions for the benefits enrollment flow.
"""

import logging

from django.http import JsonResponse
Expand Down
1 change: 1 addition & 0 deletions benefits/oauth/analytics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The oauth application: analytics implementation.
"""

from benefits.core import analytics as core, session


Expand Down
1 change: 1 addition & 0 deletions benefits/oauth/apps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The oauth application: Implements OAuth-based authentication
"""

from django.apps import AppConfig


Expand Down
1 change: 1 addition & 0 deletions benefits/settings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Django settings for benefits project.
"""

import os

from benefits import sentry
Expand Down
1 change: 1 addition & 0 deletions benefits/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/4.0/topics/http/urls/
"""

import logging

from django.conf import settings
Expand Down
1 change: 1 addition & 0 deletions benefits/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
For more information on this file, see
https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/
"""

import os

from django.core.wsgi import get_wsgi_application
Expand Down

0 comments on commit 4a220d5

Please sign in to comment.