Skip to content

More qflags #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 113 commits into from
Dec 27, 2021
Merged

More qflags #171

merged 113 commits into from
Dec 27, 2021

Conversation

bluebird75
Copy link
Collaborator

Add QFlag related methods to all modules within PyQt5-stubs. This is to be merged after #153 .

…ContextMenuData.MediaFlag in module QtWebEngineWidgets
…ontextMenuData.EditFlag in module QtWebEngineWidgets
…ormWindowInterface.FeatureFlag in module QtDesigner
Copy link
Collaborator

@altendky altendky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a lot of new files. Perhaps they should be grouped by the module they are for?

Comment on lines 12 to 14
for path in TESTS_DIR.glob('*.py'):
if not path.name.startswith('test_'):
yield path
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
for path in TESTS_DIR.glob('*.py'):
if not path.name.startswith('test_'):
yield path
yield from TESTS_DIR.glob('test_*.py')

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the suggestion changes the code. We want the path not starting with test_

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh, right... Sorry.

@bluebird75
Copy link
Collaborator Author

Grouping the files could make sense althought it means spending again some time on the generation scripts. If that's OK for you, I would like to commit them asis and update them by grouping them later in 2022.

Copy link
Collaborator

@altendky altendky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

@bluebird75 bluebird75 merged commit 4fbc43e into python-qt-tools:master Dec 27, 2021
@bluebird75 bluebird75 deleted the more-qflags branch December 29, 2021 21:11
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.

2 participants