Lint

class Lint

Configuration for validations and lints.

Members defined in Lint (10 members)

global_namespace_distinguishability

RW

Severity to diagnose global-namespace-distinguishability with. Disable with off.

invocation_expression_missing_arguments

RW

Severity to diagnose invocation-expression-missing-arguments with. Disable with off.

multiplicity_range_bound_result_types

RW

The expected type of multiplicity range bounds expression.

quantity_operator_expression

RW

Severity to diagnose quantity-operator-expression with. Disable with off.

redefinition_end_conformance

RW

The scope of redefinition-end-conformance diagnostic.

related_feature_conformance

RW

Severity to diagnose related-feature-conformance with. Disable with off.

standard_library_package

RW

Severity to diagnose standard-library-package with. Disable with off.

type_error

RW

Severity to diagnose type-error with. Disable with off.

usage_feature_typing

RW

Severity to diagnose usage-feature-typing with. Disable with off.

__init__

Attributes

property global_namespace_distinguishability: syside.conf.DiagnosticSeverity | None

Severity to diagnose global-namespace-distinguishability with. Disable with off.

property invocation_expression_missing_arguments: syside.conf.DiagnosticSeverity | None

Severity to diagnose invocation-expression-missing-arguments with. Disable with off.

property multiplicity_range_bound_result_types: syside.conf.MultiplicityBoundType | None

The expected type of multiplicity range bounds expression.

This defaults to integer which matches the specification. natural is stricter, aligns more closely with the requirement that bounds are never negative, and can be used instead to find places where the bound could be negative even if the expression cannot be evaluated eagerly.

property quantity_operator_expression: syside.conf.DiagnosticSeverity | None

Severity to diagnose quantity-operator-expression with. Disable with off.

property redefinition_end_conformance: syside.conf.RedefinitionEndConformance

The scope of redefinition-end-conformance diagnostic.

The specification diagnoses redefinition-end-conformance only on features owned by associations and connectors. However, end features are also implicitly redefined by position on all types, which are not caught by a suppressed diagnostic. Old behaviour can be restored by setting this option to all.

property related_feature_conformance: syside.conf.DiagnosticSeverity | None

Severity to diagnose related-feature-conformance with. Disable with off.

property standard_library_package: syside.conf.DiagnosticSeverity | None

Severity to diagnose standard-library-package with. Disable with off.

property type_error: syside.conf.DiagnosticSeverity | None

Severity to diagnose type-error with. Disable with off.

property usage_feature_typing: syside.conf.DiagnosticSeverity | None

Severity to diagnose usage-feature-typing with. Disable with off.

Methods

__init__() None