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

Fix and update precommit.py #31

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

mristin
Copy link
Contributor

@mristin mristin commented Mar 22, 2024

We need to use sys.executable to avoid problems when the script is run in an IDE, and the commands such as black or mypy are not available on the PATH.

At this occasion, we also update black and mypy to latest versions.

We need to use `sys.executable` to avoid problems when the script is run
in an IDE, and the commands such as `black` or `mypy` are not available
on the PATH.

At this occasion, we also update `black` and `mypy` to latest versions.
@mristin mristin merged commit de6fb24 into main Mar 22, 2024
0 of 4 checks passed
@mristin mristin deleted the mristin/Fix-precommit-to-use-sys.executable branch March 22, 2024 08:43
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