-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
72 lines (65 loc) · 2.13 KB
/
pyproject.toml
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
[tool.poetry]
authors = ["David Andersson <anderssonpublic@gmail.com>"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Topic :: Software Development :: Documentation",
"Topic :: Software Development :: Disassemblers",
"Topic :: Text Processing",
"Topic :: Utilities",
"Typing :: Typed",
]
description = "Calculate JSON Pointers to each value within a YAML document along with the line, column and character position for the start and end of that value"
documentation = "https://github.com/open-alchemy/yaml-source-map"
exclude = ["tests", ".vscode", ".github"]
homepage = "https://github.com/open-alchemy/yaml-source-map"
keywords = ["Python", "YAML", "source map"]
license = "MIT"
name = "yaml_source_map"
packages = [
{include = "yaml_source_map"},
]
readme = "README.md"
repository = "https://github.com/open-alchemy/yaml-source-map"
version = "1.0.1"
[tool.poetry.dependencies]
PyYAML = "^5.4.1"
pytest-coverage = "^0.0"
python = "^3.9"
[tool.poetry.dev-dependencies]
black = "^21.5b1"
pytest = "^6.2.4"
pytest-cov = "^2.11.1"
pytest-randomly = "^3.8.0"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.isort]
multi_line_output = 3
profile = "black"
[tool.pytest.ini_options]
addopts = "--cov --strict-markers"
[tool.coverage.run]
branch = true
source = ['yaml_source_map']
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = [
# Have to re-enable the standard pragma
"pragma: no cover", # Don't complain about missing debug-only code:
"def __repr__",
"if self\\.debug", # Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError", # Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
"^ \\.\\.\\.$", # Don't complain about print statements not run
"print\\(.*\\)",
]
fail_under = 100
show_missing = true
skip_covered = true