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

[feature request] support specifying an exact config location #171

Closed
jameslamb opened this issue May 8, 2023 · 0 comments · Fixed by #172
Closed

[feature request] support specifying an exact config location #171

jameslamb opened this issue May 8, 2023 · 0 comments · Fixed by #172
Labels
enhancement New feature or request

Comments

@jameslamb
Copy link
Owner

jameslamb commented May 8, 2023

What change would you like to see?

pydistcheck should expose a command-line option indicating an alternative location to look for pyproject.toml.

How would implementing this improve pydistcheck?

For situations like microsoft/LightGBM#5872, where pyproject.toml is stored in a location other than "the same working directory that pydistcheck is called from", it's useful to be able to tell it to look at a different file.

Notes

Many others linters in this ecosystem support such an option.

check-wheel-contents --config (code link)

flake8 --config (docs)

isort --settings-file (docs)

mypy --config-file (docs)

pydocstyle --config (code link)

ruff check --config (docs link)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant