drop 3.8, add pytest-retry (#592)

* drop 3.8, add pytest-retry

* fix mypy

* fix missing import
This commit is contained in:
sigma67 2024-07-13 20:40:50 +02:00 • committed by GitHub
commit 828b1b9810
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 321 additions and 362 deletions

View file

@ -1,7 +1,7 @@
[project]
name = "ytmusicapi"
description = "Unofficial API for YouTube Music"
requires-python = ">=3.8"
requires-python = ">=3.9"
authors=[{name = "sigma67", email= "ytmusicapi@gmail.com"}]
license={file="LICENSE"}
classifiers = [
@ -43,7 +43,7 @@ include-package-data=false
[tool.pytest.ini_options]
python_functions = "test_*"
testpaths = ["tests"]
addopts = "--verbose --cov"
addopts = "--verbose --cov --retries 2 --retry-delay 5"
[tool.coverage.run]
source = ["ytmusicapi"]
@ -78,4 +78,5 @@ dev = [
"pytest>=7.4.4",
"pytest-cov>=4.1.0",
"types-requests>=2.31.0.20240218",
"pytest-retry>=1.6.3",
]