mirror of
https://github.com/trycua/lume.git
synced 2026-01-06 04:20:03 -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:
@@ -24,34 +24,11 @@ distribution = true
|
||||
includes = ["core/"]
|
||||
source-includes = ["tests/", "README.md", "LICENSE"]
|
||||
|
||||
[tool.black]
|
||||
line-length = 100
|
||||
target-version = ["py311"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
target-version = "py311"
|
||||
select = ["E", "F", "B", "I"]
|
||||
fix = true
|
||||
|
||||
[tool.ruff.format]
|
||||
docstring-code-format = true
|
||||
|
||||
[tool.mypy]
|
||||
strict = true
|
||||
python_version = "3.11"
|
||||
ignore_missing_imports = true
|
||||
disallow_untyped_defs = true
|
||||
check_untyped_defs = true
|
||||
warn_return_any = true
|
||||
show_error_codes = true
|
||||
warn_unused_ignores = false
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
testpaths = ["tests"]
|
||||
python_files = "test_*.py"
|
||||
python_files = "test_*.py"
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest>=8.3.5",
|
||||
]
|
||||
]
|
||||
Reference in New Issue
Block a user