Format using ruff formatter

This commit is contained in:
Eric Torres
2024-03-02 17:42:26 -08:00
parent 2828e30e2e
commit cb8f9fc9c2
5 changed files with 5 additions and 12 deletions

View File

@ -1,16 +1,8 @@
import packaging_scripts.pacman as pacman
import re
import unittest
from hypothesis import given
from hypothesis.strategies import iterables, text
from pathlib import Path
from types import GeneratorType
from unittest.mock import MagicMock, patch
# ========== Constants ==========
TESTING_MODULE = f"packaging_scripts.pacman"
TESTING_MODULE = "packaging_scripts.pacman"
# ========== Unit Tests ==========

View File

@ -10,7 +10,7 @@ from unittest.mock import MagicMock, patch
# ========== Constants ==========
TESTING_MODULE = f"packaging_scripts.pkgfiles"
TESTING_MODULE = "packaging_scripts.pkgfiles"
# Match any pkgfile of any name with the .pkg.tar.* extension
PKGREGEX = r"^[\w.+/-]+\.pkg\.tar(\.\w+)?$"
# Match any sigfile of any name with the .pkg.tar.*.sig extension