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

How to align by comma? #129

Open
hopezh opened this issue Oct 9, 2024 · 0 comments
Open

How to align by comma? #129

hopezh opened this issue Oct 9, 2024 · 0 comments

Comments

@hopezh
Copy link

hopezh commented Oct 9, 2024

I tried the following config to align by comma / ,

	"betterAlign.surroundSpace" : {
		"comma"      : [1, 1],
		"colon"      : [0, 1], 
		"assignment" : [1, 1], 
		"arrow"      : [1, 1], 
		"comment"    : 2       
	},

...but it's not working on the following code:

    parser.add_argument("--a", required=True, type=str)
    parser.add_argument("--bb", nargs=4, required=True, type=float)

May I ask if I missed anything important here?

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

No branches or pull requests

1 participant