mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 08:52:31 -05:00
Make some dependency changes, support Python 3.10 and 3.11 (#5611)
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
11
tox.ini
11
tox.ini
@@ -7,14 +7,15 @@
|
||||
envlist =
|
||||
py38
|
||||
py39
|
||||
py310
|
||||
py311
|
||||
docs
|
||||
style
|
||||
skip_missing_interpreters = True
|
||||
isolated_build = True
|
||||
|
||||
[testenv]
|
||||
description = Run tests and basic automatic issue checking.
|
||||
whitelist_externals =
|
||||
allowlist_externals =
|
||||
pytest
|
||||
pylint
|
||||
extras = test
|
||||
@@ -27,7 +28,7 @@ commands =
|
||||
|
||||
[testenv:postgres]
|
||||
description = Run pytest with PostgreSQL backend
|
||||
whitelist_externals =
|
||||
allowlist_externals =
|
||||
pytest
|
||||
extras = test, postgres
|
||||
setenv =
|
||||
@@ -46,7 +47,7 @@ commands =
|
||||
|
||||
[testenv:docs]
|
||||
description = Attempt to build docs with sphinx-build
|
||||
whitelist_externals =
|
||||
allowlist_externals =
|
||||
sphinx-build
|
||||
make
|
||||
setenv =
|
||||
@@ -61,7 +62,7 @@ commands =
|
||||
|
||||
[testenv:style]
|
||||
description = Stylecheck the code with black to see if anything needs changes.
|
||||
whitelist_externals =
|
||||
allowlist_externals =
|
||||
make
|
||||
setenv =
|
||||
# This is just for Windows
|
||||
|
||||
Reference in New Issue
Block a user