Przeglądaj źródła

minor tox.ini improvements

- consistent indentation with spaces
- use pytest, not py.test
- consistent empty lines between sections
- remove empty changedir lines
Thomas Waldmann 2 tygodni temu
rodzic
commit
8e08273128
1 zmienionych plików z 6 dodań i 8 usunięć
  1. 6 8
      tox.ini

+ 6 - 8
tox.ini

@@ -4,10 +4,11 @@
 [tox]
 envlist = py{39,310,311,312,313}-{none,fuse2,fuse3}
 requires =
-	pkgconfig
-	cython
-	wheel
-	setuptools_scm
+    pkgconfig
+    cython
+    wheel
+    setuptools_scm
+
 [testenv]
 setenv =
    fuse2: BORG_FUSE_IMPL=llfuse
@@ -16,19 +17,16 @@ deps =
     fuse2: llfuse
     fuse3: pyfuse3
     -rrequirements.d/development.txt
-commands = py.test -v -n {env:XDISTN:1} -rs --cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
+commands = pytest -v -n {env:XDISTN:1} -rs --cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
 # fakeroot -u needs some env vars:
 passenv = *
 
-
 [testenv:.pkg]
 passenv = *  # needed by tox4, so env vars are visible for building borg
 
-
 [testenv:ruff]
 skip_sdist=true
 skip_install=true
-changedir =
 deps =
     ruff
 commands = ruff check .