-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
86 lines (73 loc) · 1.35 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
[bumpversion]
current_version = 0.1.0
commit = True
tag = True
[aliases]
test = pytest
[isort]
profile = black
[pylint]
max-line-length = 88
[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"
[bumpversion:file:adnipy/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[flake8]
application-import-names = adnipy
docstring-convention = numpy
exclude =
docs
.eggs
.tox
.venv
build
max-line-length = 88
extend-ignore = E203, W503
import-order-style = pep8
per-file-ignores =
adnipy/__init__.py:F401, E402, I001
docs/conf.py:E402
[coverage:run]
branch = True
[tool:pytest]
addopts = --doctest-modules --doctest-continue-on-failure --ignore=setup.py
[tox:tox]
envlist =
py{38,39,310,311}-pandas{1,2,3}
flake8
doc8
[travis]
python =
3.11: py311
3.10: py310
3.9: py39
3.8: py38
[testenv:flake8]
deps =
flake8
flake8-bugbear
flake8-docstrings
flake8-import-order
pep8-naming
commands =
flake8
[testenv:doc8]
deps =
sphinx==1.8.5
doc8
commands =
doc8 docs
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
coverage
pytest
pandas1: pandas<2.0.0
pandas2: pandas<2.1.0
pandas3: pandas
sphinx_rtd_theme
commands =
coverage run -a -m pytest --basetemp={envtmpdir}