chore: clean files using pre-commit

environments/review-docs-pre-c-zs4ui8/deployments/15563
jo 2022-11-18 22:12:21 +01:00 zatwierdzone przez Marge Me
rodzic f4dbc584e1
commit 0061e82ecd
81 zmienionych plików z 137 dodań i 128 usunięć

Wyświetl plik

@ -24,4 +24,3 @@ the **Create issue** button and we'll work with you to sort out the issue.
Happy listening! :whale:
-->

Wyświetl plik

@ -51,7 +51,7 @@
},
{
"matchPackageNames": ["node"],
"allowedVersions": "/\d+[02468]$/"
"allowedVersions": "/\\d+[02468]$/"
},
{
"matchFiles": ["deploy/docker-compose.yml"],

Wyświetl plik

@ -20,5 +20,6 @@ repos:
- id: check-vcs-permalinks
- id: check-merge-conflict
- id: end-of-file-fixer
exclude: ^(docs/locales/.*/LC_MESSAGES)
- id: mixed-line-ending
- id: trailing-whitespace

3
.vscode/launch.json vendored
Wyświetl plik

@ -1,7 +1,4 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{

Wyświetl plik

@ -46,7 +46,7 @@ urlpatterns = [
# with proper key.
# If you don't want to use API on that step, then just use ConfirmEmailView
# view from:
# djang-allauth https://github.com/pennersr/django-allauth/blob/master/allauth/account/views.py#L190
# https://github.com/pennersr/django-allauth/blob/a62a370681/allauth/account/views.py#L291
url(
r"^registration/account-confirm-email/(?P<key>\w+)/?$",
TemplateView.as_view(),

Wyświetl plik

@ -1,4 +1,5 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import django
import os
import sys

0
deploy/Gentoo/funkwhale_beat 100644 → 100755
Wyświetl plik

0
deploy/Gentoo/funkwhale_server 100644 → 100755
Wyświetl plik

0
deploy/Gentoo/funkwhale_worker 100644 → 100755
Wyświetl plik

0
docs/conf.py 100644 → 100755
Wyświetl plik

0
docs/serve.py 100644 → 100755
Wyświetl plik

2
front/scripts/contextualize.py 100644 → 100755
Wyświetl plik

@ -1,3 +1,5 @@
#!/usr/bin/env python3
import argparse
import polib

Wyświetl plik

@ -1,4 +1,5 @@
#!/usr/bin/env python3
"""
This scripts handles all the heavy-lifting of parsing CSS files from ``fomantic-ui-css`` and:

Wyświetl plik

@ -1,3 +1,5 @@
#!/usr/bin/env python3
import argparse
import collections
import polib

2
front/scripts/utils.sh 100644 → 100755
Wyświetl plik

@ -1,4 +1,4 @@
#!/usr/bin/env bash -S -eux
#!/usr/bin/env -S bash -eux
npm_binaries () {
command -v yarn > /dev/null && yarn bin || npm bin

Wyświetl plik

@ -12,5 +12,3 @@ body {
text-decoration: var(--link-hover-text-decoration);
}
}

Wyświetl plik

@ -0,0 +1 @@
{}

Wyświetl plik

@ -1,3 +1,5 @@
#!/usr/bin/env bash
outdated=$(pip list -o)
echo -n "$outdated"
return_code=$(echo -n "$outdated" | wc -l)

2
scripts/clean-unused-artifacts.py 100644 → 100755
Wyświetl plik

@ -1,3 +1,5 @@
#!/usr/bin/env python3
import gitlab
TOKEN = "CHANGEME"

Wyświetl plik

@ -1,3 +1,5 @@
#!/usr/bin/env python3
import argparse
import requests
import os

Wyświetl plik

@ -1,4 +1,5 @@
#!/usr/bin/env python3
import argparse
import json
import sys