Add support for Minecraft 1.18 and 1.18.1.
This commit is contained in:
1 parent
1ae9a2b48a
commit
bf49006553
17 files changed
+322
-75
No files matched your search
@@ -4,7 +4,7 @@
|
||||
# and then run "tox" from this directory.
|
||||
|
||||
[tox]
|
||||
envlist = py35, py36, py37, py38, pypy, flake8, pylint-errors, pylint-full, verify-manifest
|
||||
envlist = py35, py36, py37, py38, py39, pypy, flake8, pylint-errors, pylint-full, verify-manifest
|
||||
|
||||
[testenv]
|
||||
commands = nosetests --with-timer
|
||||
@@ -27,7 +27,7 @@ commands =
|
||||
deps =
|
||||
coveralls
|
||||
|
||||
[testenv:py38]
|
||||
[testenv:py39]
|
||||
setenv =
|
||||
PYCRAFT_RUN_INTERNET_TESTS=1
|
||||
commands =
|
||||
@@ -41,7 +41,7 @@ deps =
|
||||
mock
|
||||
|
||||
[testenv:flake8]
|
||||
basepython = python3.8
|
||||
basepython = python3.9
|
||||
commands =
|
||||
flake8 minecraft tests setup.py start.py bin/generate_travis_yml.py
|
||||
deps =
|
||||
@@ -54,14 +54,14 @@ per-file-ignores =
|
||||
minecraft/networking/packets/__init__.py:F401
|
||||
|
||||
[testenv:pylint-errors]
|
||||
basepython = python3.8
|
||||
basepython = python3.9
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
pylint
|
||||
commands = pylint minecraft -E
|
||||
|
||||
[testenv:pylint-full]
|
||||
basepython = python3.8
|
||||
basepython = python3.9
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
pylint
|
||||
@@ -69,7 +69,7 @@ commands =
|
||||
- pylint minecraft --disable=E
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python3.8
|
||||
basepython = python3.9
|
||||
deps =
|
||||
{[testenv:cover]deps}
|
||||
sphinx
|
||||
@@ -78,7 +78,7 @@ commands =
|
||||
{toxinidir}/bin/build_docs
|
||||
|
||||
[testenv:verify-manifest]
|
||||
basepython = python3.8
|
||||
basepython = python3.9
|
||||
deps =
|
||||
check-manifest
|
||||
commands =
|
||||
|
||||
Reference in new issue
Block a user