summaryrefslogtreecommitdiff
path: root/testenv
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-12-02 14:37:48 +0300
committerDevaev Maxim <[email protected]>2020-12-02 14:37:48 +0300
commit2b064a3bee87a13930e1212b583278ff2a8117db (patch)
tree13aec1649cdda610c3e293386a41698eaaa3ff00 /testenv
parent9dbf7f1d0ba5639ec5a4a699213660d72a3ba1c4 (diff)
basic python 3.9 support
Diffstat (limited to 'testenv')
-rw-r--r--testenv/linters/mypy.ini2
-rw-r--r--testenv/linters/pylint.ini2
-rw-r--r--testenv/tox.ini2
3 files changed, 4 insertions, 2 deletions
diff --git a/testenv/linters/mypy.ini b/testenv/linters/mypy.ini
index a48e58e7..00dd6881 100644
--- a/testenv/linters/mypy.ini
+++ b/testenv/linters/mypy.ini
@@ -1,5 +1,5 @@
[mypy]
-python_version = 3.8
+python_version = 3.9
ignore_missing_imports = true
disallow_untyped_defs = true
strict_optional = true
diff --git a/testenv/linters/pylint.ini b/testenv/linters/pylint.ini
index dff276c6..b2471ffe 100644
--- a/testenv/linters/pylint.ini
+++ b/testenv/linters/pylint.ini
@@ -34,6 +34,8 @@ disable =
len-as-condition,
raise-missing-from,
consider-using-in,
+ unsubscriptable-object,
+# https://github.com/PyCQA/pylint/issues/3882
[CLASSES]
exclude-protected =
diff --git a/testenv/tox.ini b/testenv/tox.ini
index 2da66b1d..ba50e422 100644
--- a/testenv/tox.ini
+++ b/testenv/tox.ini
@@ -3,7 +3,7 @@ envlist = flake8, pylint, mypy, vulture, pytest, eslint, htmlhint
skipsdist = true
[testenv]
-basepython = python3.8
+basepython = python3.9
sitepackages = true
changedir = /src