xrandr: update to 1.5.3
[oi-userland.git] / components / python / pylint / python-integrate-project.conf
blobfd9ab50f4f48a7aca533057c5b5cff38714e404b
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 %hook-manifest%
25 # Create manifest for developer/python/pylint package
26 cat "$WS_TOP/transforms/manifest-metadata-template" \
27         | sed -e 's/^#.*Copyright.*<contributor>.*$/# This file was automatically generated using '"$THIS"'/g' \
28         > "$DISTRIBUTION-meta.p5m"
29 cat <<-"EOF" >> "$DISTRIBUTION-meta.p5m"
30 depend type=require fmri=library/python/pylint
31 EOF
32 MANIFEST="$MANIFEST $DISTRIBUTION-meta.p5m"
34 %include-2%
35 # Manifest options for developer/python/pylint package
36 COMPONENT_FMRI.pylint-meta =            developer/python/pylint
37 %include-3%
38 # Some tests are failing when run under pytest 8 so we simply remove them.
39 # https://github.com/pylint-dev/pylint/issues/9477
40 # https://github.com/pylint-dev/pylint/pull/9576
41 COMPONENT_PREP_ACTION += \
42         for t in \
43                 i/inconsistent/inconsistent_quotes_fstring \
44                 i/inconsistent/inconsistent_returns \
45                 i/invalid/invalid_all/invalid_all_format_valid_5 \
46                 i/invalid/invalid_all/invalid_all_format_valid_6 \
47                 n/no/no_name_in_module \
48                 r/regression/regression_4680 \
49                 u/unreachable \
50                 u/undefined/undefined_variable_typing \
51                 u/unused/unused_import_assigned_to \
52                 u/use/use_yield_from \
53                 u/used/used_before_assignment \
54                 u/used/used_before_assignment_else_return \
55         ; do \
56                 $(RM) -r $(SOURCE_DIR)/tests/functional/$${t}.* ; \
57         done ;
59 # Test results order varies between runs
60 PYTEST_SORT_TESTS = yes