2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # This file was automatically generated using the following command:
14 # $WS_TOOLS/python-integrate-project -d python/inline-snapshot inline_snapshot
17 BUILD_STYLE
= pyproject
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= inline_snapshot
22 HUMAN_VERSION
= 0.17.1
23 COMPONENT_SUMMARY
= golden master
/snapshot
/approval testing library which puts the values right into your source code
24 COMPONENT_PROJECT_URL
= https
://15r10nk.github.io
/inline-snapshot
/latest
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:7759c05a1a0ff6d6c115ddb9df362e354e6ae81161a395080454f8a6604a92a1
27 COMPONENT_LICENSE
= MIT
28 COMPONENT_LICENSE_FILE
= LICENSE
32 include $(WS_MAKE_RULES
)/common.mk
34 # This project uses hatch to manage test dependencies.
35 TEST_REQUIREMENTS_HATCH
+= hatch-test
37 # Test results order varies between runs
38 PYTEST_SORT_TESTS
= yes
40 # Normalize the order of elements in the list
41 COMPONENT_TEST_TRANSFORMS
+= "-e 's/<update, fix>/<fix, update>/'"
43 # https://github.com/15r10nk/inline-snapshot/issues/126
44 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest-xdist
46 # Auto-generated dependencies
47 PYTHON_REQUIRED_PACKAGES
+= library
/python
/asttokens
48 PYTHON_REQUIRED_PACKAGES
+= library
/python
/black
49 PYTHON_REQUIRED_PACKAGES
+= library
/python
/click
50 PYTHON_REQUIRED_PACKAGES
+= library
/python
/executing
51 PYTHON_REQUIRED_PACKAGES
+= library
/python
/hatchling
52 PYTHON_REQUIRED_PACKAGES
+= library
/python
/rich
53 PYTHON_REQUIRED_PACKAGES
+= library
/python
/tomli
54 PYTHON_REQUIRED_PACKAGES
+= library
/python
/typing-extensions
55 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
56 TEST_REQUIRED_PACKAGES.python
+= library
/python
/attrs
57 TEST_REQUIRED_PACKAGES.python
+= library
/python
/dirty-equals
58 TEST_REQUIRED_PACKAGES.python
+= library
/python
/hypothesis
59 TEST_REQUIRED_PACKAGES.python
+= library
/python
/mypy
60 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pydantic
61 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest-freezer
62 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest-mock
63 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest-subtests