Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
65 lines (56 loc) · 1.36 KB

File metadata and controls

65 lines (56 loc) · 1.36 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[tox]
envlist = py37, py38, py39, py310, flake8, docs, black, mypy, pyright
skip_missing_interpreters = True
[testenv]
basepython =
py36: python3.6
py37: python3.7
py38: python3.8
py39: python3.9
py310: python3.10
pypy3: pypy3
deps = -r{toxinidir}/tests/requirements.txt
commands = py.test --basetemp="{envtmpdir}" --confcutdir=.. {posargs}
changedir = tests
[testenv:flake8]
changedir =
basepython = python3
deps = flake8
commands = flake8 {toxinidir}/progressbar {toxinidir}/tests {toxinidir}/examples.py
[testenv:mypy]
changedir =
basepython = python3
deps = mypy
commands = mypy {toxinidir}/progressbar
[testenv:pyright]
changedir =
basepython = python3
deps = pyright
commands = pyright {toxinidir}/progressbar
[testenv:black]
basepython = python3
deps = black
commands = black --skip-string-normalization --line-length 79 {toxinidir}/progressbar
[testenv:docs]
changedir =
basepython = python3
deps = -r{toxinidir}/docs/requirements.txt
allowlist_externals =
rm
mkdir
whitelist_externals =
rm
cd
mkdir
commands =
rm -f docs/modules.rst
mkdir -p docs/_static
sphinx-apidoc -e -o docs/ progressbar
rm -f docs/modules.rst
sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html {posargs}
[flake8]
ignore = W391, W504, E741, W503, E131
exclude =
docs,
progressbar/six.py
tests/original_examples.py
Morty Proxy This is a proxified and sanitized view of the page, visit original site.