mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
ruff rule C4
This commit is contained in:
@ -24,11 +24,11 @@ class Command(BaseCommand):
|
||||
def handle(self, *args, **options):
|
||||
deps = settings.SITH_FRONT_DEP_VERSIONS
|
||||
|
||||
processes = dict(
|
||||
(url, create_process(url))
|
||||
processes = {
|
||||
url: create_process(url)
|
||||
for url in deps.keys()
|
||||
if parse_semver(deps[url]) is not None
|
||||
)
|
||||
}
|
||||
|
||||
for url, process in processes.items():
|
||||
try:
|
||||
|
@ -573,7 +573,7 @@ class Migration(migrations.Migration):
|
||||
managers=[("objects", core.models.RealGroupManager())],
|
||||
),
|
||||
migrations.AlterUniqueTogether(
|
||||
name="page", unique_together=set([("name", "parent")])
|
||||
name="page", unique_together={("name", "parent")}
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="user",
|
||||
|
Reference in New Issue
Block a user