File: tox.ini

package info (click to toggle)
python-repoze.sphinx.autointerface 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 192 kB
  • sloc: python: 312; makefile: 4
file content (36 lines) | stat: -rw-r--r-- 846 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[tox]
envlist =
    py36,py37,py38,py39,py310,pypy3

[testenv]
usedevelop = true
commands =
    zope-testrunner --test-path={toxinidir}
deps =
    zope.testrunner

;[testenv:format]
;skip_install = true
;commands =
;    flake8 repoze tests setup.py
;    isort --check-only --df repoze tests setup.py
;    black --check --diff repoze tests setup.py
;deps =
;    flake8
;    black
;    isort

[testenv:build]
skip_install = true
commands =
    # clean up build/ and dist/ folders
    python -c 'import shutil; shutil.rmtree("dist", ignore_errors=True); shutil.rmtree("build", ignore_errors=True)'
    # build sdist and wheel
    python -m build --sdist --wheel --skip-dependencies --no-isolation {toxinidir}
    # check long_description via CHANGES and README
    twine check dist/*
    check-manifest
deps =
    build
    check-manifest
    twine