__about__.py "version" field automatically updated (unwanted behavior) #9181
-
When editing code in VSCode, the
like in 5f4f3c5#r697656347 Does anyone know how to stop this from happening? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Must be an installed extension |
Beta Was this translation helpful? Give feedback.
-
After a few days of my investigation, it turned out that it's not from any extensions but from our script in I locally confirmed that |
Beta Was this translation helpful? Give feedback.
After a few days of my investigation, it turned out that it's not from any extensions but from our script in
.github/
:https://github.com/PyTorchLightning/pytorch-lightning/blob/83ce1bf5158c4c03f7811e385624bbd903cd9c5f/.github/prepare-nightly_version.py#L13
I locally confirmed that
$ pytest
in the project root directory will run all the scripts matching*.py
except for those in the excluded directories, and thus it also runs the above file. Not sure why everyone doesn't experience this issue, but I'll submit a fix anyway.