Skip to content
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

feat: scan registry for installed driver, progress bar #147

Merged

Conversation

Geobert
Copy link
Collaborator

@Geobert Geobert commented Mar 1, 2024

I added a section in pyproject to disable mypy on third party lib progress

Copy link
Collaborator

@fabi1cazenave fabi1cazenave left a comment

Choose a reason for hiding this comment

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

Awesome to see some refinements on this feature. Two remarks :

  • let’s avoid nested code with a few early returns — I was about to refactor your code with that, but since we’re at it…
  • would it be possible / relevant to display the two phases (creating the installer / building the DLL), as mentioned in [msklc] add a progress bar #145 ?

kalamine/msklc_manager.py Outdated Show resolved Hide resolved
kalamine/msklc_manager.py Outdated Show resolved Hide resolved
kalamine/msklc_manager.py Show resolved Hide resolved
kalamine/msklc_manager.py Outdated Show resolved Hide resolved
kalamine/msklc_manager.py Outdated Show resolved Hide resolved

[[tool.mypy.overrides]]
module = ["progress.bar"]
ignore_missing_imports = true
Copy link
Collaborator

Choose a reason for hiding this comment

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

why do we need this here ?
and what does the double [[ ]] mean ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

[[]] means array, needed for this setting

and this is needed to avoid mypy to check progress code it seems. Otherwise I get an error

Copy link
Collaborator

@fabi1cazenave fabi1cazenave left a comment

Choose a reason for hiding this comment

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

LGTM, thanks !

@fabi1cazenave fabi1cazenave merged commit fd153f0 into OneDeadKey:main Mar 1, 2024
15 checks passed
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