Skip to content

Improve PARAMFLAG_... and DISPATCH_... constants definitions and imports.#805

Merged
junkmd merged 8 commits intoenthought:mainfrom
junkmd:PARAMFLAG_DISPATCH_constants
Feb 15, 2025
Merged

Improve PARAMFLAG_... and DISPATCH_... constants definitions and imports.#805
junkmd merged 8 commits intoenthought:mainfrom
junkmd:PARAMFLAG_DISPATCH_constants

Conversation

@junkmd
Copy link
Copy Markdown
Collaborator

@junkmd junkmd commented Feb 15, 2025

In the discussion on #754, it was confirmed that importing constants from automation does not cause issues such as circular imports or undefined references.
Therefore, duplicate constant definitions have been replaced with imports.

Additionally, integer literals in the codebase have been replaced with constants to improve readability.

@junkmd junkmd added the coding style Topics related to style, formatters, linters, and delinting. label Feb 15, 2025
@junkmd junkmd added this to the 1.4.11 milestone Feb 15, 2025
junkmd added a commit to junkmd/pywinauto that referenced this pull request Feb 15, 2025
@junkmd junkmd merged commit 066c0c6 into enthought:main Feb 15, 2025
50 checks passed
@junkmd junkmd deleted the PARAMFLAG_DISPATCH_constants branch February 15, 2025 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coding style Topics related to style, formatters, linters, and delinting.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant