Contents

prek 0.3.3

0

Better `pre-commit`, re-engineered in Rust

Better pre-commit, re-engineered in Rust

Stars: 6247, Watchers: 6247, Forks: 167, Open Issues: 95

The j178/prek repo was created 1 years ago and the last code push was 2 hours ago.
The project is extremely popular with a mindblowing 6247 github stars!

How to Install prek

You can install prek using pip

pip install prek

or add it to a project with poetry

poetry add prek

Package Details

Author
None
License
None
Homepage
https://prek.j178.dev/
PyPi:
https://pypi.org/project/prek/
GitHub Repo:
https://github.com/j178/prek

Classifiers

  • Software Development/Quality Assurance
No  prek  pypi packages just yet.

Errors

A list of common prek errors.

Code Examples

Here are some prek code examples and snippets.

GitHub Issues

The prek package has 95 open issues on GitHub

  • setup-swift is slow in CI
  • Feat/private repo auth
  • Add setting to force one tool invocation per affected file
  • Add --hide-skipped flag to prek run to suppress (no files to check)Skipped lines
  • fix(windows): keep VT enabled during progress
  • Use git diff --quiet for fast boolean change detection
  • Manage Python hook tool dependencies via pyproject.toml dependency group
  • Proposal optimization: don't download hooks that are not triggered
  • Proposal: Add an option to collect runtime metrics from prek run
  • Support perl language
  • Support julia language
  • Support haskell language
  • Possibility to have a hook run something if the hook fails, for diagnosis?
  • Reduce amount of repeated logs
  • Proposal: Hook groups + prek run --group/--no-group

See more issues on GitHub

Related Packages & Articles

How to exclude and remove .pyc files from your git repo

If you’re working with a Git repository, you probably don’t want .pyc files (or any other kind of compiled files) to be included in your repository. These files are generally specific to your system and aren’t useful to others. Moreover, including them can clutter your repository and make it larger and harder to manage.

PyScaffold 4.6

The pyscaffold Python package is a project generator designed to bootstrap high-quality Python packages that are ready to be shared on PyPI and installable via pip. It encourages the adoption of the best tools and practices of the Python ecosystem, aiming to enhance productivity. After installation, it provides a putup command to generate a project template with necessary configurations and setups. The generated project is an already initialized git repository, and it uses setuptools for packaging, Sphinx for documentation, and pytest for running automated tests. The package also supports versioning and git integration, making it a comprehensive tool for Python project setup.

commitizen 4.13.7

The commitizen Python package is a release management tool designed to streamline and standardize the process of committing changes in a team setting. It assumes that your team uses a standard way of committing rules and based on that, it can automatically bump your project's version, create a changelog, and update files. By default, commitizen uses conventional commits, but it allows for customization of rules. The package provides a command-line utility to create commits with your rules, and it can display information about your commit rules.