File: tox.ini

package info (click to toggle)
flake8-docstrings 1.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 124 kB
  • sloc: python: 142; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 507 bytes parent folder | download
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
[tox]
minversion = 1.6
envlist = pre-commit,py

[testenv]
deps =
    flake8
commands = flake8 {posargs} flake8_docstrings.py

[testenv:release]
basepython = python3.9
deps =
    twine >= 1.5.0
    wheel
commands =
    python setup.py sdist bdist_wheel
    twine upload --skip-existing {posargs} dist/*

[testenv:pre-commit]
skip_install = true
deps = pre-commit
commands =
    pre-commit run --all-files --show-diff-on-failure

[flake8]
ignore = D203
max_line_length = 79
exclude = .git,.tox,dist,docs,*egg