drop 3.8, add pytest-retry (#592)
* drop 3.8, add pytest-retry * fix mypy * fix missing import
This commit is contained in:
parent
08d9f3049c
commit
828b1b9810
26 changed files with 321 additions and 362 deletions
|
|
@ -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",
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue