GitHub Trends
10.3K subscribers
15.4K links
See what the GitHub community is most excited about today.

A bot automatically fetches new repositories from https://github.com/trending and sends them to the channel.

Author and maintainer: https://github.com/katursis
Download Telegram
#python #autopep8 #code #codeformatter #formatter #gofmt #hacktoberfest #pre_commit_hook #python #yapf

_Black_ is a powerful tool that automatically formats your Python code to make it consistent and easy to read. By using _Black_, you save time and mental energy because it handles all the formatting for you, ensuring your code looks the same across different projects. This consistency makes code reviews faster and easier. You can install _Black_ with a simple command (`pip install black`) and start using it right away without needing complex configurations. Many popular projects and organizations already use _Black_ to maintain clean and uniform codebases.

https://github.com/psf/black
#python #ansible #ansible_dev_tools #ansible_lint #dot_config #hacktoberfest #pep_621 #pre_commit_hook

`ansible-lint` is a tool that checks your Ansible playbooks for improvements and best practices. It supports the last two major versions of Ansible. You can use it as a GitHub Action, which means you don't need to install it yourself; it will run automatically on your code when you make changes. This helps ensure your playbooks are well-written and follow good standards, making your work more efficient and reliable. For more details, you can visit the Ansible Lint documentation site.

https://github.com/ansible/ansible-lint
#rust #git #git_hooks #pre_commit

prek is a faster, dependency-free alternative to pre-commit, built in Rust. You download a single binary with no runtime requirements, and it automatically manages Python versions and virtual environments for you. It runs multiple times faster than pre-commit while using half the disk space, shares toolchains between hooks, and supports parallel execution. prek is fully compatible with existing pre-commit configurations, includes built-in support for monorepos, and offers improved commands like running hooks on specific directories or last commits. Major projects like CPython, Apache Airflow, and FastAPI already use it, making it a reliable choice for streamlining your code quality checks.

https://github.com/j178/prek