chore: consolidate Ruff configs, add prettier dependancy and updated documentation usage

- Remove per-package Black, Ruff, and MyPy settings in individual pyproject.toml files
- Centralize Ruff configuration in root pyproject.toml under [tool.ruff.lint] with selected ignores
- Add Prettier setup and usage instructions to Development.md
- Include pnpm install instructions for JS/TS dependencies
- Ensure pre-commit hooks enforce Python and JS/TS formatting consistently
This commit is contained in:
Aditya Bavadekar
2025-10-22 02:21:37 +05:30
parent 4eb4c3bcb6
commit 3ddc7ae67d
11 changed files with 138 additions and 149 deletions

View File

@@ -75,9 +75,16 @@ target-version = ["py311"]
[tool.ruff]
fix = true
line-length = 100
select = ["B", "E", "F", "I"]
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "B", "I"]
ignore = [
"E501", "E402", "I001", "I002", "B007", "B023", "B024", "B027", "B028",
"B904", "B905", "E711", "E712", "E722", "E731", "F401", "F403", "F405",
"F811", "F821", "F841"
]
[tool.ruff.format]
docstring-code-format = true