-
Notifications
You must be signed in to change notification settings - Fork 3
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
Some options in pyproject.toml
are ignored
#4
Comments
Thanks for reporting this @jorenham I'm not sure about why this would fail in pyproject.toml but work in the original Let me explore a bit and try to find out why and where it happens. Or, if you already have a fix, PR will be welcome, OC! |
I wasn't able to figure out what was causing this, and instead submitted a couple of unrelated neurotic PR's 🤷🏻 |
@miloth in the
So @miloth, did you confirm that the |
If you have the
If the same settings are in |
exclude
d globs show up in mdformat . --check
exclude
on python<3.13
is silently ignored
Ahh I see. IMHO raising an error is a bit too harsh in this situation; I think a warning would be more appropriate. But I agree that that |
Looking at some trials, it appears that all of the settings in |
Maybe this should use mdformat-pyproject/mdformat_pyproject/plugin.py Lines 90 to 100 in 22220f8
|
exclude
on python<3.13
is silently ignoredpyproject.toml
config is ignored
I have been unavailable for a few days and I'm just coming back to this. This is quite puzzling, because the problems is more complex than it seems.
So, based on my testing, it is not as simple as I'm now digging into why some are ignored. |
Here are the conclusions: the problem is not with Some examples of this are The only alternative I see here is to avoid the |
pyproject.toml
config is ignoredpyproject.toml
are ignored
repost from jorenham/scipy-stubs#261 by @miloth:
The text was updated successfully, but these errors were encountered: