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
tiktok_downloader==0.3.5
uvloop==0.19.0

View File

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

View File

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

View File

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