Skip to content

Clean specs#34

Open
WWWcool wants to merge 5 commits into
add_specsfrom
clean_specs
Open

Clean specs#34
WWWcool wants to merge 5 commits into
add_specsfrom
clean_specs

Conversation

@WWWcool
Copy link
Copy Markdown
Contributor

@WWWcool WWWcool commented May 25, 2026

No description provided.

WWWcool added 5 commits May 25, 2026 13:12
This commit cleans up the codebase by removing several unused type definitions and specifications across various modules, including `dmt_api_woody_utils`, `dmt_author_database`, `dmt_author_handler`, and others. The changes streamline the code and improve readability by eliminating unnecessary complexity. Additionally, some function specifications have been updated to reflect the current implementation accurately.

No functional changes were made; this is purely a cleanup effort.
This commit updates the Erlang version from 28.0 to 28.5 in the .tool-versions file. It also modifies the Makefile to improve the eqwalizer task by iterating over modules defined in eqwalizer.modules. Additionally, the rebar.config file now references a specific commit for eqwalizer_support instead of the main branch. The static analysis GitHub Actions workflow has been enhanced by adding a new job for running Dialyzer, which includes steps for checking out the repository, loading environment variables, building the development image, and executing the Dialyzer analysis.

No functional changes were made to the application code itself.
This commit adds type specifications to the `dmt_author`, `dmt_author_database`, `dmt_object`, and `dmt_object_id` modules, improving static analysis capabilities. The `eqwalizer.modules` file is updated to include the DMT modules for phase 1 checks. These changes aim to enhance code clarity and maintainability without altering existing functionality.
This commit updates the `eqwalizer.modules` file to include the `dmt_repository` module for phase 2a–2b checks. In the `dmt_repository.erl` file, several type specifications are added to improve static analysis, including types for worker, version, object references, and various error handling. Additionally, function specifications are defined for new API functions, enhancing clarity and maintainability. The `dmt_object.erl` file is also updated to export the `object_ref` type, ensuring consistency across modules. These changes aim to strengthen the codebase without altering existing functionality.
…figurations

This commit adds new type exports to the `dmt_author_database`, `dmt_repository`, `dmt_object_id`, and `dmt_object` modules, improving the clarity and usability of type specifications across the codebase. Additionally, the `dmt_repository_filter_test` file is updated to suppress dialyzer warnings for several test functions, ensuring smoother test execution. These changes aim to enhance static analysis capabilities and maintainability without altering existing functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant