niceml
niceml copied to clipboard
[Bug]: `niceml init` does not use ruff rules
📝 Description
When you run niceml init
and select to use the pre-commit hooks, the pre-commit hooks are installed, but no rules are enabled in the configuration in pyproject.toml
.
🎯 Expected Behavior
At least a small selected set of ruff rules is activated via niceml init
.
🐞 Current Behavior
There are no ruff rules defined in pyproject.toml
.
[tool.poetry.group.dev.dependencies]
pytest = "^7.3.1"
pre-commit = "^3.3.1"
[tool.ruff]
line-length = 100
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
🔁 Steps to Reproduce
Run niceml init
⚙️ Technical Details
No response
💡 Suggestions or Possible Solutions
Add a set of ruff rules into the project template
Code of Conduct
- [X] I agree to follow this project's Code of Conduct