Obsolete VTE pre-2.91 ABI
[oi-userland.git] / components / python / pylint / python-integrate-project.conf
blob8903f998a8d36fb8f1c6cc8675dc2b37d5c97069
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
5 # 1.0 of the CDDL.
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 # Copyright 2023 Marcel Telka
16 %patch% 01-test-requirements.patch
17 %patch% 02-pydantic.patch
18 %patch% 03-test-remove-failing.patch
20 %hook-no-license%
21 # https://github.com/pylint-dev/pylint/pull/9475
22 LICENSE='GPL-2.0-only'
24 %include-3%
25 # Some tests are failing when run under pytest 8 so we simply remove them.
26 # https://github.com/pylint-dev/pylint/issues/9477
27 # https://github.com/pylint-dev/pylint/pull/9576
28 COMPONENT_PREP_ACTION += \
29         for t in \
30                 i/inconsistent/inconsistent_quotes_fstring \
31                 i/inconsistent/inconsistent_returns \
32                 i/invalid/invalid_all/invalid_all_format_valid_5 \
33                 i/invalid/invalid_all/invalid_all_format_valid_6 \
34                 n/no/no_name_in_module \
35                 r/regression/regression_4680 \
36                 u/unreachable \
37                 u/undefined/undefined_variable_typing \
38                 u/unused/unused_import_assigned_to \
39                 u/use/use_yield_from \
40                 u/used/used_before_assignment \
41                 u/used/used_before_assignment_else_return \
42         ; do \
43                 $(RM) -r $(SOURCE_DIR)/tests/functional/$${t}.* ; \
44         done ;
46 # Test results order varies between runs
47 PYTEST_SORT_TESTS = yes
49 # Random directory name
50 COMPONENT_TEST_TRANSFORMS += "-e 's|/tmp/.*/garbage[^/]*|\$$(TMPDIR)|'"