41. pyproject.toml
pyproject.toml is the new standard configuration file for Python projects.
Example
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 88
Benefits
- Unified configuration for tools
- Standardized build system definition
Wrap-Up
Adopt pyproject.toml for modern Python project configuration.