-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
Prepended whitespace in trailing comment #706
Comments
VeckoTheGecko
added a commit
to VeckoTheGecko/xarray
that referenced
this issue
Nov 29, 2024
pj@delsin ~/test> taplo fmt -o align_comments=true - < test.toml
INFO taplo:format_stdin:load_config: found configuration file path="/home/pj/test/.taplo.toml" test = [
"default:Duplicate dimension names present:UserWarning:xarray.namedarray.core",
"default:::xarray.tests.test_strategies", # test
] pj@delsin ~/test> taplo fmt -o align_comments=false - < test.toml
INFO taplo:format_stdin:load_config: found configuration file path="/home/pj/test/.taplo.toml" test = [
"default:Duplicate dimension names present:UserWarning:xarray.namedarray.core",
"default:::xarray.tests.test_strategies", # test
] |
VeckoTheGecko
added a commit
to VeckoTheGecko/xarray
that referenced
this issue
Nov 29, 2024
OHHHH. Thank you! |
max-sixty
pushed a commit
to pydata/xarray
that referenced
this issue
Dec 3, 2024
* add taplo pre-commit hook * move TODO tamasfe/taplo#706 * add validate-pyproject pre-commit hook
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
version: 0.9.3
Take the following trimmed down
pyproject.toml
file:Running the formatter gives:
Playing with the
"default:Duplicate dimension names ...
line gives different results (differing amount of whitespace, or just correct formatting in some cases).Search terms:
couldn't find a duplicate :/
The text was updated successfully, but these errors were encountered: