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 flake8
17 BUILD_STYLE
= setup.py
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= flake8
23 COMPONENT_SUMMARY
= the modular source code checker
: pep8 pyflakes and
co
24 COMPONENT_PROJECT_URL
= https
://github.com
/pycqa
/flake8
25 COMPONENT_ARCHIVE_URL
= \
26 https
://github.com
/PyCQA
/flake8
/archive
/refs
/tags/$(HUMAN_VERSION
).
tar.gz
27 COMPONENT_ARCHIVE_HASH
= \
28 sha256
:e389d1806e1f911b092fd41b7989c751f05eda510bab4ac255b144da96477e2b
29 COMPONENT_LICENSE
= MIT
30 COMPONENT_LICENSE_FILE
= LICENSE
32 include $(WS_MAKE_RULES
)/common.mk
34 # Testing expects there are no additional flake8 plugins installed otherwise
35 # some tests will fail.
36 TEST_CONFLICTING_PACKAGES.python
+= library
/python
/flake8-2020
37 TEST_CONFLICTING_PACKAGES.python
+= library
/python
/flake8-bugbear
38 TEST_CONFLICTING_PACKAGES.python
+= library
/python
/flake8-docstrings
39 TEST_CONFLICTING_PACKAGES.python
+= library
/python
/flake8-noqa
40 TEST_CONFLICTING_PACKAGES.python
+= library
/python
/flake8-typing-imports
41 TEST_CONFLICTING_PACKAGES.python
+= library
/python
/teamcity-messages
43 # Random directory name
44 COMPONENT_TEST_TRANSFORMS
+= "-e 's|/tmp/.*/garbage[^/]*|\$$(TMPDIR)|'"
46 # Auto-generated dependencies
47 PYTHON_REQUIRED_PACKAGES
+= library
/python
/mccabe
48 PYTHON_REQUIRED_PACKAGES
+= library
/python
/pycodestyle
49 PYTHON_REQUIRED_PACKAGES
+= library
/python
/pyflakes
50 PYTHON_REQUIRED_PACKAGES
+= library
/python
/setuptools
51 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
52 TEST_REQUIRED_PACKAGES.python
+= library
/python
/covdefaults
53 TEST_REQUIRED_PACKAGES.python
+= library
/python
/coverage
54 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest