- python
var | purpose | type | default |
---|---|---|---|
SCA_BLOCKLIST_darglint | Blacklist filter for this tool | space-separated-list | "" |
SCA_DARGLINT_EXTRA_FATAL | Extra error-IDs leading to build termination when found | space-separated-list | "" |
SCA_DARGLINT_EXTRA_SUPPRESS | Extra error-IDs to be suppressed | space-separated-list | "" |
- suppression of IDs
- terminate build on fatal
- run on recipe
- run on image
- available in SDK
- run with SCA-layer default settings (see SCA_AVAILABLE_MODULES)
- requires online access
darglint.darglint.DAR001: The docstring was not parsed correctly due to a syntax error. darglint.darglint.DAR002: An argument/exception lacks a description darglint.darglint.DAR003: A line is under-indented or over-indented. darglint.darglint.DAR004: The docstring contains an extra newline where it shouldn't. darglint.darglint.DAR101: The docstring is missing a parameter in the definition. darglint.darglint.DAR102: The docstring contains a parameter not in function. darglint.darglint.DAR103: The docstring parameter type doesn't match function. darglint.darglint.DAR201: The docstring is missing a return from definition. darglint.darglint.DAR202: The docstring has a return not in definition. darglint.darglint.DAR203: The docstring parameter type doesn't match function. darglint.darglint.DAR301: The docstring is missing a yield present in definition. darglint.darglint.DAR302: The docstring has a yield not in definition. darglint.darglint.DAR401: The docstring is missing an exception raised. darglint.darglint.DAR402: The docstring describes an exception not explicitly raised. darglint.darglint.DAR501: The docstring describes a variable which is not defined.
- security
- functional defects
- compliance
- style issues
- ⬛⬛⬛⬛⬛⬜⬜⬜⬜⬜ 05/10 Build Speed
- ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ 10/10 Execution Speed
- ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬜ 09/10 Quality
- n.a.
- n.a.
- n.a.
- darglint.darglint.*