Use specific versions in requirements
Some checks failed
Build Docker image / test (push) Successful in 2m30s
Build Docker image / build (push) Failing after 3m19s

This commit is contained in:
Roman Krček
2024-10-13 18:22:18 +02:00
parent e688b6d62b
commit 48bd21f14f
4 changed files with 7 additions and 8 deletions

View File

@@ -1,4 +1,3 @@
integv==1.3.0
pyrogram==2.0.106 pyrogram==2.0.106
tiktok_downloader==0.3.5 tiktok_downloader==0.3.5
uvloop==0.19.0 uvloop==0.19.0

View File

@@ -6,6 +6,7 @@ from pyrogram import Client
from pyrogram.types import Message from pyrogram.types import Message
from tiktok_downloader import snaptik from tiktok_downloader import snaptik
def sanitize_name(input: str) -> str: def sanitize_name(input: str) -> str:
"""Sanize string by removing non aplhanumeric characters and spaces.""" """Sanize string by removing non aplhanumeric characters and spaces."""
output = re.sub("[^a-zA-Z0-9- ]", "", input) output = re.sub("[^a-zA-Z0-9- ]", "", input)

View File

@@ -1,6 +1,5 @@
codespell codespell==2.3.0
flake8 flake8==7.1.1
bandit bandit==1.7.10
pytest stestr==4.1.0
stestr coverage==7.6.2
coverage

View File

@@ -1,5 +1,5 @@
[tox] [tox]
envlist = py311, flake8, bandit, codespell, unit envlist = py311, flake8, bandit, codespell, unit, coverage
[testenv] [testenv]
basepython = python3.11 basepython = python3.11