-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
88 lines (80 loc) · 1.71 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
;;
;; Open Badge Client package
;;
[metadata]
name = obc
version = 2.1.0
description = The Open Badges Client
long_description = file:README.md
long_description_content_type = text/markdown
author = Open FUN (France Universite Numerique)
author_email = [email protected]
url = https://github.com/openfun/open-badges-client
license = MIT
keywords = Openbadge, API
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Natural Language :: English
Programming Language :: Python :: 3
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
[options]
include_package_data = True
install_requires =
pydantic[email]>=2.0.0
httpx>=0.24.1
package_dir =
=src
packages = find:
zip_safe = True
python_requires = >= 3.10
[options.extras_require]
dev =
bandit==1.7.9
black==24.8.0
flake8==7.1.1
isort==5.13.2
pydocstyle==6.3.0
pylint==3.3.0
pytest==8.3.3
pytest-cov==5.0.0
pytest-httpx==0.31.1
responses==0.25.3
ci =
twine==5.1.1
[options.packages.find]
where = src
[wheel]
universal = 1
;;
;; Third-party packages configuration
;;
[flake8]
max-line-length = 88
extend-ignore = E203
exclude =
.git,
.venv,
build,
venv,
__pycache__,
node_modules,
*/migrations/*
[pydocstyle]
convention = google
match_dir = ^(?!tests|venv|build|scripts).*
match = ^(?!(setup)\.(py)$).*\.(py)$
[isort]
known_obc=obc
sections=FUTURE,STDLIB,THIRDPARTY,OBC,FIRSTPARTY,LOCALFOLDER
skip_glob=venv
profile=black
[tool:pytest]
addopts = -v --cov-report term-missing --cov-config=.coveragerc --cov=obc
python_files =
test_*.py
tests.py
testpaths =
tests