Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 29, 2024
1 parent 25200ed commit 457da78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions learning_resources/etl/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ def get_olx_test_docs():
script_dir = pathlib.Path(__file__).parent.absolute().parent.parent
with TemporaryDirectory() as temp:
check_call(
[ # noqa: S603,S607
[ # noqa: S607
"tar",
"xf",
pathlib.Path(script_dir, "test_json", "exported_courses_12345.tar.gz"),
],
cwd=temp,
)
check_call(
["tar", "xf", "content-devops-0001.tar.gz"], # noqa: S603,S607
["tar", "xf", "content-devops-0001.tar.gz"], # noqa: S607
cwd=temp,
)

Expand Down
2 changes: 1 addition & 1 deletion main/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "main.settings")

from django.conf import settings # noqa: E402
from django.conf import settings

app = Celery("main")
app.config_from_object("django.conf:settings", namespace="CELERY")
Expand Down
2 changes: 1 addition & 1 deletion repl.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

sys.exit(
check_call(
[ # noqa: S603
[
os.path.join(base_dir, "manage.py"), # noqa: PTH118
"shell",
*sys.argv[1:],
Expand Down

0 comments on commit 457da78

Please sign in to comment.