-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
86 lines (77 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[tool.poetry]
name = "snappiershot"
version = "1.1.0"
description = "Snapshot testing library."
authors = [
"Ben Bonenfant <bonenfan5ben@gmail.com>",
"Lena Bartell <lenabartell@gmail.com>",
"John-Michael Cummings <jmcummings@morsecorp.com>",
"Yoni Smolyar <ysmolyar@morsecorp.com>",
]
readme = 'README.md'
homepage = "https://github.com/MORSECorp/snappiershot"
repository = "https://github.com/MORSECorp/snappiershot"
keywords = ['snapshot', 'testing']
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Pytest",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Testing :: Unit",
]
[tool.poetry.dependencies]
python = "^3.6.2"
importlib-metadata = { version = ">1.5.1", python = "<3.8" }
tomlkit = "^0.7.0"
pandas = { version = ">=0.20.0", optional = true}
pprint_ordered_sets = "^1.0.0"
pint = "^0.14"
[tool.poetry.extras]
pandas = ["pandas"]
[tool.poetry.dev-dependencies]
black = "^22.3.0"
coverage = "^5.3"
flake8 = "^3.8.3"
mypy = "^0.782"
pandas = ">=0.20.0"
pre-commit = "^2.6.0"
pytest = "^6.0.1"
pytest_mock = "^3.3.1"
numpy = "^1.19.4"
[tool.poetry.plugins.pytest11]
snappiershot = "snappiershot.plugins.pytest"
[tool.black]
line-length = 92
target-version = ['py36', 'py37', 'py38']
exclude = '\.git|\.idea|\.venv|\.\*cache|\*\.egg-info'
[tool.coverage]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
omit = [
"*/__init__.py",
"*/conftest.py",
]
fail_under = 100
show_missing = true
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
known_first_party = "snappiershot"
[tool.pytest.ini_options]
testpaths = ["tests"]
norecursedirs = "pytester_example_dir"
pytester_example_dir = "tests/test_plugins/pytester_example_dir"
addopts = "-vv -p pytester"
filterwarnings = [
"ignore:::pandas"
]
[build-system]
requires = ["poetry>=1.0.5"]
build-backend = "poetry.masonry.api"