Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: pre-commit autoupdate #965

Merged
merged 2 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ fail_fast: true

repos:
- repo: https://github.com/adamchainz/django-upgrade
rev: '1.15.0'
rev: '1.16.0'
hooks:
- id: django-upgrade
args: [--target-version, "3.2"]
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.2
hooks:
- id: pyupgrade
args: ["--py310-plus"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.0
rev: v0.4.3
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
1 change: 1 addition & 0 deletions core/management/commands/handle_emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This is run via a scheduled task every hour and checks if there are any emails that need sending.

"""

import logging
from smtplib import SMTPException

Expand Down
1 change: 1 addition & 0 deletions patreonmanager/utils/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

Requires requests and lxml.
"""

import logging
import re
from datetime import datetime
Expand Down
1 change: 1 addition & 0 deletions tests/core/test_cron_emails.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for cron-emails sent out by the handle_emails management command."""

import pytest
from click.testing import CliRunner
from django.utils import timezone
Expand Down
Loading