-
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] pre-commit autoupdate (#454)
updates: - [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.5.0](pre-commit/pre-commit-hooks@v4.3.0...v4.5.0) - [github.com/hadialqattan/pycln: v1.3.5 → v2.4.0](hadialqattan/pycln@v1.3.5...v2.4.0) - [github.com/asottile/yesqa: v1.3.0 → v1.5.0](asottile/yesqa@v1.3.0...v1.5.0) - [github.com/pycqa/isort: 5.12.0 → 5.13.2](PyCQA/isort@5.12.0...5.13.2) - [github.com/psf/black: 22.6.0 → 24.1.1](psf/black@22.6.0...24.1.1) - [github.com/asottile/pyupgrade: v2.34.0 → v3.15.0](asottile/pyupgrade@v2.34.0...v3.15.0) - https://github.com/pre-commit/mirrors-autopep8 → https://github.com/hhatto/autopep8 - [github.com/hhatto/autopep8: v1.6.0 → v2.0.4](hhatto/autopep8@v1.6.0...v2.0.4) - [github.com/PyCQA/flake8: 4.0.1 → 7.0.0](PyCQA/flake8@4.0.1...7.0.0) - [github.com/adrienverge/yamllint: v1.26.3 → v1.33.0](adrienverge/yamllint@v1.26.3...v1.33.0)
- Loading branch information
1 parent
f8f7c58
commit 765a75d
Showing
10 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Base database connectors | ||
""" | ||
|
||
import logging | ||
import os | ||
import shlex | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Abstract Command. | ||
""" | ||
|
||
import logging | ||
import sys | ||
from optparse import make_option as optparse_make_option | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Restore media files. | ||
""" | ||
|
||
import tarfile | ||
|
||
from django.core.files.storage import get_storage_class | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Utils for handle files. | ||
""" | ||
|
||
import logging | ||
|
||
from django.core.exceptions import ImproperlyConfigured | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Tests for base command class. | ||
""" | ||
|
||
import logging | ||
import os | ||
from io import BytesIO | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Tests for dbbackup command. | ||
""" | ||
|
||
import os | ||
|
||
from django.test import TestCase | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Tests for dbrestore command. | ||
""" | ||
|
||
from shutil import copyfileobj | ||
from tempfile import mktemp | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Configuration and launcher for dbbackup tests. | ||
""" | ||
|
||
import os | ||
import sys | ||
import tempfile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters