-
Notifications
You must be signed in to change notification settings - Fork 37
/
setup.cfg
48 lines (39 loc) · 885 Bytes
/
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
[flake8]
extend-ignore = E203
# black uses 88 : ¯\_(ツ)_/¯
max-line-length = 88
[options]
package_dir =
maxminddb = maxminddb
packages = maxminddb
install_requires =
include_package_data = True
python_requires = >=3.8
[options.package_data]
maxminddb = extension.pyi; py.typed
[tox:tox]
envlist = {py38,py39,py310,py311,py312,py313}-test,py313-{black,lint,flake8,mypy}
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313,black,lint,flake8,mypy
[testenv:{py38,py39,py310,py311,py312,py313}-test]
deps = pytest
commands = pytest tests
passenv = *
[testenv:py313-black]
deps = black
commands = black --check --diff .
[testenv:py313-lint]
deps = pylint
commands = pylint maxminddb
[testenv:py313-flake8]
deps = flake8
commands = flake8 maxminddb
[testenv:py313-mypy]
deps = mypy
commands = mypy maxminddb tests