浏览代码

Add support for Python 3.11.

Dan Helfman 2 年之前
父节点
当前提交
ca4461820d
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 1 0
      NEWS
  2. 2 2
      tox.ini

+ 1 - 0
NEWS

@@ -10,6 +10,7 @@
    success or failure.
  * #647: Add "--strip-components all" feature on the "extract" action to remove leading path
    components of files you extract. Must be used with the "--path" flag.
+ * Add support for Python 3.11.
 
 1.7.8
  * #620: With the "create" action and the "--list" ("--files") flag, only show excluded files at

+ 2 - 2
tox.ini

@@ -1,5 +1,5 @@
 [tox]
-envlist = py37,py38,py39,py310
+envlist = py37,py38,py39,py310,py311
 skip_missing_interpreters = True
 skipsdist = True
 minversion = 3.14.1
@@ -13,7 +13,7 @@ whitelist_externals =
 passenv = COVERAGE_FILE
 commands =
     pytest {posargs}
-    py38,py39,py310: black --check .
+    py38,py39,py310,py311: black --check .
     isort --check-only --settings-path setup.cfg .
     flake8 borgmatic tests