nbQA
pre-commit-hook-yamlfmt
nbQA | pre-commit-hook-yamlfmt | |
---|---|---|
2 | 1 | |
967 | 55 | |
2.0% | - | |
7.7 | 3.4 | |
16 days ago | 3 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nbQA
- Jupyter lab code formatter?
-
nbdev formating and linting
- repo: https://github.com/nbQA-dev/nbQA rev: 1.5.3 hooks: - id: nbqa-mypy args: ["--ignore-missing-imports", "--check-untyped-defs"] # pass args to mypy exclude: "directory_to_exclude/.*" # eclude any directory/files from formatting additional_dependencies: ["mypy", "types-toml", "types-requests"] # install additional dependencies - id: nbqa-black exclude: "directory_to_exclude/.*" # eclude any directory/files from formatting - id: nbqa-isort exclude: "directory_to_exclude/.*" # eclude any directory/files from formatting
pre-commit-hook-yamlfmt
-
Python package to format yaml file
You could use a pre commit hook for yamlfmt - https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
What are some alternatives?
conventional-pre-commit - A pre-commit hook that checks commit messages for Conventional Commits formatting
mdformat - CommonMark compliant Markdown formatter
readsql - Convert SQL to most human readable format
yamllint - A linter for YAML files.
cookiecutter-poetry-config-management - Cookiecutter python template to get you started without wasting any time setting up virtual environments, vscode python paths, writing settings management code, setting up git pre-commit hooks and much more.
yamlfixer - Automates the fixing of problems reported by yamllint by parsing its output
git-limiter - ⏱️ Tool to stop you from pushing huge diffs
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
Poetry - Python packaging and dependency management made easy
pre-commit-hooks - Some out-of-the-box hooks for pre-commit
vint - Fast and Highly Extensible Vim script Language Lint implemented in Python.
pyupgrade - A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.