Skip to content

More qflags#171

Merged
bluebird75 merged 113 commits into
python-qt-tools:masterfrom
bluebird75:more-qflags
Dec 27, 2021
Merged

More qflags#171
bluebird75 merged 113 commits into
python-qt-tools:masterfrom
bluebird75:more-qflags

Conversation

@bluebird75
Copy link
Copy Markdown
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
Copy Markdown
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 thread tests/qflags/grep-results/qt3d-qflag-grep-result.txt
Comment thread tests/qflags/qflags_modules_analysis.json
Comment thread tests/test_stubs.py
Comment on lines +12 to +14
for path in TESTS_DIR.glob('*.py'):
if not path.name.startswith('test_'):
yield path
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Uh, right... Sorry.

Comment thread tests/test_stubs.py Outdated
@bluebird75
Copy link
Copy Markdown
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
Copy Markdown
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