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 pylint
17 BUILD_STYLE
= pyproject
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= pylint
23 COMPONENT_SUMMARY
= python code static checker
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:9f3dcc87b1203e612b78d91a896407787e708b3f189b5fa0b307712d49ff0c6e
26 COMPONENT_LICENSE
= GPL-2.0
-only
27 COMPONENT_LICENSE_FILE
= LICENSE
29 # Manifest options for developer/python/pylint package
30 COMPONENT_FMRI.pylint-meta
= developer
/python
/pylint
32 include $(WS_MAKE_RULES
)/common.mk
34 # Some tests are failing when run under pytest 8 so we simply remove them.
35 # https://github.com/pylint-dev/pylint/issues/9477
36 # https://github.com/pylint-dev/pylint/pull/9576
37 COMPONENT_PREP_ACTION
+= \
39 i
/inconsistent
/inconsistent_quotes_fstring \
40 i
/inconsistent
/inconsistent_returns \
41 i
/invalid
/invalid_all
/invalid_all_format_valid_5 \
42 i
/invalid
/invalid_all
/invalid_all_format_valid_6 \
43 n
/no
/no_name_in_module \
44 r
/regression
/regression_4680 \
46 u
/undefined
/undefined_variable_typing \
47 u
/unused
/unused_import_assigned_to \
48 u
/use
/use_yield_from \
49 u
/used
/used_before_assignment \
50 u
/used
/used_before_assignment_else_return \
52 $(RM
) -r
$(SOURCE_DIR
)/tests
/functional
/$${t}.
* ; \
55 # Test results order varies between runs
56 PYTEST_SORT_TESTS
= yes
58 # Auto-generated dependencies
59 PYTHON_REQUIRED_PACKAGES
+= library
/python
/astroid
60 PYTHON_REQUIRED_PACKAGES
+= library
/python
/dill
61 PYTHON_REQUIRED_PACKAGES
+= library
/python
/isort
62 PYTHON_REQUIRED_PACKAGES
+= library
/python
/mccabe
63 PYTHON_REQUIRED_PACKAGES
+= library
/python
/platformdirs
64 PYTHON_REQUIRED_PACKAGES
+= library
/python
/setuptools
65 PYTHON_REQUIRED_PACKAGES
+= library
/python
/tomli
66 PYTHON_REQUIRED_PACKAGES
+= library
/python
/tomlkit
67 PYTHON_REQUIRED_PACKAGES
+= library
/python
/typing-extensions
68 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
69 TEST_REQUIRED_PACKAGES.python
+= library
/python
/astroid
70 TEST_REQUIRED_PACKAGES.python
+= library
/python
/coverage
71 TEST_REQUIRED_PACKAGES.python
+= library
/python
/gitpython
72 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pip
73 TEST_REQUIRED_PACKAGES.python
+= library
/python
/py
74 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest
75 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest-benchmark
76 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest-cov
77 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest-timeout
78 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest-xdist
79 TEST_REQUIRED_PACKAGES.python
+= library
/python
/requests
80 TEST_REQUIRED_PACKAGES.python
+= library
/python
/six
81 TEST_REQUIRED_PACKAGES.python
+= library
/python
/typing-extensions