-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.cfg
89 lines (76 loc) · 1.54 KB
/
setup.cfg
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[bumpversion]
current_version = 1.0.2
commit = True
tag = True
[metadata]
name = django-selectel-storage
version = 1.0.0
license = MIT
license_file = LICENSE
long_description = file: README.rst
long_description_content_type = text/x-rst
[options]
install_requires =
requests
packages = find:
[bdist_wheel]
universal = 1
[tox:tox]
isolated_build = True
envlist =
py27-dj{111}
py3{5,6,7,8}-dj{111,20,21,22,30}
basepython =
py27: python2.7
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8
[tox:.package]
basepython = python3
[testenv]
commands =
poetry install
pytest -s {posargs}
whitelist_externals =
poetry
pytest
passenv =
SELECTEL_USERNAME
SELECTEL_CONTAINER_NAME
SELECTEL_PASSWORD
deps =
pytest
pytest-django
pytest-cov
pytest-isort
pytest-flake8
dj111: django>=1.11,<2
dj20: django>=2.0,<2.1
dj21: django>=2.1,<2.2
dj22: django>=2.2,<2.3
dj30: django>=3.0,<3.1
[coverage:run]
source = django_selectel_storage
branch = True
omit =
.tox/*
[coverage:report]
exclude_lines =
if __name__ == .__main__.:
omit =
.tox/*
[isort]
multi_line_output = 3
include_trailing_comma = true
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
default_section = FIRSTPARTY
[bumpversion:file:setup.cfg]
search = version = {current_version}
replace = version = {new_version}
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file:django_selectel_storage/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'