Lint

class Lint

Configuration for validations and lints.

Members defined in Lint (7 members)

global_namespace_distinguishability

RW

Severity to diagnose global-namespace-distinguishability 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.

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 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 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