1
1
[project ]
2
2
name = " mvt"
3
3
dynamic = [" version" ]
4
- authors = [
5
- {name = " Claudio Guarnieri" , email = " nex@nex.sx" }
6
- ]
4
+ authors = [{ name = " Claudio Guarnieri" , email = " nex@nex.sx" }]
7
5
maintainers = [
8
- {name = " Etienne Maynier" , email = " tek@randhome.io" },
9
- {name = " Donncha Ó Cearbhaill" , email = " donncha.ocearbhaill@amnesty.org" },
10
- {name = " Rory Flynn" , email = " rory.flynn@amnesty.org" }
6
+ { name = " Etienne Maynier" , email = " tek@randhome.io" },
7
+ { name = " Donncha Ó Cearbhaill" , email = " donncha.ocearbhaill@amnesty.org" },
8
+ { name = " Rory Flynn" , email = " rory.flynn@amnesty.org" },
11
9
]
12
10
description = " Mobile Verification Toolkit"
13
11
readme = " README.md"
@@ -16,7 +14,7 @@ classifiers = [
16
14
" Development Status :: 5 - Production/Stable" ,
17
15
" Intended Audience :: Information Technology" ,
18
16
" Operating System :: OS Independent" ,
19
- " Programming Language :: Python"
17
+ " Programming Language :: Python" ,
20
18
]
21
19
dependencies = [
22
20
" click==8.2.1" ,
@@ -45,20 +43,31 @@ homepage = "https://docs.mvt.re/en/latest/"
45
43
repository = " https://github.com/mvt-project/mvt"
46
44
47
45
[project .scripts ]
48
- mvt-ios = " mvt.ios:cli"
49
- mvt-android = " mvt.android:cli"
46
+ mvt-ios = " mvt.ios:cli"
47
+ mvt-android = " mvt.android:cli"
48
+
49
+ [dependency-groups ]
50
+ dev = [
51
+ " requests>=2.31.0" ,
52
+ " pytest>=7.4.3" ,
53
+ " pytest-cov>=4.1.0" ,
54
+ " pytest-github-actions-annotate-failures>=0.2.0" ,
55
+ " pytest-mock>=3.14.0" ,
56
+ " stix2>=3.0.1" ,
57
+ " ruff>=0.1.6" ,
58
+ " mypy>=1.7.1" ,
59
+ " betterproto[compiler]" ,
60
+ ]
50
61
51
62
[build-system ]
52
63
requires = [" setuptools>=61.0" ]
53
64
build-backend = " setuptools.build_meta"
54
65
55
66
[tool .coverage .run ]
56
- omit = [
57
- " tests/*" ,
58
- ]
67
+ omit = [" tests/*" ]
59
68
60
69
[tool .coverage .html ]
61
- directory = " htmlcov"
70
+ directory = " htmlcov"
62
71
63
72
[tool .mypy ]
64
73
install_types = true
@@ -68,15 +77,13 @@ packages = "src"
68
77
69
78
[tool .pytest .ini_options ]
70
79
addopts = " -ra -q --cov=mvt --cov-report html --junitxml=pytest.xml --cov-report=term-missing:skip-covered"
71
- testpaths = [
72
- " tests"
73
- ]
80
+ testpaths = [" tests" ]
74
81
75
82
[tool .ruff .lint ]
76
- select = [" C90" , " E" , " F" , " W" ] # flake8 default set
83
+ select = [" C90" , " E" , " F" , " W" ] # flake8 default set
77
84
ignore = [
78
- " E501" , # don't enforce line length violations
79
- " C901" , # complex-structure
85
+ " E501" , # don't enforce line length violations
86
+ " C901" , # complex-structure
80
87
81
88
# These were previously ignored but don't seem to be required:
82
89
# "E265", # no-space-after-block-comment
@@ -88,14 +95,14 @@ ignore = [
88
95
]
89
96
90
97
[tool .ruff .lint .per-file-ignores ]
91
- "__init__.py" = [" F401" ] # unused-import
98
+ "__init__.py" = [" F401" ] # unused-import
92
99
93
100
[tool .ruff .lint .mccabe ]
94
101
max-complexity = 10
95
102
96
103
[tool .setuptools ]
97
104
include-package-data = true
98
- package-dir = {"" = " src" }
105
+ package-dir = { "" = " src" }
99
106
100
107
[tool .setuptools .packages .find ]
101
108
where = [" src" ]
@@ -104,4 +111,4 @@ where = ["src"]
104
111
mvt = [" ios/data/*.json" ]
105
112
106
113
[tool .setuptools .dynamic ]
107
- version = {attr = " mvt.common.version.MVT_VERSION" }
114
+ version = { attr = " mvt.common.version.MVT_VERSION" }
0 commit comments