mirror of
https://github.com/trycua/computer.git
synced 2026-01-06 05:20:02 -06:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user