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

patching: instantmesh/sv3d conversion tests #811

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

HaFred
Copy link
Collaborator

@HaFred HaFred commented Jan 3, 2025

The flake8 by default checks whether there are spaces after symbols (in E231), which may be wrong from time to time for the cases below.

  • f-string
  • https://

This pr fixes it, and also with some refactors for conversion tests. Without this PR, some existing code will be identified as incorrect:

  • examples/latte/sample.py
  • examples/sv3d/train.py

@HaFred
Copy link
Collaborator Author

HaFred commented Jan 6, 2025

Update: This effect turns out to be true for windows python env, not for other unix env like linux/mac os.
image

There are some other files being affected, including but not limited to:

@HaFred HaFred changed the title fix unnessary flake8 E231 check whitespace patching: instantmesh/sv3d conversion tests & fix unnessary flake8 E231 check whitespace Jan 9, 2025
@HaFred HaFred changed the title patching: instantmesh/sv3d conversion tests & fix unnessary flake8 E231 check whitespace patching: instantmesh/sv3d conversion tests Jan 10, 2025
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