-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.cfg
More file actions
77 lines (67 loc) · 1.36 KB
/
Copy pathsetup.cfg
File metadata and controls
77 lines (67 loc) · 1.36 KB
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
[metadata]
name = codemod-yaml
description = Lib to modify yaml inplace
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
url = https://github.com/advice-animal/codemod-yaml/
author = Tim Hatch
author_email = tim@timhatch.com
[options]
packages = find:
python_requires = >=3.9
setup_requires =
setuptools_scm >= 8
setuptools >= 65
include_package_data = true
install_requires =
tree-sitter >= 0.23.2
tree-sitter-yaml >= 0.6.0
[options.extras_require]
demo =
moreorless
dev =
ruff == 0.8.0
checkdeps == 0.9.0
mypy == 1.13.0
tox == 4.23.2
test =
coverage >= 6
pytest
moreorless
pyyaml
[options.entry_points]
console_scripts =
cyq=codemod_yaml.cyq:main
[check]
metadata = true
strict = true
[coverage:run]
branch = True
include = codemod_yaml/*
omit = codemod_yaml/tests/*
[coverage:report]
fail_under = 88
precision = 1
show_missing = True
skip_covered = True
[mypy]
ignore_missing_imports = True
[tox:tox]
envlist = py{39,310,311,312,313,314}, coverage
[testenv]
deps = .[test]
allowlist_externals = make
commands =
coverage run -m pytest
setenv =
COVERAGE_FILE={toxworkdir}/.coverage.{envname}
[testenv:coverage]
deps = coverage
setenv =
COVERAGE_FILE={toxworkdir}/.coverage
commands =
coverage combine
coverage report
depends =
py{39,310,311,312,313,314}