2
0
Эх сурвалжийг харах

Add support for Python 3.11.

Dan Helfman 2 жил өмнө
parent
commit
ca4461820d
2 өөрчлөгдсөн 3 нэмэгдсэн , 2 устгасан
  1. 1 0
      NEWS
  2. 2 2
      tox.ini

+ 1 - 0
NEWS

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

+ 2 - 2
tox.ini

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