8000 Implement Global Configuration for Pysertive · Issue #3 · abeltavares/pysertive · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Implement Global Configuration for Pysertive #3
Open
@abeltavares

Description

@abeltavares

Description

Introduce a global configuration system to enable or disable contract checks across the entire application. This will facilitate different environments like development, testing, and production.

Suggested Implementation

Create a Config class with attributes to control the enforcement of preconditions, postconditions, and invariants. Update decorators to respect the global configuration settings.

Acceptance Criteria

  • Config class is created with appropriate attributes.
  • Decorators are updated to respect global configuration settings.
  • Unit tests are written to ensure global configuration works as expected.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0