Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.55 KB

File metadata and controls

18 lines (14 loc) · 1.55 KB

My opinionated python boilerplate.

  • make commands: Simplified commands for initializing, upgrading, cleaning, testing, and formatting the project.
  • PyO3 & setuptools_rust: Optional Rust extension support via make setup-rust.
  • GitHub Actions: Automated building and releasing of Python wheels as GitHub releases.

Configuration Choices

  • Ruff: A high-performance Python linter built in Rust. Ruff is utilized in this project for its speed and extensive rule set. It consolidates the functionality of various tools like Flake8, isort, pydocstyle, and more, into a single, fast, and efficient package.
  • pre-commit: A set of pre-commit hooks are used to automatically check and enforce code quality standards, such as trailing whitespace removal, JSON formatting, and more.
  • pytest: Tests are written and executed using the pytest framework.

Some references: