File: tox.ini

package info (click to toggle)
python-uhashring 1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 156 kB
  • sloc: python: 668; makefile: 21
file content (44 lines) | stat: -rw-r--r-- 792 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[tox]
envlist = py27,py36,py37,py38,pypy3
skip_missing_interpreters = True

[testenv:py27]
skip_install = True
deps =
    pytest
    pytest-flake8
    python-memcached
commands =
    pytest --flake8

[testenv:pypy3]
skip_install = True
deps =
    pytest
    pytest-flake8
commands =
    pytest --flake8 --ignore=tests/test_monkey.py

[testenv]
skip_install = True
deps =
    black
    pytest
    pytest-flake8
    python-memcached
commands =
    black --diff --check uhashring/
    black --diff --check setup.py conftest.py
    black --diff --check tests/
    pytest --flake8

[pytest]
# see .flake8 file in the black project:
# https://github.com/ambv/black/blob/master/.flake8
flake8-ignore =
    C901
    E
    W503
flake8-select = F
flake8-max-complexity = 18
flake8-max-line-length = 88