-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Get style file from python package #202
Comments
Hi @isac322, sorry for not replying earlier.
Did you try relative file paths for the style files?
Why can't you use a remote URL with your shared style?
Something like this on
Maybe the docs are not clear to explain this situation, I can improve them. |
Hi @andreoliwa , |
🎉 This issue has been resolved in version 0.28.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Expected Behavior
tool.nitpick.style
of pyproject.toml can load style which in some python package.Current Behavior
tool.nitpick.style
accept absolute file path or URLPossible Solution
Structure of
some_python_package
String way
pyproject.toml
Dict way
pyproject.toml
Context
My company has dozens of python projects. We have company wide flake8 rules and I want to share tool configurations across those projects with the flake8 rules. So I created a flake8 plugin and include
nitpick-style.toml
. But because nitpick only accept pure file path, I can not reference thenitpick-style.toml
.The text was updated successfully, but these errors were encountered: